Bug 465018 - [Feature request] Let user disable saving per-document view settings
Summary: [Feature request] Let user disable saving per-document view settings
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 00:11 UTC by davidkacerek
Modified: 2023-01-30 01:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davidkacerek 2023-01-30 00:11:04 UTC
SUMMARY:
When setting up zoom from the main toolbar, selecting a view mode from the menubar and moving throughout the document; zoom scale, view mode and last-viewed page position are saved per-document and have to be redone upon the doc's next opening if the default view settings are desired.

While default zoom configured in the General Options window is not saved per-document, it gets overruled by per-document *.xml file anyway. Also I don't like the relevant metadata folder keeping growing, possibly out of proportions.

I've figured out a work-around by deleting %localappdata%\okular\docdata folder and creating a blank text file of the same name w/o an extension there. Okular is polite enough to not overwrite this file with its own folder to save *.xml files with individual docs' metadata in there.

Unfortunately, this also deprives me of the possibility to save annotations. So an option to not maintaining just per-document view settings would be nice.

STEPS TO REPRODUCE:
1. Open up a document and play w/ the view mode, zoom and move around the document. Then close it.
2. Open up a different document and set the view mode & zoom differently and close it.
3. Open up the previous document and check the view mode, zoom & position-on-page settings.

OBSERVED RESULT:
Setting view settings is not applied globally. When re-opening a document I never start from the 1st page.

EXPECTED RESULT:
Setting view settings can be enforced globally. When re-opening a document, the position in a document is always at the beginning.

SOFTWARE/OS VERSIONS:
Windows: Windows 10 x64

ADDITIONAL INFORMATION:
I suppose the behavior is the same across OSes, please implement the feature on at least Win+Lin.

Thank you.