Bug 433003

Summary: PDF rendering on dual screen setup with different per-screen scaling appears broken
Product: [Applications] okular Reporter: MK <michele.kipiel>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: ben, mrkrebbie, oliver.sander, pfjarschel, pieterjan.briers
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Main screen (100% scale factor)

Description MK 2021-02-16 11:17:35 UTC
Created attachment 135716 [details]
Main screen (100% scale factor)

SUMMARY
I noticed that Okular renders PDF files poorly when the scaling factor differs between the two screens of a multi-monitor setup.

STEPS TO REPRODUCE
1. Be on Windows 10
2. Have a dual-screen setup with one screen set to 125% and the other to 100% scaling
3. Open a PDF file

OBSERVED RESULT
Rendering is broken (rendering artifacts, jagged lines, missing details etc...) on the screen set to 100% scaling, but pixel perfect on the other

EXPECTED RESULT
Rendering is pixel perfect regardless of screen scaling differences

SOFTWARE/OS VERSIONS
Windows: Windows 10 build 19042
KDE frameworks: 5.79.0
Qt Version: 5.15.2
Comment 1 Oliver Sander 2021-02-16 11:21:23 UTC
I can confirm this not on windows, but on Plasma Wayland, where per-screen scaling is also possible.  I am currently working on fixes for some of these issues---hang on.
Comment 2 Oliver Sander 2021-02-18 11:20:20 UTC
See 

  https://invent.kde.org/graphics/okular/-/merge_requests/368

Doesn't fix the problem reported here, but it is related.
Comment 3 Albert Astals Cid 2022-01-21 13:25:08 UTC
*** Bug 435073 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2022-01-21 13:27:33 UTC
*** Bug 435669 has been marked as a duplicate of this bug. ***