SUMMARY When closing Krunner with the Esc key, the next window that gets focused receives the Esc KeyRelease event. Most applications don't react to Esc KeyRelease, but some websites do, often closing forms and losing filled data. Consider making Krunner close on Esc KeyRelease instead of on Esc KeyPress. Note that this solution may be a bit non-standard, as most applications seem to close on Esc KeyPress (same as Krunner). STEPS TO REPRODUCE 1. Run `xev -event keyboard` in a terminal 2. Make sure the xev window is focused 3. Open Krunner (Alt+F2 or Alt+Space by default) 4. Press the Esc key OBSERVED RESULT The Krunner window is closed. The xev window receives focus. Xev also receives the Esc KeyRelease event and prints it to the terminal. EXPECTED RESULT The Krunner window is closed. The xev window receives focus. Xev doesn't receive an Esc KeyRelease event. SOFTWARE/OS VERSIONS Operating System: Kubuntu 24.10 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION It seems closing Krunner with Alt+F2 also triggers an event in the next focused window, but this is not as annoying.
Thank you for the bug report! However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one. If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE. If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
I can reproduce this issue with Plasma 6.2.5. SOFTWARE/OS VERSIONS Operating System: KDE neon 6.2 KDE Plasma Version: 6.2.5 KDE Frameworks Version 6.10.0 Qt Version: 6.8.1
Is this X11 or Wayland with XWayland?
It happens on both X11 and Wayland (with XWayland and native Wayland applications).
I can confirm the steps work. I'm unsure about the correct way of fixing this (and if it's something we should fix). For completeness' sake, can you give an example of a website that has negative consequences on escape release?
*** This bug has been marked as a duplicate of bug 488913 ***
I don't think this is a duplicate of 488913. This report is about using the Esc key to close Krunner. 488913 reports that keyboard shortcuts still work in full screen apps - specifically Alt+Space still opens Krunner. It's about activating Krunner, not deactivating it. I think 488913's new summary is now inconsistent with its description.
Hmm, maybe you're right.