https://bugs.kde.org/show_bug.cgi?id=435869

            Bug ID: 435869
           Summary: Logout cancelled by ... without asking.
           Product: ksmserver
           Version: 5.21.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: leftcr...@tutanota.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

KDE logout (and shutdown) can be "cancelled" by any process without asking.
I've experienced this with ss-qt5 and recoll (gui). Googling "KDE logout
cancelled by" will yield many other examples going back years. This effectively
allows any program to break basic logout functionality.

In the case of recoll gui, the program first cancels the logout without asking,
then closes itself. So a second attempt to logout will be successful in this
case. Basically it cancels logout immediately and then gets closed like its
supposed to, but that point its already late. Very silly behavior.

Programs shouldn't be able to break logout. When something is blocking logout,
you should get some kind of "process is preventing logout - [wait] [terminate]"
or even a hack like "force logout." The logout process should never be
cancelled by random apps, only paused.

Whatever the solution, anything would be better than the current behavior. To
the best of my knowledge, other desktops don't have this issue.


There are quite a few bugs about this in the tracker, which reports of
eminently closeable apps - like chat and dictionary - being granted the right
to cancel the logout without asking the user. Some of these are marked as
"FIXED DOWNSTREAM" but when random apps can do this to the session, that
becomes a KDE bug irrespective of the problems with downstream.


Operating System: Manjaro Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.10-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to