Bug 150573 - Font size options do not change with decimal separator setting until restart
Summary: Font size options do not change with decimal separator setting until restart
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-24 01:03 UTC by Duncan McIntosh
Modified: 2023-02-03 14:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan McIntosh 2022-08-24 01:03:34 UTC
When I change the locale to French after starting LibreOffice in English (or vice versa), the 10.5pt entry in the font size dropdown is interpreted as 105pt instead. This doesn't happen in Impress or Draw; I can see it in Writer, Calc, and the Base form editor.

1. Open LibreOffice Writer or Calc on a blank document.

2. (optional) Try writing some text and set the font size to 10.5pt using the dropdown, to see that it works.

3. Tools > Options... > Language Settings > Languages: change 'Locale setting' to a locale with a different decimal separator, like from 'English (Canada)' to 'French (Canada)'. Click OK.

4. Set the font size to 10.5pt using the dropdown.

Expected: the dropdown option is updated, and the text is 10.5pt
Observed: the dropdown option is not updated, and the text is 105pt

I reproduced it on 7.3.5.2 and 7.4.0.3, both in Flatpak, but I think it reproduces farther back too.

---
Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Baskar 2022-09-11 07:27:31 UTC
NOT REPRODUCED...

ENVIRONMENT: LibreOfficeDev-7.4.0.0.alpha0_2022-01-23-x86_64

VERSION: Linux Mint 20.3 Cinnamon
Comment 2 Buovjaga 2023-02-03 14:05:06 UTC
The decimal separator for French (Canada) is , and not . so I don't see any issue here. It behaves the same in Draw as well.