I use krunner alot to open local files, such as ~/Movies , however, krunner seems to prefer files that have the term '~' in them instead of the location ~/Movies in the result index. This causes fun issues such as opening a book when I instead wanted to watch a Movie. Would it be possible to detect when a string is a local location and rank it highest? Reproducible: Always Steps to Reproduce: 1. Have a file which has the term ~/Movies in it 2. Have a Location ~/Movies 3. Search for ~/Movies Actual Results: The file is ranked the highest Expected Results: The folder ~/Movies is ranked highest
I think this would be a good change, moved to wishlist as it's not a bug.
Can you please provide a screenshot of this issue?
Created attachment 134172 [details] Okay, can reproduce :)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/524
Git commit 416c4b8f6a7cf1dac1bc31184830269045ce30c9 by Alexander Lohnau. Committed on 18/12/2020 at 12:56. Pushed by alex into branch 'master'. Do not show duplicate results from location and baloo runner FIXED-IN: 5.21 If the file path is an exact match the location runner will display a match, we do not want to duplicate that in baloo. M +6 -0 runners/baloo/baloosearchrunner.cpp https://invent.kde.org/plasma/plasma-workspace/commit/416c4b8f6a7cf1dac1bc31184830269045ce30c9