https://bugs.kde.org/show_bug.cgi?id=500268

            Bug ID: 500268
           Summary: When closing Krunner with Esc, the focused window also
                    receives the Esc keystroke
    Classification: Plasma
           Product: krunner
           Version: 6.1.5
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: peter.fajd...@gmail.com
                CC: alexander.loh...@gmx.de, natalie_clar...@yahoo.de
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to