Bug 448720

Summary: After reopening Okular and restoring the last document, focused preview page number is always 1
Product: [Applications] okular Reporter: postix <postix>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: postix
Priority: NOR    
Version: 21.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description postix 2022-01-18 14:57:35 UTC
STEPS TO REPRODUCE
1.  Open a document in Okular and scroll to page N
2.  Also Display the preview pages and make sure it shows the same page
3a. Restart Okular and reopen the document
3b. Reboot in case you save sessions

OBSERVED RESULT
Okular opens with the document on page N, but the preview always shows page 1

EXPECTED RESULT
Okular opens with the document on page N and preview always shows page N

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220115
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-1-default (64-bit)
Graphics Platform: X11