Bug 432441 - Okular sometimes shows a double-page layout despite selecting single-page layout
Summary: Okular sometimes shows a double-page layout despite selecting single-page layout
Status: RESOLVED DUPLICATE of bug 377151
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-02 23:54 UTC by Daniel
Modified: 2021-02-03 16:10 UTC (History)
0 users

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


Attachments
A screenshot of okular showing double-page-mody, despite the button of one page mode beeing selected. Note that for privacy and copyright reasons, part of the document and screenshot have been covered (90.80 KB, image/jpeg)
2021-02-02 23:54 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2021-02-02 23:54:11 UTC
Created attachment 135382 [details]
A screenshot of okular showing double-page-mody, despite the button of one page mode beeing selected. Note that for privacy and copyright reasons, part of the document and screenshot have been covered

SUMMARY
Apparently, under certain circumstances, okular changes the mode from single-page view to double-page view without any user interaction. Also, the single-page button is still enabled.

STEPS TO REPRODUCE
Still unclear for me, probably it has something to do with resizing the window or minimizing or changing (unplugging) screens. This has happened multiple times  to me in the last days, with different pdfs, but I was unable to detect the cause.

OBSERVED RESULT
See screenshot. A double-page view is used, but the single-page view-button is enabled. No apparent error is logged in the syslog.

EXPECTED RESULT
View mode should not change by rearranging/resizing/… and should be consistent with the buttons

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.11-arch1-1
OS Type: 64-bit
Comment 1 Laura David Hurka 2021-02-03 15:23:36 UTC
I think the reason is Bug 377151, i. e. you changed the view mode to double-page in another tab, and then switched to this tab. This tab now has the single-page button checked, but the viewport is already updated to double-page.

If this is not the cause in your case, please reopen this.

*** This bug has been marked as a duplicate of bug 377151 ***
Comment 2 Daniel 2021-02-03 16:10:15 UTC
Yes, indeed this is it. I'm sorry for the noise, I did search for duplicates, but haven't found any :/