Bug 82737 - FORMATTING: text width scaling not working for whole cells
Summary: FORMATTING: text width scaling not working for whole cells
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 4.2.5.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 21:04 UTC by VolkerTwer
Modified: 2014-08-20 14:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Mixed results demonstrating this issue (12.45 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-08-18 23:30 UTC, Algot Runeman
Details

Description VolkerTwer 2014-08-17 21:04:02 UTC
Scaling the width of characters via (de) _F_ormat - Zei_c_hen -> [Schriftposition] works well unless the whole cell-content is to be scaled. If *all* characters in the cell are scaled (to the same value), the cell-content is displayed at (respectively set to) 100%-width-scaling after hitting [Enter].

Steps to reproduce:
1. open new spreadsheet
2. enter some text into a cell [Enter]
3. select the cell with entered text and open for editing [F2]
4. select *some* (e.g. all but the last) characters in the cell
5. modify character-width scaling ( [Alt] + F , C , (Tab.) "Schriftposition" ) to e.g. 90%
6. select [OK] -> the selected text is displayed scaled to (e.g.) 90%-width.
7. [Enter] -> the text in the cell is displayed with the previosly selected characters scaled to (e.g.) 90%-width.

so far so good

8. edit the cell again [F2]
9. select the previously *not* selected/scaled characters
10. modify the width-scaling as before to the same value - (e.g.) 90%
11. select [OK] -> the whole text in the cell is now displayed scaled (to e.g. 90%-width)
12. [Enter]

current behaviour: the whole text in the cell is reset to 100%-width

expected behaviour: the whole text in the cell should be displayed at the previously set width (e.g. 90%)

OS: Linux (Debian/SolydK)
Version: 4.2.5.2, Build-ID: 420m0(Build:2)
Comment 1 VolkerTwer 2014-08-17 21:46:28 UTC
just updated LibreOffice - same behaviour in

Version: 4.3.0.4, Build-ID: 430m0(Build:4)
Comment 2 Algot Runeman 2014-08-18 23:30:33 UTC
Created attachment 104846 [details]
Mixed results demonstrating this issue

Test System:
Kubuntu (KDE 4.13.3)
LibreOffic 4.2.4.2

I hope I have duplicated the format. In English, I used Format - Character - font position(tab) - text width (used 70% to let me see the difference easier0

I am having mixed results. 
- Some of my text is holding the formatting. More often, it does not.
- Capital vs lower case does not seem to matter.
- I am not satisfied that I have exactly confirmed the problem.

Am I using the intended formatting steps?
Comment 3 VolkerTwer 2014-08-19 05:59:34 UTC
Yes, you do.

The "mixing" behaviour is even more strange ...

Did you format (scale) the whole text-content at once?
And, I guess, you did the same steps for each of the three filled cells in your testfile. Right? Or did you do something different with the "working" cell?
Comment 4 VolkerTwer 2014-08-19 16:13:37 UTC
Ok I just recognised: in the seemingly(!) working cell, you scaled the BEGINNING ("sym") with 60% and the ENDING ("bol") with 70%. So it's NOT THE SAME what I described (scaling all text in the cell to the same value [!=100%] ).

Further details to the BUG(!):
(1) If text with different scaling values is selected (e.g. in the filed testfile "symb" from field A1 - with "sym" scaled to 60% and the "b" scaled to 70%) and the scaling-dialog is called, then the scaling value field is NOT EMPTY (as usual for an attribute of a selection formatted to varying values, e.g. text formatted with various fonts or font-sizes) but shows "100%".

(2) width-scaling for the whole cell-content works, if at the same time the spacing is trimmed (to e.g. "0.1 pt condensed")


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.