https://bugs.kde.org/show_bug.cgi?id=503440

            Bug ID: 503440
           Summary: UI to set keyboard shortcut for the Notifications
                    widget
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Notifications
          Assignee: plasma-b...@kde.org
          Reporter: xalt7x.serv...@gmail.com
                CC: k...@privat.broulik.de
  Target Milestone: 1.0

SUMMARY
Some people prefer to have the "Notifications" widget separate from the System
Tray.
It's possible to disable respective "System Tray" and add widget. However,
currently only System Tray exposes UI option to set keyboard shortcut that can
activate/open "Notifications" panel. Thanks to the tip of  Christoph Wolk (cwo)
at KDE forum [1], I've figured that it's possible to set shortcut  for the
"Notifications" widget in the config file:
1. Add "Notifications" widget to the panel
2. Open ~/.config/plasma-org.kde.plasma.desktop-appletsrc
3. Find appropriate section that mentions widget. For example:
[Containments][2][Applets][48]
plugin=org.kde.plasma.notifications
4. Add new section and set keyboard shortcut there. For example
[Containments][2][Applets][48][Shortcuts]
global=Meta+Alt+C
5. Reload plasmashell using KRunner or Konsole
kquitapp5 plasmashell && plasmashell &
6. Now you can find previously set shortcut on the
System Settings > Shortcuts > Activate Notification Widget
(it wasn't there before)

STEPS TO REPRODUCE
1. Add "Notifications" widget to the panel
2. Right click on it and select "Configure Event Notifications and Actions"
action
3. "Notification" section of System Settings opens

OBSERVED RESULT
For obvious reason KCM doesn't provide an option to set keyboard shortcut to
activate widget 

EXPECTED RESULT
Keyboard shortcut to activate widget is possible to add from the UI

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
I dug a little bit in commits and found that required option was removed in
Plasma 5.22 in favour of action to open KCM directly [2] just like previously
was done with some other applets (Bluetooth, Network connections). I also have
no reason to move many applets from the System Tray, but sometimes I need to
glance at some that dynamically change (like Keyboard Layout and Notifications)
and for me it's easier to keep them separate in the panel and activate with
keyboard shortcuts.

[1]
https://discuss.kde.org/t/this-week-in-plasma-multiple-major-wayland-and-ui-features-kde-blogs/33316/17
[2]
https://invent.kde.org/plasma/plasma-workspace/-/commit/4172720357684b952ded4b8420374e301589ad1f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to