Bug 489519

Summary: Preselected option in logout screen is Shutdown instead of Logout
Product: [Plasma] plasmashell Reporter: Patrick O'Callaghan <pocallaghan>
Component: Session ManagementAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: natalie_clarius, nate
Priority: NOR Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick O'Callaghan 2024-06-30 22:08:28 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

Under Plasma 5 the logout screen had a preselected (default) option of Logout, but under Plasma 6 the default has changed to Shutdown, which is almost never what the user will want.

STEPS TO REPRODUCE
1. Hit Ctrl-Alt-Del or select Logout from the Launcher menu
2. 
3. 

OBSERVED RESULT
The available options on the logout screen have Shutdown preselected (highlighted), meaning that an inattentive user accustomed to earlier versions of Plasma can mistakenly shut down by hitting Return.

EXPECTED RESULT
Restore the previous (and clearly preferable) default of Logout.

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

ADDITIONAL INFORMATION
The ksmserverrc file shows:

shutdownType=0

which should mean Logout, so either the meaning of the option has changed or it is being ignored.
Comment 1 Nate Graham 2024-07-01 18:01:03 UTC
This was an intentional change for Plasma 6.1, sorry. If you want Logout pre-selected, set a shortcut for "Log out" in System Settings > Keyboard > Shortcuts > Session management. Or just hit the right arrow key once on the logout dialog to make the logout button get selected, and then hit return/enter.
Comment 2 Patrick O'Callaghan 2024-07-01 21:06:15 UTC
(In reply to Nate Graham from comment #1)
> This was an intentional change for Plasma 6.1, sorry. If you want Logout
> pre-selected, set a shortcut for "Log out" in System Settings > Keyboard >
> Shortcuts > Session management. Or just hit the right arrow key once on the
> logout dialog to make the logout button get selected, and then hit
> return/enter.

An intentional change? I find that astonishing. Who asked for this? Shutting down the system is something I may have done once in the past year when going on vacation. The rest of the time I want to log out quickly and log in again because something in the DE has been updated. Now there's an additional complication for no benefit whatever that I can see.

What am I missing? Can you point to a discussion of this decision?