https://bugs.kde.org/show_bug.cgi?id=448492
David Edmundson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/commit/ | |39ecc45e5bdf8cf167b7b128e2c | |3473069bd5119 --- Comment #9 from David Edmundson <[email protected]> --- Git commit 39ecc45e5bdf8cf167b7b128e2c3473069bd5119 by David Edmundson. Committed on 26/01/2022 at 22:20. Pushed by davidedmundson into branch 'master'. [systemd] Fix logout issues It is important that we end plasma-core.target plasma-workspace.target and graphical-session.target when we log out. graphical-session in turn closes all other apps and daemons and prevents restarts. Handling it in systemd gives the least racey option. graphical-session used to be hanlded in the plasma-ksmserver service file, but this was removed in 5.24 in a refactor where it caused issues for Xwayland restarting. This patch reintroduces the sentinel programs to close down our target, which in turn take down the other targets. It also removes a complicated use of templates that in hindsight didn't really solve anything. Testing done: - logout of wayland shows all targets as inactive, logging in repeatedly works smoothly - logout of X11 behaves the same. - calling systemctl --user stop plasma-kwin_wayland.service closes the session - killing ksmserver on wayland does not close the session - killing ksmserver on X does M +2 -2 startkde/startplasma.cpp M +3 -1 startkde/systemd/CMakeLists.txt M +1 -0 startkde/systemd/plasma-core.target A +4 -0 startkde/systemd/plasma-workspace-wayland.target A +4 -0 startkde/systemd/plasma-workspace-x11.target A +8 -0 startkde/systemd/plasma-workspace.target D +0 -6 startkde/systemd/[email protected] https://invent.kde.org/plasma/plasma-workspace/commit/39ecc45e5bdf8cf167b7b128e2c3473069bd5119 -- You are receiving this mail because: You are watching all bug changes.
