Bug 488948 - PDF is zoomed too large to read on multi-monitor setup.
Summary: PDF is zoomed too large to read on multi-monitor setup.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 24.05.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-22 03:43 UTC by jay
Modified: 2024-06-28 01:44 UTC (History)
1 user (show)

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


Attachments
A PDF documentation under 12% zoom is still too large. (305.02 KB, image/png)
2024-06-22 03:43 UTC, jay
Details
Monitor layout. (151.75 KB, image/png)
2024-06-28 01:41 UTC, jay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jay 2024-06-22 03:43:01 UTC
Created attachment 170794 [details]
A PDF documentation under 12% zoom is still too large.

SUMMARY
When opening a PDF in a multi-monitor setup, the PDF is zoomed to an unreadable, huge size. However, in some steps, the zooming could behave normally. (see ADDITIONAL INFORMATION)

STEPS TO REPRODUCE
1. Open a PDF file using okular. (click file in dolphin or simply execute `okular /path/to/file.pdf`)
2. Select any zoom size from the zoom drop down menu except Fit Width, Fit Page, or Auto Fit.

OBSERVED RESULT
The PDF zoom is more extreme than usual. Only a tiny region in the page is visible.(see attachment)

EXPECTED RESULT
The PDF zoom rate should be normal.

SOFTWARE/OS VERSIONS
OS: Arch Linux
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Monitor Setup: Builtin 2160x1440@150%, External 1440x900@100%

ADDITIONAL INFORMATION
When okular is invoked with a file path, the PDF zooming is abnormal.
However, if we follow these steps:
1. Launch okular without any argument
2. Place it to the builtin monitor
3. Open a file using File->Open
OR
1. Launch okular with a file path (then the PDF is zoomed abnormally)
2. Close this file using File->Close
3. Place it to the builtin monitor
4. Open a file using File->Open
the PDF zooming becomes normal. But the same way won't work on external monitor.
Comment 1 Albert Astals Cid 2024-06-27 21:43:53 UTC
Are you using X11 or wayland?
Comment 2 jay 2024-06-28 01:41:17 UTC
Created attachment 171110 [details]
Monitor layout.
Comment 3 jay 2024-06-28 01:44:03 UTC
(In reply to Albert Astals Cid from comment #1)
> Are you using X11 or wayland?

Sorry for missing such an important information. I am currently using plasma wayland. And I found that this is reproducible only if the external monitor is placed on the left side of the builtin one.
See attachment [2] for monitor layout.

I will provide any necessary extra information asap if needed.
Thanks.