When searching "logout" in the Application Launcher (at least in English), the "Desktop Session" kcm module is ranked higher than the "Logout" function. I imagine most users will more frequently want to log out of plasma when typing "plasma" before adjusting their desktop session settings. I'm not sure the details of how the search results for application launcher are ranked, but for usability reasons it would make sense to rank "logout" (which is an exact match) over "Desktop Session"
STEPS TO REPRODUCE
1. Use English langauge (en_US in my case; haven't tried others)
2. Click the application launcher (or press the hotkey)
3. Type "logout"
The first result is "Desktop Session" kcm session. The second result is "Logout".
I'd expect the exact match and likely always more frequently used "logout" to be the first result.
Operating System: Arch Linux
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
This is a minor usability improvement
Minor typo in bug report (and I don't see an edit function). Second sentence should be: "I imagine most users will more frequently want to log out of plasma when typing "logout" before adjusting their desktop session settings."
Confirmed in Kickoff. This doesn't happen in KRunner though, oddly enough.
Git commit 5f5b21c562a866328871cb156456994f0ea726b5 by Björn Feber.
Committed on 30/04/2019 at 16:37.
Pushed by bfeber into branch 'master'.
Rank Kickoff desktopsessions search results over services
Users more frequently want to log out rather than change desktop session settings. Also makes it consistent with KRunner.
Test Plan: Open Kickoff and search for "logout".
Reviewers: #plasma, #vdg, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, #vdg, plasma-devel, #plasma
Differential Revision: https://phabricator.kde.org/D20923
M +1 -1 applets/kickoff/package/contents/ui/SearchView.qml