Created attachment 124586 [details] The faulty render of the pdf on the left, the normal render on the right SUMMARY During my presentation yesterday, I observed that okular's presentation mode only renders part of my pdf when the presentation window is located on an external monitor. I've included a screenshot of how okular opens pdfs on an external monitor in the attachment. In the screenshot, you can see that only the top-left is shown and the rest is black (which remains so after resizes). For comparison, the screenshot shows the same pdf opened in normal mode, next to the faulty rendering pdf. It seems to happen with any pdf. STEPS TO REPRODUCE 1. Open any pdf, from any monitor. I can reproduce this with different monitors, and it does not matter on which one I first open the pdf or presentation mode. 2. Start presentation mode (Ctrl+Shift+P). 3. If the presentation window is on an external monitor, only a small part of the pdf is shown. OBSERVED RESULT Okular only renders the top-left of a pdf in presentation mode when on an external monitor (no errors about this seem to be logged to the terminal). Rendering on the main monitor always works fine. EXPECTED RESULT The full pdf shows on the external monitor. SOFTWARE/OS VERSIONS Windows: Not tested macOS: Not tested Linux/KDE Plasma: Linux 5.4.4 (Arch Linux) (available in About System) KDE Plasma Version: I'm not running KDE plasma (I'm not using a DE at all). KDE Frameworks Version: 5.65 (it happened on the version arch linux had before as well though). Qt Version: 5.13.2 ADDITIONAL INFORMATION I'm running X.Org X Server 1.20.6.
are you on hidpi? Do both monitors have the same resolution?
(In reply to Albert Astals Cid from comment #1) > are you on hidpi? Yes, my main laptop monitor is hipdi, but all the external monitors I tested were not. I also have `QT_SCALE_FACTOR`and `QT_AUTO_SCREEN_SCALE_FACTOR` set. Good suggestion, hidpi differences seem a likely cause of the problem. I'll see if playing around with aforementioned environment variables changes anything. Coming to think of it, I'm also not sure if Qt 5.14 is still affected. Will test now. > Do both monitors have the same resolution? No, all monitors I've tested had varying resolutions among them, and all had resolutions different from my main (laptop) screen.
Fixed in Qt 5.14. I simply recompiled okular 1.9.0 with that version of Qt installed, and the problem has gone away.