Summary: | Add a button/option that will show the logout screen with all options | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Eamonn Rea <eamonnrea> |
Component: | Lock/logout | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | alexei.arutyunov, carmanaught, fanzhuyifan, filip.kendes1, natalie_clarius, nate |
Priority: | NOR | ||
Version: | 6.1.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/606ca96225a75a8c374932ab336e4ea5c03ad729 | Version Fixed In: | 6.2.0 |
Description
Eamonn Rea
2024-06-20 21:29:04 UTC
This is intentional, but I see the problem that you're really reporting: that there's no way to use this widget to just show the logout screen with all options anymore. That's legit. Yes, that is what it boils down to; in the context of this issue, ideally also preserving the icon would be useful as well (some users may have "Restart" as their default, although I personally have "Poweroff"). That might be excessive and very specific customisation though. Maybe in general being able to set a custom icon rather than customising it based on the selected option is the way to go, like how we can change the icon for the Application Dashboard/Launcher/Menu. I'm not sure if it's feasible, or should be a separate report, but just some thoughts :-) The icon is certainly lower priority though, as to me this is more of a muscle-memory thing than a visual thing. This also affects the "User switcher" applet. There is no way to restart or turn off the computer from the applet now. If you open Shortcuts -> Session Management -> Show Logout Prompt (Ctrl+Alt+Del) you get the logout prompt with all the options available. Maybe we can add this option (whatever this shortcut triggers, I'm not sure) to the Lock/Logout widget? A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4475 (In reply to filip.kendes1 from comment #4) > If you open Shortcuts -> Session Management -> Show Logout Prompt > (Ctrl+Alt+Del) you get the logout prompt with all the options available. > > Maybe we can add this option (whatever this shortcut triggers, I'm not sure) > to the Lock/Logout widget? As a workaround I created $HOME/.local/share/applications/logoutprompt.desktop file with the following contents: --- [Desktop Entry] Type=Application Name=Logout Comment=Logout Prompt Categories=Utility; OnlyShowIn=KDE; Exec=qdbus-qt6 org.kde.LogoutPrompt /LogoutPrompt promptAll Icon=system-shutdown-symbolic StartupNotify=false --- Then dragged it's entry from Utilities menu to the place on the panel where I had the logout button. This icon widget works exactly like the logout button used to work for me. Hope this helps until proper fix for the widget. Git commit 606ca96225a75a8c374932ab336e4ea5c03ad729 by Nate Graham, on behalf of Thomas Carmichael. Committed on 24/06/2024 at 17:27. Pushed by ngraham into branch 'master'. applets/lock_logout: add "show logout screen" option With the change to simplify the logout greeter UI when invoked with a specific option, there is currently no option to trigger the logout greeter with all of the options via any existing actions. This adds a logout screen action which shows the logout greeter with available options. FIXED-IN: 6.2 M +4 -0 applets/lock_logout/contents/config/main.xml M +8 -1 applets/lock_logout/contents/ui/ConfigGeneral.qml M +7 -0 applets/lock_logout/contents/ui/data.js https://invent.kde.org/plasma/plasma-workspace/-/commit/606ca96225a75a8c374932ab336e4ea5c03ad729 |