Bug 432441

Summary: Okular sometimes shows a double-page layout despite selecting single-page layout
Product: [Applications] okular Reporter: Daniel <daniel-other+kdebug>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 20.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=421399
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

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 :/