Bug 127973 - Sidebar: Measurement unit's not initialized with char unit
Summary: Sidebar: Measurement unit's not initialized with char unit
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-05 08:14 UTC by Oliver Brinzing
Modified: 2020-09-19 20:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Brinzing 2019-10-05 08:14:28 UTC
steps to reproduce:

- open new writer document
- press (F11), select "Default Style", context menu "Modify...", 
- switch to "Indents & Spacing"
- measurment is: "cm"
- open Menu "Format/Paragraph..."
- switch to "Indents & Spacing"
- measurment is: "ch" or "line"

restart LO and do it vice versa with a new writer document, and you will get "ch" and "line" in both cases.

Menu Tools/Options/LibreOffice Writer/General
Settings
[x] Enable char unit

is enabled by default, but the sidebar seems not to be initialized with the setting.

*not* reproducible with:

Version: 6.1.6.3 (x64)
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc:
Comment 1 Julien Nabet 2019-10-05 10:31:50 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I wonder if it could be a kind of dup of tdf#127744 put in See Also.
Comment 2 V Stuart Foote 2019-10-05 13:19:23 UTC
The 'ch' and 'line' units are being picked up from Tools -> Options -> Language Settings -> Languages when an entry is made in the Asian check box for 'Default Languages for Documents'.

When unchecked use of 'Western' or 'CTL' locales will not offer those units in the 'Indents and Spacing' tabs of either the Paragrah... dialog or the Styles and Formatting deck of the Sidebar.

It was already like that for the 5.3.7 builds, so not sure how far back the change enabling Asian 'Default languages for Documents' occurred.
Comment 3 BogdanB 2020-09-19 20:25:16 UTC
It is still the same in 7.1, like in the description. "ch" in both after tests done.


Version: 7.1.0.0.alpha0+
Build ID: d57b14e3394b081adf0888ed8dcb7b86d66c246c
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded