Bug 493530 - Switch power profile shortcut shows OSD about profiles even when power-profiles-daemon isn't installed
Summary: Switch power profile shortcut shows OSD about profiles even when power-profil...
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Natalie Clarius
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-09-23 12:04 UTC by Ben Hutchinson
Modified: 2024-09-25 02:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Hutchinson 2024-09-23 12:04:11 UTC
SUMMARY
Unlike the battery tray icon which doesn't show any power profiles and suggests installing power-profiles-daemon the power profile switcher will show the power profiles which will not do anything.

STEPS TO REPRODUCE
1. Do not have power-profiles-daemon installed
2. Use the "Switch Power Profile" keybind (Default Meta+B)

OBSERVED RESULT
Power profiles (which do not do anything) show up

EXPECTED RESULT
No menu should appear or perhaps an informative notification should appear

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Fedora Linux 40, Kernel 6.10.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.2
Qt Version: 6.7.2
Comment 1 Nate Graham 2024-09-23 18:02:36 UTC
The action that the shortcut triggers should probably be internally disabled in this case. Or maybe the shortcut itself shouldn't be exposed publicly, if that's feasible.
Comment 2 Natalie Clarius 2024-09-25 02:21:52 UTC
This is fixed in Plasma 6.2 as a side effect of the shortcut now cycling through available profiles, rather than bringing up the interactive menu. If there are no profiles available, nothing will happen.