SUMMARY If you launch KRunner with alt+f2 and then start typing, the previous search result of the last krunner instance are still shown in the list for the first second or so, even if you begin to type something else. If you are fast typer and write the name of a new application and press 'Enter' it will launch the top result of the last search instead of the new application. This was tested on X.org with the NVidia proprietary driver 515.48.07. CPU and memory are AMD Ryzen 9 5900X and 32GB, so it should not be the hardware that's the problem here. This happens even if krunner is 'hot' in memory. STEPS TO REPRODUCE 1. Start an application through krunner, for example 'kate'. 2. Press alt+f2, then quickly type something else like 'kwrite' and press enter. 3. Notice that 'kate' is now being opened if you did this fast enough, typically in the range of 1-2 seconds. OBSERVED RESULT The wrong application is launched, in this case 'kate'. EXPECTED RESULT The list should be updated before the applicaiton execution happens, which would result in the correct application launching. In this case 'kwrite'. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 5.24.5-2 KDE Frameworks Version: 5.94.0-1 Qt Version: 5.15.4+kde+r146-1
SUMMARY Similar issue here, there have been multiple instances where I'm intending to open for instance `System Settings` so I type a query into the search box of the Application Launcher such as "settings" and since the first search result provided is actually Firefox (which appears to match against "Web Brow[se]r" in its description) if I hit enter without sufficient (and disruptive) delay `Firefox` will launch instead of `System Settings` which is always the final search result if I deliberately wait. An identical issue is observed with JetBrains' GoLand and IDEA products installed where typing "idea" matches with GoLand's description "An [ID]e for Go and Web" first, leading to GoLand launching rather than IntelliJ IDEA. OBSERVED RESULT The search maintains the first initial search until typing has stopped for a noticeable amount of time, should enter be pressed prior to said time period passing the old search result will be executed rather than the proper result which would appear afterwards leading to launching an unexpected selection. Below is a video demonstrating that I can consistently either launch Firefox or System Settings with the same query "settings" depending on if I pause for a short period of time or not before hitting enter. https://www.youtube.com/watch?v=GBPuKh0b95c EXPECTED RESULT I would expect that the *final* search result always executes in a consistent manor rather than the old incomplete search result. I would expect that preforming the same search which ultimately yields the same result would launch the same application every time regardless of if I pressed enter prior to the search completing. SOFTWARE/OS VERSIONS Distro: Fedora 37 Plasma: 5.26.4 KDE Frameworks: 5.101.0 QT: 5.15.7
*** Bug 489673 has been marked as a duplicate of this bug. ***