Bug 380344 - Shutdown/Reboot countdown overlay incorrectly shows Logout option when logout=false set in KDE Action Restrictions
Summary: Shutdown/Reboot countdown overlay incorrectly shows Logout option when logout...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.7
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 05:53 UTC by Bernard Gray
Modified: 2017-05-30 11:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshots showing the directive, Leave menu, and overlay (199.67 KB, image/png)
2017-05-30 05:53 UTC, Bernard Gray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Gray 2017-05-30 05:53:05 UTC
Created attachment 105769 [details]
screenshots showing the directive, Leave menu, and overlay

Hi all, 
When I set the logout=false directive in my KDE Action Restrictions, it hides the logout item from the Application Launcher "Leave" tab, but still shows the Logout item in the Shutdown/Reboot countdown overlay.

The Logout option should not be visible in the Shutdown/Reboot overlay if the logout=false directive is set.

I've attached a couple of screenshots highlighting the problem.

My complete [KDE Action Restrictions] section looks like this (all the other directives work):

[KDE Action Restrictions][$i]
logout=false
action/switch_user=false
action/start_new_session=false
Comment 1 Marco Martin 2017-05-30 10:04:30 UTC
Git commit 67904e212c4fde5870015c3b2bc3af41e648eb6c by Marco Martin.
Committed on 30/05/2017 at 09:57.
Pushed by mart into branch 'Plasma/5.10'.

don't show logout when kauthorized doesn't want it
reviewed-by: kbroulik

M  +2    -0    ksmserver/shutdowndlg.cpp
M  +1    -0    lookandfeel/contents/logout/Logout.qml

https://commits.kde.org/plasma-workspace/67904e212c4fde5870015c3b2bc3af41e648eb6c
Comment 2 Bernard Gray 2017-05-30 11:03:17 UTC
Thankyou guys, this is spectacular service.