Bug 488332 - Keyboard shortcuts to activate widgets in System Tray break after Plasma is restarted, but thereafter start working after the System Tray is opened once
Summary: Keyboard shortcuts to activate widgets in System Tray break after Plasma is r...
Status: RESOLVED DUPLICATE of bug 480173
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 487962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-10 22:21 UTC by Keigh Rim
Modified: 2024-06-12 18:04 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keigh Rim 2024-06-10 22:21:32 UTC
SUMMARY
Since plasma 6.0.0, I have been experiencing this issue. Keyboard shortcuts for "some" (not all) system tray items don't work after boot until system tray gets a focus once. By "getting a focus", I meant clicking on the dropdown arrow (right-most button) on the tray and expand the tray panel. 

Some items I found that are affected by this bug (I believe this is not an exhaustive list) 
- Brightness and Color
- Disk and Devices
- Display configuration
- Media player
- Notifications
- Weather report
- Networks
- Bluetooth

Items I found that are NOT affected (also probably not exhaustive)
- Audio Volume 
- Power and Battery
- KDE connect


STEPS TO REPRODUCE
1. Configure a keyboard shortcut to one of the affected item via widget configuration [Configure System tray...] button at the top strip of the expanded tray panel.
2. Reboot and login.
3. Press the key combination. 

EXPECTED RESULT
Tray panel is expanded and opens corresponding item.

OBSERVED RESULT
Nothing happens. 

MORE STEPS TO CONTINUE
4. Click on the dropdown arrow on the tray to "give a focus" to the "System tray" widget. 
5. Click on the desktop to close tray widget. 
6. Press the key combination. 

EXPECTED RESULT
Nothing happens, since the keyboard shortcut didn't work a few moments ago. 

OBSERVED RESULT
Corresponding tray item is open. 


SOFTWARE/OS VERSIONS
OS: Arch Linux x86_64
Kernel: Linux 6.9.3-arch1-1
Shell: bash 5.2.26
DE: KDE Plasma 6.0.5
WM: KWin (Wayland)
WM Theme: Oxygen

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2024-06-11 08:02:36 UTC
*** Bug 487962 has been marked as a duplicate of this bug. ***
Comment 2 Akseli Lahtinen 2024-06-11 08:03:48 UTC
Can confirm, the reason seems to be that some of the widgets have even lost their ability to add shortcuts!

But with Brightness and Color widget I was able to repro this bug. It works until plasmashell is restarted.
Comment 3 Nate Graham 2024-06-11 13:50:56 UTC
JFYI for any widgets that don't have their own settings page, you can always set a shortcut on the "Entries" page of the System Tray's own config window.

I can reproduce the issue with all widgets tested.
Comment 4 Akseli Lahtinen 2024-06-11 13:57:55 UTC
Hah, I just figured that out.. 

But yes, can confirm the issue as well.
Comment 5 Akseli Lahtinen 2024-06-11 14:45:49 UTC
To add some info: Seems shortcuts work at start only for any visible elements.
Comment 6 Keigh Rim 2024-06-12 15:01:26 UTC
I can confirm the three items I originally reported as not-affected are all pinned as always-shown. The affected items are either show-when-relevant or always-hidden.
Comment 7 Nate Graham 2024-06-12 16:21:10 UTC

*** This bug has been marked as a duplicate of bug 480173 ***