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

            Bug ID: 440010
           Summary: Applications may be launched over-eagerly when hitting
                    backspace
           Product: krunner
           Version: 5.22.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: bugs.7n...@aleeas.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

Pressing Backspace may cause KRunner to trigger an application launch. This is
surprising, since backspace usually does not trigger active actions but instead
are used to initiate a correction of sorts.

A typical scenario where this happens is this: I want to launch LibreOffice
Writer, so I intend to type "writer<Enter>". Sometimes I typo and end up with
"writr<Enter>" (hitting "Enter" by muscle memory), which (rightfully) doesn't
do anything since no applications match that phrase. However, pressing
backspace to correct the typo will cause KRunner to *immediately* launch
KWrite, which is the top result for the phrase "writ".

This behavior has led to a number of startling experiences for me, until today
I finally figured out that it's the combination of Enter and Backspace that
triggers it.



STEPS TO REPRODUCE
1. Launch krunner (Alt+F2), enter "writr" (typo intended)
2. Hit Enter (nothing should happen)
3. Hit Backspace

(An even more critical variant of this is to enter "writr" and then press
"ctrl+A,Backspace" to clear the line. The next letter entered will cause a
basically random application to launch!)

OBSERVED RESULT

KWrite is launched upon pressing Backspace

EXPECTED RESULT

Nothing should be launched; instead, the search phrase should turn to "writ" so
I can correct it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

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

Reply via email to