A great feature of KDE seems to be malfunctioning in Plasma 5: previous sessions are not restored. I have created a new user to verify what happens: I have tried both scenarios with some KDE apps opened (Dolphin, Systemsettings, Kate and Konsole), I have tried before to restore a previous session (default option when plasma configure a new user) and then a manually saved session. sessions saved automatically are not restored at new login, no window left open are showed when plasma is completely loaded and ready. after each logout new files (related to the software not closed) are created in ~/.config/session/ directory session saved manually seems to works as expected I attached two files: xsession-errors_restore_autosaved (~/.xsession-errors created when I login into plasma after an autosaved session is done) xsession-errors_restore_manualsaved (~/.xsession-errors created when I login into plasma after I have previously saved manually a session) Reproducible: Always Steps to Reproduce: 1. open system settings and be sure that the restore of previous session is activated 2. open some kde applications 3. logout 4. login Actual Results: windows previously opened are not restored Expected Results: windows previously opened must be restored
Created attachment 95645 [details] ~/.xsession-errors created when I login into plasma after an autosaved session is closed
Created attachment 95646 [details] ~/.xsession-errors created when I login into plasma after I have previously saved manually a session
I am having also having the problem where if I use "restore last session", then most programs aren't restored at all when logging back in. I rely HEAVILY on the "restore last session" function, so this is a VERY significant problem for me, so much that it is preventing me from permanently moving to Plasma 5. This is very disappointing. :( My System: openSUSE Leap 42.1 for x86_64 plasma5-workspace v5.5.2-158.1 KDE Platform Version 4.14.10 Reproducible: Always
Should be fixed in Plasma 5.6 when built against Qt 5.6. This was no bug in ksmserver btw, but is caused by a wrong behavior in Qt and only affected Qt5/KF5 based applications. In KDE4 this was "workarounded" in KDE's libraries, this has been done now for KF5 as well. For openSUSE Leap 42.1 we will try to release the necessary fixes as official update, see https://bugzilla.novell.com/show_bug.cgi?id=955280 for that. *** This bug has been marked as a duplicate of bug 354724 ***