Summary: | Plasma always prevents logout (in any form) saying that there are apps preventing it even when no apps are running | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Jakub <jjaruszewski> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, fanzhuyifan, kde, kde, nate |
Priority: | NOR | Keywords: | qt6 |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=477579 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/ff76c8581d24556ff094fd4964108dc3fc43665d | Version Fixed In: | 6.0 |
Sentry Crash Report: | |||
Attachments: | Logout confirmation with empty app list |
Description
Jakub
2023-11-26 16:56:51 UTC
Note that this only happens where no app windows are present. If there is at least one window and kwin/plasma manages to close it, it will log out. Can confirm on neon unstable, wayland. Additional thing: Kwin/Plasma only tries to close native wayland windows, but not Xwayland windows, so Xwayland app does not count as "open" in this case. I will create a separate bug report for this though. Cannot reproduce. I can see the issue on a code level A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4723 Git commit ff76c8581d24556ff094fd4964108dc3fc43665d by David Redondo. Committed on 28/11/2023 at 09:08. Pushed by davidre into branch 'master'. Do not wait for timer if there are no open windows If there were no open windows KWin would wait until the timer ran out and return false signifying that some windows didnt close. FIXED-IN:6.0 M +7 -0 src/sm.cpp https://invent.kde.org/plasma/kwin/-/commit/ff76c8581d24556ff094fd4964108dc3fc43665d |