Okular session manager

Not sure if I am posting this in the correct category, but to the extent I am able to tell, maybe it belongs here; if not, please feel free to move it.

Anyway, when using Okular, I notice it has some “remembering” functionality - when started, it displays a Recent documents list; however, looking through the settings, I don’t seem to find anywhere an option to open the last active documents at startup, or any more advanced “session manager”-type functionality.

My question is thus, would there be any such options that I am overlooking, or would there just be none? If the latter, could some type of request be made for such features?

Thanks.

Hmm, so nothing, then?

I don’t know of any way to open all the last opened files at startup, besides opening them manually from the recent documents. If you want to request a feature, you can enter a bug report on bugs.kde.org and set the severity to wishlist.

have you tried settings > desktop session >

setting session restore to On last logout

that is supposed to bring back all the apps you had open when you shut down.

if you have closed okular then, of course that won’t help.

Tried this but it doesn’t open the pdfs, it opens okular on the “Recent documents” screen (as if you are launching it raw). Maybe that is because I have “Open New Tabs” unchecked in okular settings.
The best bandaid I found is to just ditch okular entirely and just use firefox as the pdf reader.

Relevant MR from 2022: Restore previously-open documents on launch by default (!581) · Merge requests · Graphics / Okular · GitLab

Maybe I didn’t word this correctly - by “at startup” I mean when starting Okular, not the whole system; that aside, yes, I am aware of the restoring setting for the session as a whole, it is just not what I am asking about.

most of the office category apps will only open a welcome window showing recently opened files when you start it cold from the app menu or task manager.

most of them DO offer a context menu where you can right click on the application icon and select from a list of recently opened documents, but okular does not seem to offer that (at least mine doesn’t).

so that could be a feature request (or maybe i need to file a bug report about mine).

regardless, i don’t think that it’s good UX design to have an application automatically open the last file accessed from a cold start, because that would be guessing at the users intent.

there needs to be some user intent identified so that launching an app does not inadvertently show a file that was not expected… imagine a sensitive document showing up in a public space or presentation.

if you want to always open okular on a given file then you can just open that file and it will bring it up in okular, provided it is the default application for that file type (.pdf).

Well yes, I can see that, but it is not exactly what I am asking about…

Mine actually seems to have the last five, from a right-click context menu, but again - different thing.

Can see this, but - the feature could be made toggleable, and there shouldn’t be a problem with it?

At any rate, long story short, currently there would be no setting that I am overlooking, and there is simply no such feature in Okular?

correct.

the feature does not exist but you can always just launch okular by clicking on the last file you opened.

Well that much one can see…

Ok, at any rate - thanks for replying, and good luck reading documents. :wink: