I have (in configure desktop -> Startup & Shutdown -> Desktop Session) set “Restore previous session on login” but every time I start the computer up, all my apps are closed and the windows are gone. How do i get it to retain them?
To sum it up: There is a bug in Qt5 that makes Qt5 (KF5) applications quit too soon on logout so they are not regarded as running any more by the session management. Depending on your system this might always happen, randomly happen, or not happen at all.
Non-Qt5 applications should correctly be restored though.
A possible workaround: switch to “Start with a previously saved session” in KDE’s session management settings (“Configure Desktop”->Startup and Shutdown->Session Management), and then call “Save Session” in the Session/Powersaving submenu in the application menu before logging out. A manually saved session will be restored correctly, also Qt5/KF5 applications.
Note that you have to logout once after changing the setting for the “Save Session” entry to appear.
I went into Configure Desktop and set it to “restore manually saved session”, logged out and logged back in but there’s no submenu or save session anywhere. Where would this be?