This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

Okular remembering settings

Tags: None
(comma "," separated)
User avatar
iskendar
Registered Member
Posts
48
Karma
0
OS

Okular remembering settings

Wed Aug 11, 2010 1:55 pm
Hi all,

Question: are the "view" configurations in okular supposed to be remembered after you restart the program? Because the settings of View->View Mode are remembered, but frex View->Fit Page isn't. Is that intentional, or is it a bug (IOW should I file it as one?)


iskendar, proud to be a member of KDE forums since 2008-Dec.
pinotree
KDE Developer
Posts
222
Karma
7
OS

Re: Okular remembering settings

Wed Aug 11, 2010 10:21 pm
The zoom setting is stored per-document, not globally.
Most probably also the view mode should be saved that way, we got requests to do that.


Pino Toscano
User avatar
iskendar
Registered Member
Posts
48
Karma
0
OS

Re: Okular remembering settings

Thu Aug 12, 2010 8:42 am
pinotree wrote:The zoom setting is stored per-document, not globally.
Most probably also the view mode should be saved that way, we got requests to do that.


I see. Now that I check, the setting is indeed saved per document. The reason I keep bumping into it is because I'm using kile: each time I compile the .tex document I'm working on, it opens a new okular instance, which annoyingly does not have the view settings I've set the previous time I compiled it. Being able to set a default zoom/fit for okular would be very useful in this case, maybe I should put that in Brainstorm. OTOH, it would be quite the improvement if kile didn't open a new okular session every compile, the old kde3 version didn't do that, the view stayed in the same window (be it kpdf, acrobat or whatever...)


iskendar, proud to be a member of KDE forums since 2008-Dec.
pinotree
KDE Developer
Posts
222
Karma
7
OS

Re: Okular remembering settings

Thu Aug 12, 2010 9:18 am
iskendar wrote:each time I compile the .tex document I'm working on, it opens a new okular instance, which annoyingly does not have the view settings I've set the previous time I compiled it.

The known problem of this case is that the document changes, so the settings of the old document are not used for the updated document. Not sure something can be done about that, though.


Pino Toscano
User avatar
iskendar
Registered Member
Posts
48
Karma
0
OS

Re: Okular remembering settings

Thu Aug 12, 2010 10:01 am
pinotree wrote:The known problem of this case is that the document changes, so the settings of the old document are not used for the updated document. Not sure something can be done about that, though.


True, but the "new" document must get its settings from somewhere. Now the new okular session called from kile opens with View->View Mode set to Facing Pages, and View->Fit Width checked.These are not the out-of-the-box default settings for okular opening a fresh document: when I open okular without document, View->Fit Width is not checked, same for when I download some random pdf and open it.

After some fidgeting with okular, it seems that View->View Mode is remembered globally (and not per document), and the zoom or View->Fit... settings are normally remembered per document, but the memory gets stuck somewhere for the kile special case.

Now kile seems to be a bit of a mess (the new okular instance after each compile is very annoying), but other than that it would still be useful to be able to set a default zoom/fit in the settings menu, such that each new file gets opened in your preferred mode.


iskendar, proud to be a member of KDE forums since 2008-Dec.
The Shrike
Registered Member
Posts
1
Karma
0

Re: Okular remembering settings

Wed Jan 13, 2016 6:34 pm
It's 5 years later...are there any updates on this? I would like to globally remember a view setting
thugo
Registered Member
Posts
45
Karma
0

Re: Okular remembering settings

Sat Jun 16, 2018 2:29 pm
Another 5 years later ... an me too ... I would like to be able to change the default zoom level. Or is this allready possible?
cpit
Registered Member
Posts
1
Karma
0

Re: Okular remembering settings

Thu Apr 22, 2021 8:04 am
Another three years and still no way for a user to set their own default document view settings?
tosky
Registered Member
Posts
210
Karma
3

Re: Okular remembering settings

Thu Apr 22, 2021 9:04 am
Are you sure? There has been a "Default zoom" option for a while in the general settings. Or do you mean something else?


tosky, proud to be a member of KDE forums since 2008-Oct.
Not Wrong
Registered Member
Posts
4
Karma
0

Re: Okular remembering settings

Thu Aug 11, 2022 9:01 pm
tosky wrote:Are you sure? There has been a "Default zoom" option for a while in the general settings. Or do you mean something else?


There is a "Default Zoom" option, but there is no "Default View Mode". Every time the file changes, okular goes back to the "Single Page" view even if it was set to "Continuous"....
Not Wrong
Registered Member
Posts
4
Karma
0

Re: Okular remembering settings

Thu Aug 11, 2022 9:03 pm
pinotree wrote:The zoom setting is stored per-document, not globally.
Most probably also the view mode should be saved that way, we got requests to do that.


Could you also perhaps make a "Default View Mode" setting, independent of the document?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]