Bug 492234 - KRunner search results are not updated before launching application when typing quickly
Summary: KRunner search results are not updated before launching application when typi...
Status: RESOLVED DUPLICATE of bug 455239
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-26 19:54 UTC by Karl Ove Hufthammer
Modified: 2025-04-05 18:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video showing the KRunner bug (921.10 KB, video/mp4)
2024-08-26 19:54 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2024-08-26 19:54:22 UTC
Created attachment 172987 [details]
Video showing the KRunner bug

SUMMARY
After typing something in KRunner and quickly pressing ‘Enter’, the search results are *not* updated before the first entry is launched. When typing quickly, I very often end up launching the wrong application (usually some system settings page). See attached video.


STEPS TO REPRODUCE
1. Open KRunner and configure ‘Applications’ and ‘System Settings’ to be ‘favourite’ search plugins, with ‘Applications’ on top.
2. In the KRunner search field, type ’kw’.
3. Type ‘rite’ (so the search field contains ’kwrite’) and quickly press ‘Enter’.
4. Repeat steps 2 and 3, but now wait a second after step 3.

OBSERVED RESULT
In step 2, KWin Scripts is the 1st entry, with KWrite as the 2nd. (OK-ish*)
In step 3, KWin Scripts is launched. (Not OK)
In step 4, KWrite is the 1st entry, with KWin scripts as the 2nd, and KWrite is launched. (OK)

In both steps 3 and 4, the final search text is the same (‘kwrite’) before pressing ‘Enter’. See the attached video, which shows that ‘kwrite’ is displayed in the search field, but only the ‘kw’ part is taken into account.


EXPECTED RESULT
In step 3, KWrite should be launched, as this is the best match to the completed search text (as confirmed if you wait a second before pressing ‘Enter’).

(* I also don’t understand why the System Settings ‘KWin Scripts’ is considered a better match in step 2 when I have configured ‘Applications’ higher than ‘System Settings’ in the KRunner configuration, but that is a different issue.)




SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240820
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Comment 1 John Kizer 2025-04-05 18:03:18 UTC
Hi - merging this in with what appears to be the same underlying issue of KRunner results not updating in enough time for quickly-typed searches. Thanks!

*** This bug has been marked as a duplicate of bug 455239 ***