[okular] [Bug 428144] New: Okular ignores regional settings for measurement units

David Hurka bugzilla_noreply at kde.org
Fri Oct 23 16:09:51 BST 2020


https://bugs.kde.org/show_bug.cgi?id=428144

            Bug ID: 428144
           Summary: Okular ignores regional settings for measurement units
           Product: okular
           Version: 1.11.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: david.hurka at mailbox.org
  Target Milestone: ---

Created attachment 132663
  --> https://bugs.kde.org/attachment.cgi?id=132663&action=edit
Okular ignores regional settings for measurement units

SUMMARY
DocumentPrivate::localizedSize() queries QLocale::system().measurementSystem(),
but although my system is set to metric, it shows the paper size in inches.

STEPS TO REPRODUCE
1. System Settings -> Regional Settings -> Formats -> Measurement Units ->
<something metric>
2. Open a document in Okular
3. File->Properties

OBSERVED RESULT
8.5 x 11 in

EXPECTED RESULT
297 x 210 mm

SOFTWARE/OS VERSIONS
KDE Neon 5.20.0
KDE Frameworks Version: 5.75
Qt Version: 5.15

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list