I have enabled the "A lock key has been activated" notification (sound and popup) that works in an X session but which doesn't work in a wayland session unless an xwayland window is focused. I suppose this extends to other notifications, though I haven't checked.
Here neither sound and popup work no matter if I use X11 or Wayland. Operating System: Arch Linux KDE Plasma Version: 5.15.2 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1
Forget my previous comment. I installed Accessibility kcm, enabled "Use KDE's system notification mechanism whenever a modifier or lock key changes its state" in "Modifier keys" tab and now I can confirm this behavior. When I turn on numlock or caps lock while an app running natively on Wayland is focused, plasma does not show/play the notification. When I switch to a window running on Xwayland, plasma shows/plays the notification immediately. Operating System: Arch Linux KDE Plasma Version: 5.15.2 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1
(In reply to Patrick Silva from comment #2) > When I turn on numlock or caps lock while an app running natively on Wayland > is focused, plasma does not show/play the notification. > When I switch to a window running on Xwayland, plasma shows/plays the > notification immediately. > This behavior persists. Operating System: Arch Linux KDE Plasma Version: 5.16.2 KDE Frameworks Version: 5.59.0 Qt Version: 5.13.0
*** Bug 458700 has been marked as a duplicate of this bug. ***
*** Bug 464458 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6068
Git commit 0419c9a3b1511063cc601d9915cba031aa223206 by Nicolas Fella. Committed on 16/07/2024 at 12:27. Pushed by nicolasfella into branch 'master'. [plugins/stickykeys] Show notification when keys are locked If the relevant setting is enabled M +4 -1 src/plugins/stickykeys/CMakeLists.txt M +36 -0 src/plugins/stickykeys/stickykeys.cpp M +1 -0 src/plugins/stickykeys/stickykeys.h https://invent.kde.org/plasma/kwin/-/commit/0419c9a3b1511063cc601d9915cba031aa223206
Git commit de9eb16527c7ca96e631f6da665a3a28ebd5c329 by Nicolas Fella, on behalf of Nicolas Fella. Committed on 16/07/2024 at 12:27. Pushed by nicolasfella into branch 'master'. Show notification when modifier keys are used If the relevant accessibility setting is enabled M +4 -0 src/plugins/CMakeLists.txt A +15 -0 src/plugins/keynotification/CMakeLists.txt A +119 -0 src/plugins/keynotification/keynotification.cpp [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] A +34 -0 src/plugins/keynotification/keynotification.h [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] A +32 -0 src/plugins/keynotification/main.cpp [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] A +5 -0 src/plugins/keynotification/metadata.json https://invent.kde.org/plasma/kwin/-/commit/de9eb16527c7ca96e631f6da665a3a28ebd5c329