| Summary: | Weird search results in KRunner | ||
|---|---|---|---|
| Product: | [Plasma] krunner | Reporter: | Alexander Mentyu <notuxius> |
| Component: | general | Assignee: | Kai Uwe Broulik <kde> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | hein |
| Priority: | NOR | ||
| Version First Reported In: | 5.10.4 | ||
| Target Milestone: | --- | ||
| Platform: | Netrunner Rolling | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Alexander Mentyu
2017-08-21 18:05:09 UTC
Well, if search term is too short we don't search through description and other fields, otherwise you end up with a ton of useless results that all just start with a "D". It's always a trade-off. > if search term is too short
What algorithm is used to determine "short"?
I think 3 letters or more could be a trigger for search or there can be an option for adjusting such functionality (possibly with minimal value of 3) - similarly to 'Minimal word length to complete' in Kate 'Auto Completion' settings You should be using the new KStringHandler::logicalLength(string)>3 in KCoreAddons now. This should have done this in KRunner: https://phabricator.kde.org/D8771 |