Bug 405268 - Usability: "logout" search term in launcher ranks "Desktop Session" kcm over "logout"
Summary: Usability: "logout" search term in launcher ranks "Desktop Session" kcm over ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.15.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-09 14:59 UTC by Lukas Sabota
Modified: 2019-04-30 16:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.16.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Sabota 2019-03-09 14:59:00 UTC
SUMMARY
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"

OBSERVED RESULT
The first result is "Desktop Session" kcm session.  The second result is "Logout".

EXPECTED RESULT
I'd expect the exact match and likely always more frequently used "logout" to be the first result.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION
This is a minor usability improvement
Comment 1 Lukas Sabota 2019-03-09 15:00:09 UTC
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."
Comment 2 Nate Graham 2019-03-17 14:47:06 UTC
Confirmed in Kickoff. This doesn't happen in KRunner though, oddly enough.
Comment 3 Björn Feber 2019-04-30 16:37:13 UTC
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

Summary:

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

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20923

M  +1    -1    applets/kickoff/package/contents/ui/SearchView.qml

https://commits.kde.org/plasma-desktop/5f5b21c562a866328871cb156456994f0ea726b5