[okular] [Bug 400089] Previously closed PDF's open at startup, accompanied by an error message

Tobias Deiminger bugzilla_noreply at kde.org
Sun Oct 21 15:33:56 BST 2018


https://bugs.kde.org/show_bug.cgi?id=400089

Tobias Deiminger <haxtibal at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |NEEDSINFO
                 CC|                            |haxtibal at posteo.de
         Resolution|---                         |WAITINGFORINFO

--- Comment #1 from Tobias Deiminger <haxtibal at posteo.de> ---
Could it be you have "Restore manually saved session" checked in KDE System
Settings > Startup and Shutdown > Desktop Session? What you describe sounds
like ksmserver is restoring a manually/accidentally saved session, that was
saved while okular was running.

Could you open the file ~/.config/ksmserverrc in a text editor and check if it
has lines referring to okular? E.g.

restartCommand31=okular,-session,1013f135148e5000154010731700000012941302_1540107347_651405

If so, in which section do those lines appear? Is it below [Session: saved by
user]?

Can you also try to restore okular session state manually, by starting okular
from command line with the identifier from ksmserverrc as argument, like

$ okular -session 1013f135148e5000154010731700000012941302_1540107347_651405

Do you still get "Could not open file" this way?

Could you also attach the content of the file(s)
$HOME/.config/session/okular_<identifier_from_ksmserverrc>? It will contain the
URLs for the files being tried to load.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list