Wayland globalmenu shortcuts doesn't work

As in title shortcuts with globalmenu doesn’t work. Unless i minimize app or click taskbar beyond global menu.

Also i tried :
QT_LOGGING_RULES=“org.kde.plasma.appmenu.debug=true” plasmashell
And it resulted in very interesting log evertime when trying alt+f in dolphin:

qt.qpa.wayland: Failed to create grabbing popup. Ensure popup QWidgetWindow(0x558f3e07d540, name=“QMenuClassWindow”) has a transientParent set and that parent window has received input

Operating System: CachyOS Linux
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-2-cachyos (64-bit)

In gimp shortcuts seem to work with x11 backend enabled.
GDA_BACKEND=x11 gimp

Wayland don’t support global shortcuts by security reasons in their protocols.

But it supports global shortcuts defined in System Settings—>Keyboard—>Shortcuts:

Regards

It implements global shortcuts differently.

Instead of sending all keyboard input to all applications which ask for it, applications can ask for specific keyboard shortcuts to be sent to them.

2 Likes

There are a couple of things that can mess it up though, if you set your Window Decoration to have the Application Menu on the titlebar, then Global Menu will fail…

So make sure you check your settings thoroughly… I was shocked to see I had the same issue, until I remember taking screenshots with Material (LIM) decoration yesterday, which disabled my other menus even after changing the decoration back to Klassy.

I don’t have application menu on titlebar, window menu also. So it doesn’t help. I use klassy window decoration but i don’t think that it matters.

Also i tried test what happens when i click alt+f, alt+e etc
dbus-monitor “interface=‘org.kde.kappmenu’” “interface=‘com.canonical.AppMenu.Registrar’”
Output:

signal time=1764662495.051410 sender=org.freedesktop.DBus -> destination=:1.235 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.235"
signal time=1764662495.051428 sender=org.freedesktop.DBus -> destination=:1.235 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.235"
signal time=1764662496.887161 sender=:1.23 -> destination=(null destination) serial=523 path=/KAppMenu; interface=org.kde.kappmenu; member=showRequest
   string ":1.204"
   object path "/MenuBar/2"
   int32 1
signal time=1764662497.943280 sender=:1.23 -> destination=(null destination) serial=524 path=/KAppMenu; interface=org.kde.kappmenu; member=showRequest
   string ":1.204"
   object path "/MenuBar/2"
   int32 1
signal time=1764662573.284531 sender=:1.23 -> destination=(null destination) serial=526 path=/KAppMenu; interface=org.kde.kappmenu; member=showRequest
   string ":1.204"
   object path "/MenuBar/2"
   int32 24
signal time=1764662654.458874 sender=:1.23 -> destination=(null destination) serial=527 path=/KAppMenu; interface=org.kde.kappmenu; member=showRequest
   string ":1.204"
   object path "/MenuBar/2"
   int32 50