Bug 497358

Summary: Since 24.12, Okular doesn't seem to save View settings
Product: [Applications] okular Reporter: Jummy <alleswasichwill>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, alexander.kowalski, amubtdx, maris.kde, whyhow+tech
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jummy 2024-12-12 10:38:12 UTC
SUMMARY
Opening new PDFs, Okular seems to disable "continious view" (although "open in continious mode by default" is checked in okular settings) and for some PDFs, it seems to automatically enable "Facing Pages (Centre First page)" view. - But when changing settings for one PDF, it is saved for that PDF.

STEPS TO REPRODUCE
1. Open different PDFs. View settings will be different.

OBSERVED RESULT
Same as in "Summary"

EXPECTED RESULT
Previous to 24.12, Okular always remembered my set View settings.


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Comment 1 Alexander Kowalski 2025-01-03 16:14:20 UTC
The same happens with current Arch Linux packages, it seems to me like since https://invent.kde.org/graphics/okular/-/merge_requests/1039 was merged whatever logic is implemented there decides on using continuous mode, effectively ignoring the "Open in continuous mode by default" setting. I was at least not able to find other recent changes that could be responsible and whether it actually does open in continuous mode depends on the file.
Comment 2 Māris Nartišs 2025-03-21 15:17:04 UTC
Most likely this is a dupe of bug 497715. Okular simply started to use PDF file internal settings to override program defaults.  "Open in continuous mode by default" just means „if mode is not specified by file, open in continuous mode“ (yes, I also do not like this).
Comment 3 Albert Astals Cid 2025-03-24 21:10:28 UTC
*** Bug 501863 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2025-03-24 21:10:46 UTC

*** This bug has been marked as a duplicate of bug 497715 ***