SUMMARY Situation: By default, if I press the Power button, I get a log out prompt dialog (a wanted behaviour). Also, by default, closing the lid (and locking the screen) turns WiFi off (unwanted behavior). If I change "Wireless" setting in the "Separate settings" of power devil, I lose the prompt out dialog, EVEN THOUGH "Button events handling" is off. STEPS TO REPRODUCE 1. Fresh OS install 2. assert power button prompts the dialog (wanted behaviour) 3. assert lid closing locks the device, but turns wifi off (unwanted behavior) 4.a go to global settings -> activity power settings -> Use separate settings -> check "Wireless" (leave wifi unchanged) 4.b Leave "Button events handling" unchecked! 5. assert that closing the lid does not turn wifi off (wanted behaviour) OBSERVED RESULT Unfortunatly, pressing the power button NOW does not show the prompt. (unwanted behaviour) EXPECTED RESULT Pressing the power button should prompt the dialog, because that setting is not changed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro 21.0.4 Ornara (available in About System) KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 Kernel Version: 5.10.24-1-MANJARO OS Type: 64-bit ADDITIONAL INFORMATION This bug is present for quite some time, I just hoped it would go away on its own.
This is fixed by Jakob Petsovits with https://invent.kde.org/plasma/powerdevil/-/commit/8babe3530c32feb60e982eccd92fe2341091858d in Plasma 6, which re-does the entire UI and removes some of the buggy features described here, while fixing other ones.