Bug 435073 - Okular uses wrong DPI scaling with multi-monitor setups
Summary: Okular uses wrong DPI scaling with multi-monitor setups
Status: RESOLVED DUPLICATE of bug 433003
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 17:08 UTC by Pieter-Jan Briers
Modified: 2022-01-21 13:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the broken DPI scaling, and how it makes the text very painful to read. (133.14 KB, image/png)
2021-03-28 17:08 UTC, Pieter-Jan Briers
Details
I uploade the wrong screenshot, my bad. (275.50 KB, image/png)
2021-03-28 17:10 UTC, Pieter-Jan Briers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter-Jan Briers 2021-03-28 17:08:05 UTC
Created attachment 137138 [details]
Screenshot of the broken DPI scaling, and how it makes the text very painful to read.

SUMMARY
I have two monitors. My primary monitor is a 1440p monitor with 100% UI scaling, my secondary monitor is my laptop's built-in 1080p and it has 125% UI scaling.

Okular seems to be doing broken rendering at 125% DPI scale and nearest-neighboring it down, instead of rendering at the correct DPI scale for the monitor it's on (or just pretending like DPI doesn't exist and letting Windows bilinear it up, which would still be much more readable)

Image attached with what it looks like.
The broken DPI scaling affects *everything* in the interface. The PDF, the toolbar, etc...

STEPS TO REPRODUCE
1. Have two monitors with separate DPI scale.
2. Start Okular
3. Witness Okular having broken DPI scaling.

OBSERVED RESULT
Broken DPI scaling trying to do 125% on my primary monitor instead of 100%

EXPECTED RESULT
Okular to correctly switch between DPI scales depending on the current monitor.

SOFTWARE/OS VERSIONS
Windows: Windows 10 Pro 19042.867
Okular is installed from the Microsoft Store.

ADDITIONAL INFORMATION
Filelight (which I also have from the MS Store) works perfectly fine.
Comment 1 Pieter-Jan Briers 2021-03-28 17:10:18 UTC
Created attachment 137139 [details]
I uploade the wrong screenshot, my bad.
Comment 2 Pieter-Jan Briers 2022-01-01 22:55:28 UTC
This bug seems to have been made less bad since I reported it. It's still not 100% fixed (icons are still scaled wrong, and moving the window between monitors seems to not cause the PDF view to re-render immediately thus scaling poorly until you zoom or something) but it's definitely usable now!
Comment 3 Albert Astals Cid 2022-01-21 13:25:08 UTC

*** This bug has been marked as a duplicate of bug 433003 ***