Issue 128140 - Font size value is not the same across different views of the same variable
Summary: Font size value is not the same across different views of the same variable
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.6
Hardware: Mac macOS 10.12
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-22 13:12 UTC by gsiam
Modified: 2019-07-26 15:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
inconsistent display of the font size value (139.75 KB, image/png)
2019-06-22 13:12 UTC, gsiam
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description gsiam 2019-06-22 13:12:52 UTC
Created attachment 86706 [details]
inconsistent display of the font size value

1. Go to OpenOffice > Preferences > OpenOffice Writer > Basic Fonts (Western)
2. Change the Default Font Size to 2.1 and Save

The displayed Default Font Size has been correctly changed to 2.1 in the following fields:
- OpenOffice > Preferences > OpenOffice Writer > Basic Fonts (Western))
- Properties > Text > Font Size

but the Default Font Size in the main Formatting toolbar above the document has been changed to 2 (see attachment).

This behaviour takes place only for decimal values for which an approximation is expected to take place. For example, 2.1, 2.3, 2.6, ...

For the other cases (e.g., 2, 2.2, 2.4, 2.5, ...) this behaviour does not take place (i.e., the saved font size value is consistent across the different displays).

This issue seems to related to the two following existing issues involving consistency in the display of decimal font size values:
https://bz.apache.org/ooo/show_bug.cgi?id=120368
https://bz.apache.org/ooo/show_bug.cgi?id=122205
Comment 1 oooforum (fr) 2019-07-26 15:51:03 UTC
I don't know what is the interest to write in size 2.1 better than 2 or 3 dots.