[okular] [Bug 400089] Previously closed PDF's open at startup, accompanied by an error message
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Oct 21 18:54:06 BST 2018
https://bugs.kde.org/show_bug.cgi?id=400089
--- Comment #2 from dustin.fenster at gmail.com ---
(In reply to Tobias Deiminger from comment #1)
> 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.
"restore previous session" is checked and "restore manually saved session" is
not.
>
> 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]?
>
There are several such lines, however I don't see a [Session: saved by user]
section; they are under the section [Session: saved at previous logout]--maybe
that is what you meant. There are also some lines such as:
discardCommand14[$e]=rm,$HOME/.config/session/okular_102b23022f7285000153793688600000013880083_1538059437_972466.
Just pointing this out because it references okular, don't know if that's
normal.
> 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?
Doing this does not produce the error.
>
> 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.
There are several with one of two url's, which is odd because 6 or 7 files are
opening. Here is an example:
[1]
ActiveTab=0
Urls[$e]=file:$HOME/SpiderOak Hive/record/CG Application Instruction Guide.pdf
[Number]
NumberOfWindows=1
[WindowProperties1]
ClassName=Shell
Height 1080=1051
MenuBar=Disabled
ObjectName=okular::Shell#1
State=AAAA/wAAAAD9AAAAAAAAB4AAAAP1AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
Width 1920=1920
Should I simply delete all of the
"restartCommand13=/usr/bin/okular,-session,102b23022f7285000153793686000000013880082_1538059437_972580",
etc. lines?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list