Bug 512833 - Fuzzy search prefers middle or end match over beginning of string
Summary: Fuzzy search prefers middle or end match over beginning of string
Status: REPORTED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-01 11:51 UTC by Zerwin+bugskde
Modified: 2025-12-01 12:45 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zerwin+bugskde 2025-12-01 11:51:45 UTC
Follow up to https://discuss.kde.org/t/toggle-to-disable-fuzzy-search/40925/11
Similar to: Bug 511235

SUMMARY
Fuzzy search seems to prefer matches at the end or the middle of the string over matches at the start.
In my case, I had this happen when searching for Deluge.

STEPS TO REPRODUCE:
If I type "D", the results are:
- Deluge
- Dolphin
- Discover
- MiSide

If I type "De", the results are:
- MiSide
- SideQuest
...
- Blender
...
at 16th place: Deluge

If I type "Del", the results are:
- Deluge
- Blender
- Dolphin
- MiSide

It seems like it aggressively prefers matching substrings anywhere in the middle or end of the found results over at the start, which in this case causes Deluge to be moved down to the 16th place of the search result, even though De perfectly matches Deluge.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-2-cachyos (64-bit)
Graphics Platform: Wayland
Comment 1 Ben Guy-Williams 2025-12-01 12:45:45 UTC
Certainly a lot of dissonance... 

For SystemSettings:

Typing 'sett'
#### Applications:
- YAD settings
- Qt5 settings
-Klassy Settings
-Manjaro Settings Manager
-Manjaro Notifier KDE Settings
-Settings - root (my own launcher)
-Settings-Colours
-Print Settings
#### System Settings
- Quick Settings
- User Feedback
- Touchpad
- Regional Language


WTF - my krunner doesn't show the main systemsettings but it does (at the bottom) show 'Global Shortcuts - systemsettings'.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-1-MANJARO (64-bit)
Graphics Platform: Wayland