Bug 489179

Summary: Disabling logout confirmation screen doesn't work
Product: [Plasma] plasmashell Reporter: John Horne <jhtrees99>
Component: Session ManagementAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: natalie_clarius, nate
Priority: NOR    
Version: 6.1.0   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

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