Bug 464109 - Logout: "Default leave option" should include Sleep and Hibernate
Summary: Logout: "Default leave option" should include Sleep and Hibernate
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.5
Platform: Debian unstable Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-10 17:43 UTC by arne anka
Modified: 2023-04-17 16:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2023-01-10 17:43:22 UTC
I usually hibernate my PC every night, and reboot/power off at most once a week.
So, whever I hit CTRl+ALt+DEL I have to manually select "Hibernate" since it is not possible to pre-select it in 
System Settings -> Startup and Shutdown -> Desktop Session -> Default leave option

Of the _five_ options possible on the logout screen only _three_ are actually offered here ("End current session", "Restart computer", "Turn off computer").
I fail to see a valid reason for that and can only assume it's a bug.

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.0-1-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Comment 1 Nate Graham 2023-01-11 19:14:58 UTC
The concept of the default leave action has been removed for Plasma 5.27.
Comment 2 arne anka 2023-01-12 07:48:37 UTC
(In reply to Nate Graham from comment #1)
> The concept of the default leave action has been removed for Plasma 5.27.

So, what is supposed to happen if one hits
CTRL+ALT+DEL
?
Comment 3 Nate Graham 2023-01-12 14:26:18 UTC
If you never customized the setting, Log Out is selected. If you did, the thing you chose before the UI to customize it was removed is selected.

Might make sense to default to Shut Down instead now.
Comment 4 arne anka 2023-01-12 15:12:32 UTC
(In reply to Nate Graham from comment #3)
> If you never customized the setting, Log Out is selected. If you did, the
> thing you chose before the UI to customize it was removed is selected.
> 
> Might make sense to default to Shut Down instead now.

Is there an explanation somewhere why this decision was made?
What I liked most about KDE these last 25 years was how much one can configure.
Removing such a small but useful feature seems not really the sensible thing to do.
Comment 6 arne anka 2023-01-12 15:36:34 UTC
(In reply to Nate Graham from comment #5)
> https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1149

I've seen that before but it onbly seems to confirm the status, never explained how it could get so.
And it always refers to a dialog/screen after pressing the power button.
Not when hitting CTRL+ALt+DEL.
Just to be sure: it only means the option selected by default, not that the computer will actually shut down, right?

Probably too late now, but I really don't think this is a good decision.
Comment 7 Nate Graham 2023-01-12 16:46:55 UTC
(In reply to arne anka from comment #6)
> And it always refers to a dialog/screen after pressing the power button.
> Not when hitting CTRL+ALt+DEL.
Oops, I missed that.

> Just to be sure: it only means the option selected by default, not that the
> computer will actually shut down, right?
Right.