Bug 425915 - Redundant "Power off" and "Power down" actions exposed in global shortcuts KCM
Summary: Redundant "Power off" and "Power down" actions exposed in global shortcuts KCM
Status: CONFIRMED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.4
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-28 19:25 UTC by Nytrm
Modified: 2020-09-08 19:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nytrm 2020-08-28 19:25:53 UTC
Redundant and functionless entry "Power Down" in "Global Shortcuts" under "Power Management".
The actual true shortcut entry seems to be "Power Off", which is present as well as an shortcut option.


STEPS TO REPRODUCE
1. Go to System Setting -> Shortcuts -> Global Shortcuts -> Power Management.
2. You'll find "Power Off" AND "Power Down".
3. Set a shortcut for "Power Off" and activate, nothing will happen.


OBSERVED RESULT
"Power Down" has no function behind it and seems to be redundant to "Power Off", which actually has function.


EXPECTED RESULT
There should only be "Power Off", not "Power Down".


SOFTWARE/OS VERSIONS
Linux: Manjaro (Kernel 5.7.17)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

It seems that this redundant needless entry "Power Down" hasn't been present in e.g. Plasma 5.18.5. (see: https://forum.kde.org/viewtopic.php?f=289&t=167656 )
Comment 1 Nytrm 2020-08-28 19:34:24 UTC
EDIT: 
3. Set a shortcut for "Power Down" and activate, nothing will happen.

Sorry for mistake.

(In reply to Nytrm from comment #0)

> STEPS TO REPRODUCE
> 3. Set a shortcut for "Power Off" and activate, nothing will happen.
Comment 2 Nate Graham 2020-09-08 14:14:20 UTC
Agreed, this is weird.

The shortcuts come from Powerdevil; moving there.
Comment 3 Nate Graham 2020-09-08 16:58:28 UTC
Looks like "Power Down" is used for long-pressing the power button. Not sure it makes sense for this to appear in the KCM since it's purely a hardware-based action.
Comment 4 Kai Uwe Broulik 2020-09-08 16:59:43 UTC
For context that's used for long pressing the power button on Plasma Mobile
Comment 5 Nate Graham 2020-09-08 19:22:05 UTC
Yes, but I'm not sure it makes sense to expose it in the KCM