Bug 432511 - shutdown icon stays even if configured to be not shown
Summary: shutdown icon stays even if configured to be not shown
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Lock/logout widget (show other bugs)
Version: 5.20.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-04 17:46 UTC by Bernhard E. Reiter
Modified: 2023-04-10 01:40 UTC (History)
2 users (show)

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


Attachments
Display of Lock only configured (11.23 KB, image/png)
2021-02-18 08:53 UTC, BingMyBong
Details
Display of Logout & Lock configured (11.87 KB, image/png)
2021-02-18 08:54 UTC, BingMyBong
Details
Display of Shutdown & Lock configured (11.10 KB, image/png)
2021-02-18 08:54 UTC, BingMyBong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard E. Reiter 2021-02-04 17:46:24 UTC
SUMMARY
While configured to only show the lock button, the applet still shows the shutdown button.


STEPS TO REPRODUCE
1. Adding org.kde.plasma.lock_logout widget / applet to the desktop or a panel.
2. Open its configuration and deselect showing the shutdown button

OBSERVED RESULT
The shutdown button is still there
and works.

EXPECTED RESULT
Only the lock button should be shown.
(And bigger because it has more space, with the other button gone.)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse LEAP 15.2 
KDE Plasma Version: plasma5-workspace-5.20.90-lp152.575.2.x86_64
from KDE repositories, e.g. 
https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_15.2/


ADDITIONAL INFORMATION
This used to work fine with 15.1 and KDE repositories, so this is a regression.
The use case is that configuring a lock screen button is good and for a small panel
it is easy to hit. But if there is a shutdown button beside it, you sometimes hit the wrong one
by accident. (Even if there is 30 second timer, this requires looking closer than necessary.)
Comment 1 BingMyBong 2021-02-18 08:51:41 UTC
Same issue on Tumbleweed. Clicking Shutdown, logout and lock work as expected (not tried the others) 
Attached 3 png images showing results for 3 config choices.  Lock only (shows shutdown as well), Logout and Lock(shows shutdown as well), Shutdown and Lock (correct display)

"Logout and Lock" should look like "Shutdown and lock" in presentation i.e. one above the other in display if enough space

opensuse:tumbleweed:20210215
Qt: 5.15.2 KDE Frameworks: 5.78.0 - KDE Plasma:  5.21.0 - kwin 5.21.0
kmail2 5.16.2 (20.12.2) - akonadiserver 5.16.2 (20.12.2) - Kernel:  5.10.16-1-default
Comment 2 BingMyBong 2021-02-18 08:53:26 UTC
Created attachment 135816 [details]
Display of Lock only configured
Comment 3 BingMyBong 2021-02-18 08:54:08 UTC
Created attachment 135817 [details]
Display of Logout & Lock configured
Comment 4 BingMyBong 2021-02-18 08:54:28 UTC
Created attachment 135818 [details]
Display of Shutdown & Lock configured
Comment 5 Nate Graham 2023-04-10 01:40:38 UTC
This appears to work properly now as of Plasma 5.27.4.