Summary: | Unable to leave session when using custom window manager | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | nikht0 <nikhto> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | dhruvmaru007, natalie_clarius, nate, xaver.hugl |
Priority: | NOR | Keywords: | regression |
Version: | 6.0.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nikht0
2024-06-09 22:53:13 UTC
Hi, I can also confirm that I have been facing this issue. I have been using a mock KWin DBus service[1] for quite a while. Obviously, this is just a hacky fix and not a proper solution. This commit[2] introduced the call to `closeWaylandWindows` when shutting down. I believe adding a simple isValid()[3] check for the `OrgKdeKWinSessionInterface` before calling any DBus methods should fix the issue. [1]: https://github.com/DMaroo/fakwin [2]: https://github.com/KDE/plasma-workspace/commit/23cca93b879d0fcf9f430b03a482dbca1e0a1d79 [3]: https://doc.qt.io/qt-6/qdbusabstractinterface.html#isValid |