Bug 511143 - KRunner shows a myriad of apps above Konsole when searching for "cmd"
Summary: KRunner shows a myriad of apps above Konsole when searching for "cmd"
Status: RESOLVED DUPLICATE of bug 511078
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-26 07:54 UTC by Prajna Sariputra
Modified: 2025-10-26 22:23 UTC (History)
2 users (show)

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


Attachments
KRunner output when given "cmd" (non-app results below it cropped out) (189.36 KB, image/png)
2025-10-26 07:54 UTC, Prajna Sariputra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Prajna Sariputra 2025-10-26 07:54:54 UTC
Created attachment 186178 [details]
KRunner output when given "cmd" (non-app results below it cropped out)

SUMMARY
When searching for "cmd" in Kickoff or KRunner, instead of Konsole appearing at the top of the list a myriad of non-terminal applications show up, and with KRunner on my system Konsole does not even appear *at all* because it's so far down the list of matches.

Looking at KRunner's desktop file, it does in fact have "cmd" as one of its keywords, while none of the other apps in my list do (including Kate for example), so this seems like the fuzzy matching algorithm is given way too much priority over exact keyword matches.

STEPS TO REPRODUCE
1. Have Konsole and Kate installed
2. Search for "cmd" in either Kickoff or KRunner

OBSERVED RESULT
Kate appears above Konsole

EXPECTED RESULT
Konsole should be at the top since it has "cmd" as an exact keyword

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-arch1-71 (64-bit)
Graphics Platform: Wayland
Processors: 18 × Intel® Core™ Ultra 5 125H
Memory: 32 GiB of RAM (30.8 GiB usable)
Graphics Processor: Intel® Arc


ADDITIONAL INFORMATION
While at the moment I am not completely sure if this is new to 6.5.0 or if this is from a previous version, what inspired me to write this bug report is this Reddit post saying that this bug only started appearing recently: https://www.reddit.com/r/kde/comments/1og5xy7/search_priority_is_being_weird_now/

The case of that Reddit post is less severe than mine though since in my case I happen to have the `kde-applications-meta` metapackage so I have all the KDE applications installed, among others, and most of the bad matches happen to be KDE apps/games, but the same problem of not being able to type "cmd" and pressing Enter to get Konsole applies still.

The list of apps and descriptions that appear above Konsole for me are (order matches what I see):
- Picmi (Logic Game, from KDE)
- Visual Studio Code (VSCode, I made this .desktop file using KMenuEdit)
- KSpaceDuel (Space Arcade Game, from KDE)
- CMake (Cross-platform buildsystem, part of the `cmake` package on Arch Linux)
- Qrca (Barcode Scanner, from KDE)
- Bomber (Arcade Bombing Game, from KDE)
- Kate (Advanced Text Editor, from KDE)
- KAppTemplate (App Code Template Generator, from KDE)
- Audex (CDDA Ripping, from KDE)
Comment 1 Prajna Sariputra 2025-10-26 22:23:30 UTC

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