Bug 138991 - UI: Incorrect unit of measurement with specific file
Summary: UI: Incorrect unit of measurement with specific file
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-17 10:13 UTC by Xisco Faulí
Modified: 2022-02-10 09:36 UTC (History)
3 users (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 Xisco Faulí 2020-12-17 10:13:04 UTC
Steps to reproduce:
1. Open Draw
2. Set unit measurements to Inches. Tools - Options - LibreOffice Draw - General - Unit of measurement
3. Open attachment 168196 [details] from bug 138945
4. Check unit of measurements again

-> It's set to Millimeter

Reproduced in

Version: 7.2.0.0.alpha0+
Build ID: 8b3982681e98818388c09233960ad6eaacee205a
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 1 Xisco Faulí 2020-12-17 10:14:16 UTC
Hi Regina, it happens with your document from bug 138945, any idea why it happens ?
Comment 2 Regina Henschel 2020-12-17 13:40:00 UTC
(In reply to Xisco Faulí from comment #1)
> Hi Regina, it happens with your document from bug 138945, any idea why it
> happens ?

I think, that it is the correct behavior for Draw. The unit is part of ooo:view-settings in settings.xml. It is element MeasureUnit with value 2. The kind of unit is specific to the drawing. You might want to show a circuit diagram in Millimeter, a garden plan in Meter or a terrain measurement in Kilometer. Keep in mind, that the document unit is used in "auto"-mode of dimension lines.

I have not looked, where in the code it happens.
Comment 3 Natali Eroshenko 2021-08-13 10:01:24 UTC
I have everything opened in accordance with the my new settings.

don`t repro in Version: 7.1.5.2 (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: threaded
Comment 4 Natali Eroshenko 2021-08-13 10:01:41 UTC
I have everything opened in accordance with the my new settings.

don`t repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: threaded
Comment 5 raal 2022-02-09 21:36:01 UTC
Hi Xisco, according to comment 2 closing the bug.
Comment 6 Xisco Faulí 2022-02-10 09:36:31 UTC
(In reply to raal from comment #5)
> Hi Xisco, according to comment 2 closing the bug.

Indeed. Thanks for taking care