Plasma 6 Wayland, at variance to X11, do not preserve the geometry of windows after closing them. I would find an answer to the title question: Is it possible to reopen a session with the same layout as the last one?
For instance I use a Konsole window on all desktops, with three splittings. In Wayland I must reopen and redraw the window each time. With X11, no need to so. The tilling editor helps a little bit, but is not a solution.
Not in Wayland currently.
From https://community.kde.org/Plasma/Wayland_Known_Significant_Issues
Session management
- No session restore for native Wayland windows: 436318 – Save session doesn't work under Wayland. Our session management recovery engine is based on the X Session Management Protocol and there is apparently currently no generic concept to do it on Wayland. But on Qt it’s plugin-able and GNOME has had their own implementation for some time.
- Session-restored XWayland windows go on the wrong screens and virtual desktops: 468252 – Desktop Session does not restore windows to proper screen + 421870 – windows on wrong desktop after session restore on Wayland
I was surprised that they made Wayland the default without solving these issues. I had considered these features to be essential, but maybe there are other ways of working, perhaps others can describe workarounds.
Edit: if my recollection is correct the referenced page used to be called Wayland Showstoppers, so I guess they resolved the showstoppers by renaming the page to Significant Issues - good one
Use X11…
Yes, this is actually what I did!
It is difficult to understand the lack of such a basic feature. @mchnz Thank you for the links.
It’s the one thing I’m waiting for before considering Wayland for my daily-driver.
Unfortunately progress on this is dependent on a future Wayland standard which will materialise in an unknown time frame:
From comment #89 of the bug report:
Nate Graham 2024-03-10 03:18:43 UTC:
Once the proposed Wayland protocol gets approved and merged, support in Plasma will likely arrive quickly. I don’t know if it’s helpful to speculate as to when the protocol might get approved. It could be tomorrow and it could be in two years. Obviously we all would prefer the former over the latter.
Aside from using X11, I guess the other workaround is to forgo logging out or rebooting (not that practical for Tumbleweed, but maybe OK for Slowroll).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.