Bug 436817 - "Separate settings (power users only)" don't work as expected
Summary: "Separate settings (power users only)" don't work as expected
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-09 10:07 UTC by msmetko
Modified: 2023-11-01 16:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msmetko 2021-05-09 10:07:45 UTC
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.
Comment 1 Nate Graham 2023-11-01 16:02:50 UTC
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.