KDE Plasma logs me out.
If I try to log out, shut down or reboot my computer, Plasma will display a popup saying that the log out/shut down/reboot of Plasma was cancelled by /usr/bin/keepassxc.
I've tried the following:
But none of it worked.
Plasma Workspace saying Logout canceled by '/usr/bin/keepassxc'I'm running an up to date Arch Linux install:
I'v had this bug before (a long time ago) but it was eventually corrected, it just "came back" with version 2.4.0.
KeePassXC - Version 2.4.0
Revision: c51752d
Libraries:
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 5.0.3-arch1-1-ARCH
Enabled extensions:
May be related to #1190 and #856
Do you have the system tray icon enabled and minimize to system tray instead of exiting? If so, please try disabling those one at a time to see if the issue goes away. I want to isolate this on a known "broken" example.
I have both enabled indeed! And the culprit is "Minimize instead of app exit", if I disable it no more problem!
EDIT: I've also tried to only disable the systray icon while keeping "Minimize instead of app exit" enabled but the problem persisted.
Ok, as I suspected. Unfortunately the real fix to this is platform-dependent. Each platform sends a pre-shutdown notification that we have to identify uniquely from a user close action. This occurs in the OSEventFilter class. I implemented it for Windows, but need to dive into Xcb docs to figure it out for Linux.
This is actually a duplicate of #2692
Most helpful comment
Ok, as I suspected. Unfortunately the real fix to this is platform-dependent. Each platform sends a pre-shutdown notification that we have to identify uniquely from a user close action. This occurs in the OSEventFilter class. I implemented it for Windows, but need to dive into Xcb docs to figure it out for Linux.