Created attachment 147861 [details] screen recording SUMMARY Can reproduce on Wayland (regardless Opera runs on Xwayland or natively on Wayland) and X11. When I open Opera browser after login and then press alt+space, the main menu of Opera (whose shortcut is ALT) and krunner are triggered at the same time. Only krunner is triggered if alt+space is pressed again. STEPS TO REPRODUCE 1. have Opera browser installed - .deb and .rpm packages are available on https://www.opera.com/download 2. login 3. open Opera 4. press alt+space OBSERVED RESULT main menu of Opera and krunner are triggered at the same time. Please watch the attached screen recording. EXPECTED RESULT SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 Graphics Platform: Wayland ADDITIONAL INFORMATION Can reproduce on Arch Linux running Plasma 5.24.4 too.
EXPECTED RESULT alt+space should never trigger krunner and main menu of Opera at the same time
Can also reproduce similar bug with Thunderbird and Firefox when their menu bars are hidden. 1. login 2. open Thunderbird or Firefox 3. make sure the menu bar of the used app is hidden 4. invoke krunner by pressing press alt+space Result: the menu bar of the used app is activated and krunner is invoked at the same time Operating System: Arch Linux KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Graphics Platform: Wayland
We have no choice on this from a kwin perspective. The client won't get alt+space as that's intercepted properly, but if you press alt first they'll get an alt event. We can't delay sending modifiers (alt) as that would break many many more clients. Locally you can choose different shortcuts for krunner. Switching krunner to meta space for Plasma 6
I cannot reproduce on Plasma 6 - both Firefox and Opera open their menus on ALT release, and only if no other key was pressed.