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

            Bug ID: 430951
           Summary: krunner runs previous result / lower ranked result
                    when enter pressed quickly before search finishes
           Product: krunner
           Version: 5.20.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: and...@xortux.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

I use krunner to launch a few very commonly used applications, as a result I
would type alt+space, the first few letters of the name, and enter in quick
succession. Sometimes I hit enter too quick, before the search finishes, it
runs the program I previously run, or some other result I don't expect.

I have observed two behaviors:
1. If I have just the Applications runner enabled, the list would retain the
previous search results until the new search terminates, so enter would run the
previous result
2. If I have other runners enabled, sometimes other runners like Software
Center finds a result faster than the Applications runner, so I have observed
discover being run as it is briefly the top result

STEPS TO REPRODUCE
1. Open krunner
2. Type 'd' and enter in quick succession

OBSERVED RESULT
Previous top result is run

EXPECTED RESULT
Dolphin (first result for 'd') is run

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

A few changes that I think could help:

- Wait until the search finishes, or wait a small amount of time, before
processing the enter key
- Clear the previous results immediately after typing the first letter
- A runner for user configurable shortcuts that searches fast

Bug 427672 looks the be related

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

Reply via email to