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.)
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
Created attachment 135816 [details] Display of Lock only configured
Created attachment 135817 [details] Display of Logout & Lock configured
Created attachment 135818 [details] Display of Shutdown & Lock configured
This appears to work properly now as of Plasma 5.27.4.