Bug 421877 - session is not being saved fully when on wayland
Summary: session is not being saved fully when on wayland
Status: RESOLVED LATER
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (show other bugs)
Version: 5.18.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2020-05-21 18:30 UTC by Niklas Sombert
Modified: 2020-09-29 23:01 UTC (History)
2 users (show)

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


Attachments
my ksmserverrc after logging out of the x11 session (3.99 KB, text/plain)
2020-05-21 18:30 UTC, Niklas Sombert
Details
my ksmserverrc after logging out of the wayland session (884 bytes, text/plain)
2020-05-21 18:30 UTC, Niklas Sombert
Details

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