Bug 433003 - PDF rendering on dual screen setup with different per-screen scaling appears broken
Summary: PDF rendering on dual screen setup with different per-screen scaling appears ...
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 20.12.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 435073 435669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-16 11:17 UTC by MK
Modified: 2024-07-09 19:13 UTC (History)
5 users (show)

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


Attachments
Main screen (100% scale factor) (54.68 KB, image/png)
2021-02-16 11:17 UTC, MK
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***