https://bugs.kde.org/show_bug.cgi?id=489673
            Bug ID: 489673
           Summary: Launcher and KRunner select invalid options when
                    hitting Enter quickly
    Classification: Plasma
           Product: plasma-simplemenu
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: h...@kde.org
          Reporter: mar...@tuta.io
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 171329
  --> https://bugs.kde.org/attachment.cgi?id=171329&action=edit
screenshot taken in the split second before resutls are updated

SUMMARY

Hi!

This bug affects both Krunner and the Launcher, and I have observed this in
both Plasma 5 and 6.

If I open my launcher menu (hitting Meta) and then type "fire", eventually
firefox is the top option, since that is the last app I used that starts with
fire. So far so good.

If I type "fire" and then hit enter immediately, sometimes the search is not
done yet. After typing F and I, "Files" comes into view. Even after I type the
R and E, which should invalidate the "Files" search result. But instead, Files
is opened, even though my search query "fire" cannot possibly have this result.

An even better example for this is discord and discover.

STEPS TO REPRODUCE
1. Have discord and discover installed (or any other apps that start with the
same letter(s))
2. Open Launcher or Krunner
3. quickly type discord or discover and hit enter immediately

OBSERVED RESULT

depending on what result comes first, either of the two may result in the wrong
app being opened.

EXPECTED RESULT

Search should be deterministic - meaning that no matter how long I wait, the
same result should be the top result.

There are rules for ordering depending on which app was most recently used (I
think) and that is fine - but at the very least, an impossible search result
should never ever be opened.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Tried in Fedora 39 and Bazzite 3.5
(available in About System)
KDE Plasma Version: tried in 5.27 and 6.1
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to