Bug 411346

Summary: Plasma Workspace refuses to log out/reboot/shut down with message "logout has been canceled by <some application>"
Product: [Plasma] ksmserver Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Erik Quaeghebeur 2019-08-27 09:11:44 UTC
SUMMARY
Sometimes, when I try to shut down (or reboot or log out), I get the message

    "logout has been canceled by <some application>"

Sometimes a second try works (e.g., when <some application>=kwalletmanager), but sometimes it just complains again and again (e.g., with <some application>=/usr/bin/krusader), inhibiting shutdown.


STEPS TO REPRODUCE
1. <some unknown stuff happens>
2. try to shutdown

OBSERVED RESULT
shutdown cancelled with message

EXPECTED RESULT
Either
* shutdown works
* shutdown cancelled with message, but option given to ‘override’

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
kwalletmanager 19.04.3
krusader 2.7.1
Comment 1 David Edmundson 2019-08-27 09:28:27 UTC
Please file bugs with kwalletmanager and krusader.

If an app cancels shutdown, we should cancel. Typically it's as the result of explicit user action. 

If an app is doing that incorrectly that needs at least looking at the root cause, before we start talking workarounds.