When searching for Konsole after typing "ko" Konsole suggested. When typing "kon" another application is the first result. (In my case Atom Text Editor) Similar behavior is observed when searching for About and other applications.
STEPS TO REPRODUCE
1. Open Krunner (or kickoff)
2. Search for applications using different amounts of letters
3. Observe results
Wrong application suggested when searching with 3 characters
Correct application suggested when using any amount of characters (within reason)
Linux/KDE Plasma: KDE Neon Unstable
(available in About System)
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
* This bug may be filed in the wrong place because the new kickoff replacement has the same issue. *
Does the same thing happen in KRunner itself (activated via Alt+Space or Alt+F2)?
oh lol you already said so. Sorry.
Installed Atom and I cannot reproduce.
I fear this is once again an issue with the RunnerContext relevance logic.
@Connor could you please share your ~/.config/krunnerrc file? (Only if that is okay with you, please check if there is any sensitive information contained). The [PlasmaRunnerManager] group might help reproducing this issue.
I will as soon as I’m back on my computer.
(In reply to Alexander Lohnau from comment #4)
> I fear this is once again an issue with the RunnerContext relevance logic.
> @Connor could you please share your ~/.config/krunnerrc file? (Only if that
> is okay with you, please check if there is any sensitive information
> contained). The [PlasmaRunnerManager] group might help reproducing this
Created attachment 134872 [details]
krunnerrc file as requested by Alexander Lohnau
I would also like to note that as of right now I am no longer having this issue with Konsole and Atom, but now when using 3 (or 4) characters to search for Firefox the first suggestion is System Settings.
There is certainly some odd logic here either way.
I typed in ko and I get Konsole and Konversation under Applications section at the top
If I add the n then Open Windows section gets a higher priority and Applications is bumped down.
*** Bug 433234 has been marked as a duplicate of this bug. ***
I'm having similar issues here on Kubuntu 20.04 with Plasma 5.18.5.
I have two applications installed: "Obsidian" and "OBS Studio".
Now when I type "obs studi", the first suggestion is "Obsidian" and only then goes "OBS Studio".
As you see, both matches come from Applications group.
The only way to get OBS Studio first is to... type its name to the end: "obs studio".
Any ideas on why the search works incorrectly?
On Manjaro 5.23.5 / 5.90.0 Attempting to get "Display Configuration"
In Kickoff: "dis" gets Filelight; "disp" gets Calendar; "display" gets Run Display. The only way to get Display Configuration as the first result is to type "mo".
In Krunner: "displ" will get Display Configuration to the top of the results.
It's super annoying... There should be a way to sort the groups or plugins. For me, I would like applications to be forced to the top. It's acting super strange right now. Being a PHP developer I open PHPStorm and VirtualBox a lot. If I type in "php" I get everything that has to do with php before getting PHPStorm right at the bottom. And if I search "vir" I get VirtualBox right at the top. It makes absolutely no sense and it does not take history into account either considering I open PHPStorm and VirtualBox the most. Especially PHPStorm. I don't think I have opened like 90% of the stuff that's before it. It's just weird that recent files and command line are coming up before the application.
Created attachment 149259 [details]
Screenshot of ordering for "php"
Created attachment 149260 [details]
Screenshot of ordering for "vir"
>Screenshot of ordering for "php"
A workaround might be to search for "phpstorm" and launch the app. Next time you type "php" it gets autocompleted to "phpstorm".
I will look into a better fix (sorry that I forgot about this bug report=
Ok, that's fixed for now. IDK why I didn't think of that. But should still have some way of sorting plugins because I'm sure there are people that always want applications first and then whatever else is there.
>Screenshot of ordering for "php"
I am wondering if we should avoid setting the relevance for recent documents/folders that high, if we have a very short name.
I have no clue what percentage of users use recent files over applications there. I would think an overwhelming majority would be using it mainly for applications.
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1779 takes care of this
Git commit 0e3b24c95428a4f70867d33bf5536b0720339f94 by Alexander Lohnau.
Committed on 29/06/2022 at 19:58.
Pushed by alex into branch 'master'.
runners/recentdocuments: Do not set match type to exact match when query is short
M +2 -2 runners/recentdocuments/recentdocuments.cpp