Bug 136995 - Could not change Margins Measurement Unit to "mm" on sidebar.
Summary: Could not change Margins Measurement Unit to "mm" on sidebar.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Sidebar-Page
  Show dependency treegraph
 
Reported: 2020-09-24 10:12 UTC by sawakaze
Modified: 2024-08-04 09:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
ScreenCast (794.43 KB, video/x-matroska)
2020-09-24 10:16 UTC, sawakaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sawakaze 2020-09-24 10:12:53 UTC
Description:
as following step, Measurement Unit set to "mm", on sidebar, Page/Format/Margins was "Normal(1.90cm)"



Steps to Reproduce:
1. Open Writer
2. Menu -> Tool -> Option
--> Launch Option window.

3. open LibreOffice Writer -> General
4. Measurement unit on Settings -> Millimeter
5. press apply and OK
--> close Option window

6. Open side bar and Page
7. confirm Format/Margins

Actual Results:
Margins setting was shown "Normal(1.90 cm)"

Expected Results:
Margins setting is shown "Normal(19.0 mm)"

Note: if on step 4, measurement unit to "inch", this setting is shown "Normal (0.75'')".
 


Reproducible: Always


User Profile Reset: No



Additional Info:
I confirmed 

Version: 7.1.0.0.alpha0+
Build ID: 8ea4feee03542c767e0b26beb888b63bc653878d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-09-22_18:13:30
Calc: threaded

OS: Linux Ubuntu MATE
Comment 1 sawakaze 2020-09-24 10:16:57 UTC
Created attachment 165805 [details]
ScreenCast

if my description is uncleared, please see screen cast
Comment 2 Dieter 2020-09-28 06:07:56 UTC
I confirm the observed behaviour, but I won't expect a different text. If you open Format => Page Style you see measureent in mm. So for me NAB, but I add Design-Team for further input and decision.

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 8c18cd6823ddf4ef5ba67801a84cee26c9b5a9a6
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 3 Heiko Tietze 2020-09-28 06:45:52 UTC
Cannot confirm with 6.4 nor 7.1. Changing the measurement unit to mm shows this unit correctly in the sidebar.

Version: 6.4.6.2 / 7.1.0.0.alpha0+
Build ID: 4abf1bdfa383a645e73563f8b0d0b1b945303360
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Dieter 2020-09-28 06:49:57 UTC
(In reply to Heiko Tietze from comment #3)
> Cannot confirm with 6.4 nor 7.1. Changing the measurement unit to mm shows
> this unit correctly in the sidebar.

Also in the dialog, that is shown in the screencast?
Comment 5 Heiko Tietze 2020-09-28 06:57:33 UTC
Sorry, looked only at width/height. The sidebar seems to handle margins only in cm/in, whether it's set to mm or pt. The page properties dialog shows the correct value. I'd treat this as a bug.

Had a similar issue recently in bug 135960; we should make this sidebar experimental.
Comment 6 QA Administrators 2022-09-29 03:54:58 UTC Comment hidden (obsolete)
Comment 7 Dieter 2022-09-29 06:14:09 UTC
Still present in

Version: 7.4.1.2 (x64) / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 8 Kira Tubo 2023-09-23 07:08:16 UTC
Reproducible in: 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

The earliest version I was able to reproduce was in: 

Version: 5.3.0.0.alpha1
Build ID: f4ca1573fcf445164c068c1046ab5d084e1b005f
CPU Threads: 6; OS Version: Windows 6.2; UI Render: GL; 
Locale: en-US (en_US); Calc: CL

Styles sidebar was not in 3.3, and the Margins dropdown does not seem to be implemented into the sidebar until 5.3.0.0.alpha1, so this would be an regression.
Comment 9 Buovjaga 2024-08-04 09:59:59 UTC
This sidebar deck was added in 5.3, so let's assume implementation error.