Bug 251496 - Periodically save session state
Summary: Periodically save session state
Status: RESOLVED DUPLICATE of bug 60894
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 4.9.1
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 21:19 UTC by Michael Schuerig
Modified: 2020-01-31 21:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schuerig 2010-09-16 21:19:20 UTC
Version:           4.4 (using KDE 4.4.5) 
OS:                Linux

Assumption: The session manager is configured to restore the previous session.

If for some reason the session is not saved properly on logout, either because of a crash or because some KDE component malfunctioned, the next session uses the settings from the latest previously saved session.

Please, if the user indicates that they want to have their session restored, make sure that this happens even in adverse circumstances. That is, the session state should be saved periodically, not just on logout, so that the latest checkpoint can be used to restore the session later.

Judging by the wording in Session Manager Settings, the current behavior is a bug. "Restore previous session" ought to work, no matter how the previous session came to an end.

Reproducible: Didn't try
Comment 1 Myriam Schweingruber 2012-09-08 12:33:31 UTC
I assume this is still valid with KDE 4.9.x?
Comment 2 Michael Schuerig 2012-09-08 17:31:13 UTC
I'm not aware that session management has changed in KDE 4.9.x, therefore this request is still pertinent.
Comment 3 Jekyll Wu 2012-09-21 11:45:37 UTC
reopen according to comment #2
Comment 4 Andrew 2013-05-02 13:37:39 UTC
In addition the SM should be able to detect the incorrect session ending and don't try to restore a broken state. Related: https://bugzilla.redhat.com/show_bug.cgi?id=949334
Comment 5 Diggory Hardy 2019-07-29 08:23:34 UTC
This is still the case with KDE 5.

In my case the primary cause of restart seems to be power loss, thus the saved session state can be quite old.
Comment 6 Nate Graham 2020-01-31 21:59:15 UTC

*** This bug has been marked as a duplicate of bug 60894 ***