Bug 522158 - Power entries are de-prioritised, requiring an exact name or keyword match
Summary: Power entries are de-prioritised, requiring an exact name or keyword match
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.7.1
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2026-06-25 10:17 UTC by Andrej
Modified: 2026-10-17 19:48 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej 2026-06-25 10:17:04 UTC
DESCRIPTION

Whatever you are doing to krunner results it's getting so bad that I'm actively looking for a replacement now.

To access ANY "Desktop Session" action (Shutdown, Restart, Log Out...) you have to spell out 100% of the word. Want to shut down? Type S-H-U-T-D-O-W-N and only then, the action appears in the list. So not only it doesn't appear earlier somewhere else in the list, you literally have to spell it out completely.

This is terrible. Any fzf anywhere else (terminal `fzf`, neovim `mini.picker` everywhere I get the 95% results with 3 keystrokes. Krunner was not this bad before 6.1. I complained about it in https://bugs.kde.org/show_bug.cgi?id=491564

STEPS TO REPRODUCE
1. Krunner => Settings => History => "Enable suggestions"
2. Krunner => Settings => Configure Enabled Search Plugins =>
    Favorite Plugins: 1. Desktop Sessions (I even have it on top here) 2. Applications, 3. Power
    Other __enabled__ plugins: Calculator, Command line, Dictionary, Spell checker, System settings, Unit converter and Windows.
3. Launch krunner and try to reach the actions Shut Down, Restart, Log out
4. Observe that you need to spell it out in full

OBSERVED RESULT

Desktop session actions don't show up until completely spelled out.

EXPECTED RESULT

I type "re" and "Restart" appears as 1st result.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 7.0.13
KDE Plasma Version: 6.7.1
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION

System locale: en-US
Comment 1 David Edmundson 2026-06-25 14:26:41 UTC Comment hidden (spam)
Comment 2 Andrej 2026-06-25 15:51:13 UTC
This is a regression. It is also not vague at all, you can clearly reproduce it right now following the steps I outlined. Krunner suggestions are clearly getting worse and it's a huge issue when you want to accomplish things with the keyboard.
Comment 3 Andrej 2026-06-25 16:04:36 UTC
If you have only the "Desktop Sessions" krunner plugin enabled, you still don't get any suggestions until you spell out the full action.
Comment 4 Nate Graham 2026-06-26 20:05:00 UTC
Please try to keep the tone kind, Andrej. Regressions happen and we're doing our best here. I'm sorry to hear it's negatively impacting you. I can reproduce the issue as well with mine set to:
1. Desktop Sessions
2. Power
3. Applications

I would expect to get the right entry at least after typing "shut" (and ideally after "shu", but the entry doesn't even appear until I get to "shutdown" or "shut down".
Comment 5 Harald Sitter 2026-06-27 04:32:06 UTC
This has never been any other way. Here's the 2014 version with string compare on the entire trigger word. No search in sight. https://invent.kde.org/plasma/plasma-workspace/-/blob/da27b276789a213775f1d1fdba20e5ca91430af2/runners/sessions/sessionrunner.cpp#L77
Comment 6 Nate Graham 2026-06-27 10:44:49 UTC
That's really weird then; I could swear it worked with substring matches in the recent past, and apparently this is Andrej's impression too. Unless we're both gaslighting ourselves!
Comment 7 Harald Sitter 2026-06-27 11:29:29 UTC
Could have been another runner. Definitely isn't the session runner though.
Comment 8 Bug Janitor Service 2026-10-06 17:27:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7177
Comment 9 David Edmundson 2026-10-12 10:25:50 UTC
Git commit 73e453e1dad8471b420f7ef1de2e1ca06fa23672 by David Edmundson, on behalf of Ramil Nurmanov.
Committed on 12/10/2026 at 10:25.
Pushed by davidedmundson into branch 'master'.

sessions: Find session actions with partial input

Allow session actions to match keyword prefixes of at least two characters, so queries such as "shu" and "re" find Shut Down and Restart.

Return all matching available actions, including both Lock and Log Out for "lo". Give prefix matches lower priority while keeping exact matches at the highest priority.

M  +39   -48   runners/sessions/sessionrunner.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/73e453e1dad8471b420f7ef1de2e1ca06fa23672