Bug 127943 - Measurment conversion error in the side bar - line spacing paragraph
Summary: Measurment conversion error in the side bar - line spacing paragraph
Status: RESOLVED DUPLICATE of bug 83618
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.7.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-10-03 09:45 UTC by arnoldk67
Modified: 2019-10-05 08:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot illustrating the bug (123.92 KB, image/png)
2019-10-03 09:47 UTC, arnoldk67
Details
screenshot (86.43 KB, application/pdf)
2019-10-04 17:28 UTC, Oliver Brinzing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arnoldk67 2019-10-03 09:45:03 UTC
Description:
If I set the line spacing in a paragraph to fixed and enter a value, then this value differs in the format paragraph dialog and the properties of the paragraph in the sidebar.

The error exists since some time. It is there in version 6.3.2.2 x64 and was already there in older versions.

The value in the paragraph dialog is the correct one.



Steps to Reproduce:
1. Enter some text
2. go to the format paragraph dialog and set line spacing to fixed enter a value for example 1.0 cm.
3. Then look up the value in the paragraph propertiy in the side bar. It will show a different value 0.57 cm.

Actual Results:
The value for fixed line spacing in the format->paragraph dialog differs from the value in the paragraph propertiy in the side bar. It will show a different value: e. g. 1.0 cm in the dialog and 0.57 cm in the side bar.

Expected Results:
The values should be the same.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 arnoldk67 2019-10-03 09:47:05 UTC
Created attachment 154725 [details]
Screenshot illustrating the bug
Comment 2 Oliver Brinzing 2019-10-04 17:27:53 UTC
with 

Version: 6.2.7.1 (x64)
Build ID: 23edc44b61b830b7d749943e020e96f5a7df63bf
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: 

something is strange with measurment, e.g.:

- 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.

*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 3 Oliver Brinzing 2019-10-04 17:28:31 UTC
Created attachment 154762 [details]
screenshot
Comment 4 Oliver Brinzing 2019-10-04 20:26:26 UTC
I think, i found the root cause:

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.
Comment 5 V Stuart Foote 2019-10-04 23:10:32 UTC
Fixed for 6.4 by 

https://git.libreoffice.org/core/+/849b837d1a3b185a8dd893a8f6eaed53605bcab1%5E%21

Verified in current master/6.4.0alpha0+ build

Version: 6.4.0.0.alpha0+ (x86)
Build ID: 489eef894e7034873ad262f9dfca554022db1b09
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-10-01_23:43:38
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

*** This bug has been marked as a duplicate of bug 83618 ***
Comment 6 Oliver Brinzing 2019-10-05 08:08:35 UTC
(In reply to V Stuart Foote from comment #5)
> Fixed for 6.4 by 

the problem described in comment2 is still reproducible with:

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 1af2f8f75e4e15c1b0c3e5a04e405fc4b354ef2b
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

so it seem's my assumption was wrong and it is a different issue.
Comment 7 Oliver Brinzing 2019-10-05 08:15:01 UTC
added Bug 127973 - Sidebar: Measurment unit's not initialized with char unit