Bug 142641 - CHARACTER DIALOG: Character scale width is reported as 100% if more than one width is selected
Summary: CHARACTER DIALOG: Character scale width is reported as 100% if more than one ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Character-Dialog
  Show dependency treegraph
 
Reported: 2021-06-03 23:59 UTC by David F Smith
Modified: 2023-06-28 03:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Text file with different Scale widths (10.78 KB, application/vnd.oasis.opendocument.text)
2021-06-04 00:00 UTC, David F Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David F Smith 2021-06-03 23:59:35 UTC
Description:
The attached sample document (created by converting a .pdf to .docx) has different character scale widths on each line.  Scale widths for individual words, or a single line, can be changed to 100%, but the entire text can't be changed at once.

Steps to Reproduce:
1. Open attached file "Scale width bug.odt".  Note that the characters on the four lines have visibly different widths.
2. Select a word on the first line, then choose Format|Character.  Click on the Position tab.  Note that the Scale width is 105%.  Change the Scale width to 120% and click OK.  The characters in that word become wider.
3. Select that word and an additional word on that same line, then choose Format|Character.  Note that the reported Scale width is 100%, even though neither of the words has that width.  Click OK.  The words do not change width.
4. Select the entire second line and display the character format.  Note that the Scale width is 85%.  Change the scale width to 100% and click OK.  The characters become wider.
5. Select all of the text in the document and display the character format.  Note that the reported Scale width is 100% and that it is not possible to change it so that it really is 100%.

Actual Results:
As described in the step-by-step.  It appears that when the selected text includes characters of different widths, the reported Scale width will be 100%, and there is no way to change it to 100% in a single step.  (It can be changed to a different width and then, in a separate step, to 100%.)

Expected Results:
By analogy with other character formats (font, point size, etc.), if characters in the selected text are of different Scale widths, I would expect the reported Scale width to be blank, so that any new Scale width entered there would affect the selected text.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 David F Smith 2021-06-04 00:00:46 UTC
Created attachment 172603 [details]
Text file with different Scale widths
Comment 2 Dieter 2021-06-20 09:38:01 UTC
Thank you for reporting the bug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 3 David F Smith 2021-06-20 20:25:35 UTC
This bug is still present in the latest version.  Results of the step-by-step are still exactly the same.

Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Dieter 2021-06-27 15:49:19 UTC
I confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

and I agree with the expected result.
Comment 5 Sophie Sipasseuth 2023-06-27 08:15:44 UTC
Repro in this version of LibreOffice:

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: fr-FR (fr_FR); Calc: CL