Bug 489179 - Disabling logout confirmation screen doesn't work
Summary: Disabling logout confirmation screen doesn't work
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 6.1.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 13:30 UTC by John Horne
Modified: 2024-06-26 03:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Horne 2024-06-25 13:30:58 UTC
SUMMARY
Logging out from KDE/Plasma/Wayland using the desktop mouse right-click and selecting 'Leave...' or using ctrl-alt-del, always shows the logout confirmation screen (offering logout/cancel/shutdown etc options).
I have unchecked the 'Logout Screen' option in the system settings.
My '~/.config/ksmserverrc' file shows 'confirmLogout=false'.

STEPS TO REPRODUCE
1. When logged in, right-click on the desktop background and select 'Leave...'
2. The logout confirmation window shows.
3. 

OBSERVED RESULT
The logout confirmation window appears. Selecting logout from this does log out the user (as expected).

EXPECTED RESULT
No confirmation window should appear; the user should be logged straight out and returned to the SDDM login screen (I don't have auto-login upon logout enabled).

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 40 (KDE/Plasma/Wayland)
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-06-25 13:50:43 UTC
"Leave" now always shows the logout screen; this is intentional. The confirmLogout setting is now only used to actually confirm logout, i.e. offer you the option to cancel when you invoke a *specific* session-ending action. This has been clarified in System Settings already, and we should probably rename the user-facing "Leave..." text to make this clear as well. I'll do that.
Comment 2 Nate Graham 2024-06-25 14:18:30 UTC
Git commit 7f6e6d937215fa13ae2744ae7bc1ab5e6b930008 by Nate Graham.
Committed on 25/06/2024 at 13:54.
Pushed by ngraham into branch 'master'.

containmentactions/contextmenu: rephrase ambiguous "Leave…" action

This action now does a very specific thing: it shows the logout screen
with all options — in contrast to all other actions which show it in
confirmation mode, with only the selected option and a cancel button.

Let's rephrase the menu item to reflect that, since we can now use
precise language.
FIXED-IN: 6.2

M  +1    -1    containmentactions/contextmenu/menu.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/7f6e6d937215fa13ae2744ae7bc1ab5e6b930008