Tray menu not activated by shortcut key unless copyq main window is focused
Describe the bug
The tray menu is not activated using a shortcut key unless the copyq main window is the focused window, since updating to kde 6.5.2. If another window is focused the shortcut key does nothing.
To Reproduce
- Install KDE 6.5.2
- Set a keyboard shortcut for the tray menu (setting in copyq does not work for me, so I set a custom shortcut in kde for the 'copyq menu' command)
- Trigger the shortcut over any focused window that is not copyq - the tray menu does not appear
- Trigger it over the copyq main window, or when it is focused, menu appears
Expected behavior
The tray menu should always appear when the shortcut key is pressed. Worked in kde 6.4.10
Screenshots
Version, OS and Environment
CopyQ Clipboard Manager 13.0.0 Qt: 6.10.0 KNotifications: 6.19.0 Compiler: GCC Arch: x86_64-little_endian-lp64
Operating System: openSUSE Tumbleweed-Slowroll 20251106 KDE Plasma Version: 6.5.2 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 Kernel Version: 6.17.7-1.0.12.sr20251001-default (64-bit) Graphics Platform: Wayland
Installed from: obs://build.opensuse.org/home:AndnoVember due to #3276
Additional context
The log has this whenever I press the shortcut key:
[2025-11-20 16:04:03.869] Warning <Server-172135>: [qt.qpa.wayland] Failed to create grabbing popup. Ensure popup QWidgetWindow(0x55852567d280, name="TrayMenuWindow") has a transientParent set and that parent window has received input.
Running copyq with QT_QPA_PLATFORM=xcb is a workaround
Perhaps related, perhaps not. I am on Mint Cinnamon 6.4.8 and pressing Meta-V shortcut to show the tray menu does not work. However pressing V for the second time while holding meta does show the menu correctly ...