Found by openQA: https://openqa.opensuse.org/tests/4277215#step/kontact/19 Typing "akonadictl start" into krunner shows "Systemsettings autostart" as the top hit. I assume that's because systemsetting is set as favorite runner by default and "start" matches "autostart". The "akonadictl" word should cause it to not match at all though IMO.
Seems intentional based on having the System Settings runner a favorite. I guess we could make the command runner a favorite too and put it higher, but then at a certain point we're re-implementing the internal priority ordering, but in a user-facing way. Ultimately maybe that's what we should do, so that the internal ordering stuff only affects the order of items shown *within* a category, and not the order of categories themselves. Because right now we have two sources of truth and it's gonna get messy.
(In reply to Nate Graham from comment #1) > Seems intentional based on having the System Settings runner a favorite. For ordering yes, but why does it match even though the kcm has nothing to to with "akonadictl"? > I > guess we could make the command runner a favorite too and put it higher, but > then at a certain point we're re-implementing the internal priority > ordering, but in a user-facing way. > > Ultimately maybe that's what we should do, so that the internal ordering > stuff only affects the order of items shown *within* a category, and not the > order of categories themselves. Because right now we have two sources of > truth and it's gonna get messy.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/318
Git commit bb9c3442348d08b971b6123d915add66f0aa3232 by Fabian Vogt. Committed on 24/07/2024 at 07:29. Pushed by fvogt into branch 'master'. runner: Don't match if just one query word matches If someone types in "foo asdf start bar", it should not show the autostart KCM for instance. This runner is part of the default favorites in Plasma 6.1, so it's shown above others and must avoid polluting results. M +6 -6 runner/systemsettingsrunner.cpp https://invent.kde.org/plasma/systemsettings/-/commit/bb9c3442348d08b971b6123d915add66f0aa3232
Git commit 4f22c7378dae2d8c0545a8ef85cd20a6244dea53 by Fabian Vogt. Committed on 24/07/2024 at 07:32. Pushed by fvogt into branch 'Plasma/6.1'. runner: Don't match if just one query word matches If someone types in "foo asdf start bar", it should not show the autostart KCM for instance. This runner is part of the default favorites in Plasma 6.1, so it's shown above others and must avoid polluting results. (cherry picked from commit bb9c3442348d08b971b6123d915add66f0aa3232) Co-authored-by: Fabian Vogt <fabian@ritter-vogt.de> M +6 -6 runner/systemsettingsrunner.cpp https://invent.kde.org/plasma/systemsettings/-/commit/4f22c7378dae2d8c0545a8ef85cd20a6244dea53