Bug 304522 - okular is not correctly restored with the session
Summary: okular is not correctly restored with the session
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-03 20:49 UTC by Alin M Elena
Modified: 2012-08-10 20:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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