Created attachment 132663 [details] 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
I'm going to say your system is wrongly configured? Works here (unless the bug is in the "most pages" handling). Can you attach te pdf file you use to double check?
Created attachment 132671 [details] works for me screenshot
Also happens with autotests/data/tocreload.pdf. Then it is probably a problem with my system. LC_... environment variables are correct, as configured in System Settings.
Yeah that one works fine here too, you'll have to investigate why it doesn't work for you i guess :)