Bug 126978 - Measurement units for paper size in 'Print' dialog does not follow application settings
Summary: Measurement units for paper size in 'Print' dialog does not follow applicatio...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-16 14:55 UTC by Heiko Schramm
Modified: 2019-09-20 16:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing mixed units (118.18 KB, image/png)
2019-08-16 15:05 UTC, Heiko Schramm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Schramm 2019-08-16 14:55:03 UTC
Description:
Measurement units in the 'File'->'Print' dialog are always in mm, regardless of the application's unit settings.
All other dialogs (page setup, column width, row height, image position & size,  etc.) seem to follow the application's unit setting.

Steps to Reproduce:
1. Start Libre Office Calc or Writer
2. Set Application's 'Measurement Unit' to 'Inch'
3. Go to File -> Print
4. Observe measurement units on preview pane and in 'Paper size' dropdown

Actual Results:
measurement units are displayed metric

Expected Results:
measurement units should follow the application settings


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.1.6.3 (x64)
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: en-US (en_US); Calc: group threaded
Comment 1 Heiko Schramm 2019-08-16 15:05:18 UTC
Created attachment 153438 [details]
Screenshot showing mixed units

screenshot showing writer document with application units set to inch and 'File'->'Print' units in mm
Comment 2 Oliver Brinzing 2019-08-16 16:37:45 UTC
confirmung, it seems, print dialog follows Locale settings from Menu Tools/Options.../Language Settings/Languages/Locale setting

with [English (USA)]:

Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-US
Calc: 

print dialog shows "in"

and with [English (Canada)]:

Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-CA (de_DE); UI-Language: en-US
Calc: 

it shows "mm".

but i am not sure, if this is a bug, cause one can change the "Measurement Unit" separat for each component (writer, calc).
Comment 3 Heiko Schramm 2019-08-16 19:51:11 UTC
(In reply to Oliver Brinzing from comment #2)
> confirmung, it seems, print dialog follows Locale settings from Menu
> Tools/Options.../Language Settings/Languages/Locale setting
> 
> with [English (USA)]:
> 
> Version: 6.3.0.4 (x64)
> Build ID: 057fc023c990d676a43019934386b85b21a9ee99
> CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
> Locale: en-US (de_DE); UI-Language: en-US
> Calc: 
> 
> print dialog shows "in"
> 
> and with [English (Canada)]:
> 
> Version: 6.3.0.4 (x64)
> Build ID: 057fc023c990d676a43019934386b85b21a9ee99
> CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
> Locale: en-CA (de_DE); UI-Language: en-US
> Calc: 
> 
> it shows "mm".
> 
> but i am not sure, if this is a bug, cause one can change the "Measurement
> Unit" separat for each component (writer, calc).

I can confirm that setting the locale under 'Language Settings' changes the default measurement units for the program, however setting the application (Calc, Writer, ...) locale does not change the units in the print dialogue - it seems to only look at the 'Language Settings', not the application specific settings. 
Agreed - Not necessarily a bug. This may be by design so that 'print' dialogue is unaffected by application setting and always shows print size according to locale. Seeing page sizes in 'point' or 'pica' may not be desirable.
Marking as 'Resolved'