Bug 304522

Summary: okular is not correctly restored with the session
Product: [Applications] okular Reporter: Alin M Elena <alinm.elena>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, fabiodurso
Priority: NOR    
Version First Reported In: 0.15.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alin M Elena 2012-08-03 20:49:41 UTC
I usually keep few documents open in okular... and I use kde's restore session.
after the last update (kde trunk... something just after 4.9) okular gets restored only partially.
the number of instances of okular restored is correct but no documents are restored... so I end up with few empty okulars.

this is the same as bug https://bugs.kde.org/show_bug.cgi?id=300985 which was fixed for a previous version
Alin

Reproducible: Always
Comment 1 Albert Astals Cid 2012-08-09 22:33:32 UTC
This might look silly, but do you know how to make kde restore stuff on session? Right now i have it configured to restore nothing so can't test the bug :D
Comment 2 Alin M Elena 2012-08-09 22:44:35 UTC
simple...
system settings (configure desktop) -> startup and shutdown -> session management...

Alin
Comment 3 Albert Astals Cid 2012-08-09 22:46:46 UTC
Thanks :-) 

Will give a try soon.
Comment 4 Albert Astals Cid 2012-08-09 22:47:26 UTC
Actually Fabio volunteered to have a look :-)
Comment 5 Fabio D'Urso 2012-08-10 16:54:12 UTC
Sorry, but I can't reproduce the issue. Session restore works fine here, I tried both Okular v4.9.0 and master.
Apart from Okular, I have an old KDE 4.6.5 installation. Maybe it's something related to newer KDE versions?
Albert, does it work for you?
Comment 6 Albert Astals Cid 2012-08-10 18:46:49 UTC
Works perfectly here too.

Alin are you running Plasma as your desktop environment or something else?
Comment 7 Alin M Elena 2012-08-10 18:55:18 UTC
Hi,

I run plasma and kde trunk... daily updates...  funnily enough it seems that these days updates cured the issue... 
I logged out and in.. and seems to be correctly restored now.
I will see that it restores after restart too.

Alin
Comment 8 Fabio D'Urso 2012-08-10 20:14:35 UTC
I'm closing the bug. Please reopen if it doesn't work