Bug 434111

Summary: Different scaling of displays creates pixelated output
Product: [Applications] okular Reporter: dueckmann.kerstin
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: oliver.sander
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: What a PDF looks like in Okular on the down-scaled display

Description dueckmann.kerstin 2021-03-07 15:07:23 UTC
Created attachment 136456 [details]
What a PDF looks like in Okular on the down-scaled display

SUMMARY
As I have my laptop connected to another monitor, I set the zoom for the laptop to 125 % and the monitor to 100 % so the elements on both screens are roughly the same size (as both laptop and monitor have a resolution of 1920x1080). Sadly I cannot put the Okular winodws onto the secondary display (the 100 % scaled one) as it seems that it cannot handle downscaling.

STEPS TO REPRODUCE
1. Have 2 monitors/displays
2. Set the zoom for Texts, Apps and Elements for primary display higher than secondary
3. Drag Okular window to secondary display (or open on secondary display directly, that makes no difference)

OBSERVED RESULT
Text of PDF file is practically unreadable.

EXPECTED RESULT
Text of PDF file scales down with the window.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Turning off the option in rendering to smooth the edges makes the text even worse.
Comment 1 Oliver Sander 2021-03-19 07:26:53 UTC
Two patches concerning setups with differently-scaled screens have been merged recently

  https://invent.kde.org/graphics/okular/-/merge_requests/380
  https://invent.kde.org/graphics/okular/-/merge_requests/371

and a third one is in the pipeline:
  
  https://invent.kde.org/graphics/okular/-/merge_requests/368

Maybe you can try those to see if they fix your problem?

Linux people: Plasma Wayland supports per-screen scaling, and I suppose that the bugs you see are mostly the ones recently reported for Windows.