Bug 489799

Summary: Powerdevil kcm: Keyboard accelrerators don't show up, and sometimes don't work if they do
Product: [Applications] systemsettings Reporter: cwo <cwo.kde>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: john.kizer, jpetso, kde, natalie_clarius
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description cwo 2024-07-05 17:42:39 UTC
SUMMARY

Some of the entries in the kcm either don't show up even though they are present in the strings. Others are displayed, but do absolutely nothing in some circumstances (possibly depending on which other tabs are displayed).

STEPS TO REPRODUCE
1. Go to System Settings > Power Management
2. Hold the Alt key
3. Look at the entry for "After a period of inactivity"
4. Verify that the accelerator is set correctly in the source code:  "A&fter a period of inactivity:" (currently kcmodule/profiles/ui/ProfileConfig.qml:55)
5. Focus a different element, and press Alt+F, per the string above.
6. (for this step, make sure that you are on a computer/vm with battery). Hold Alt, note that the tab buttons have O, N and L underlined
7. Press Alt + any of these keys

OBSERVED RESULT

At 3: No letter is underlined
After 5: Nothing happens
After 7: Nothing happens

EXPECTED RESULT

At 3: F should be underlined, per the accelerator marker in the source
After 5: Focus moves to the combobox for "After a period of inactivity". (Ideally the combobox would open)
After 7: The tab bar buttons are activated, or at least focused

SOFTWARE/OS VERSIONS

confirmed on latest neon unstable live iso (July 1), current neon unstable (in a vm, 7 does not replicate due to missing battery), and current Tuxedo OS

Plasma versions 6.1.80 and 6.1.1
Qt version 6.7.0
Comment 1 John Kizer 2024-11-26 04:53:21 UTC
Although some of the labels have since changed, I can confirm the gist of this one - the accelerators on the Power Management page that are shown when holding Alt do not function on my system:

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2