Bug 421877

Summary: session is not being saved fully when on wayland
Product: [Unmaintained] ksmserver Reporter: Niklas Sombert <niklas>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED LATER    
Severity: normal CC: nate, plasma-bugs
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.18.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: my ksmserverrc after logging out of the x11 session
my ksmserverrc after logging out of the wayland session

Description Niklas Sombert 2020-05-21 18:30:07 UTC
Created attachment 128672 [details]
my ksmserverrc after logging out of the x11 session

SUMMARY
I'm used to being greeted with my last windows on login – I configured ksmserver that way.

I recently tried logging in with the Plasma Wayland sessions instead of the normal X one and most things worked, but after logging out and logging back in, most of the windows were gone.

STEPS TO REPRODUCE
1. log in to a Plasma X11 session
2. open kcmshell5 kcmsmserver and configure it so that the last session is restored on login
3. open a few windows
4. log out and log back in
5. see that the windows are there
6. log out and log back in, but with the Plasma Wayland session
7. see that the windows are there
8. log out and log back in (I did this with the X11 session, but it shouldn't be important)
9. see that windows are missing

OBSERVED RESULT
The only windows that reopened were Firefox and Thunderbird, Konsole, Dolphin and many others were missing.

EXPECTED RESULT
All windows are there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Niklas Sombert 2020-05-21 18:30:32 UTC
Created attachment 128673 [details]
my ksmserverrc after logging out of the wayland session
Comment 2 David Edmundson 2020-09-29 23:01:48 UTC
Session restore on wayland is not expected to work yet.