Bug 495245 - Caption substring match inappropriately prioritized over title substring match
Summary: Caption substring match inappropriately prioritized over title substring match
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.3.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-10-23 14:53 UTC by Miroslav Jarý
Modified: 2025-03-15 12:27 UTC (History)
3 users (show)

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


Attachments
List of entries for the phrase "cli" (57.48 KB, image/png)
2024-10-23 14:53 UTC, Miroslav Jarý
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Jarý 2024-10-23 14:53:13 UTC
Created attachment 175146 [details]
List of entries for the phrase "cli"

SUMMARY
Application search has sometimes weird order of entries. For example, when I want to open CLion, and search for "cl" or "clio", it is the first in the list. However, when I enter "cli", it is for some unknown reason after "Slack" and "Qbittorrent" entries (I suppose because they both have "client" in it's description).
I guess there are two issues - in the fuzzy search itself (why is different order on "cl" and "cli"), and in the priority (app name should always have priority in search over the description).

STEPS TO REPRODUCE
1. Install apps as seen in the screenshot (alternatively I can directly provide their .desktop files)
2. Open KRunner.
3. Search for phrases "cl", "cli", "clio"

OBSERVED RESULT
CLion is on the third place in the list for phrase "cli".

EXPECTED RESULT
CLion should be in the first place for all the phrases as it's the best match from the entries.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.4-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i5-13420H
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: LENOVO
Product Name: 82XV
System Version: LOQ 15IRH8

ADDITIONAL INFORMATION