Bug 492949

Summary: When searching for "sddm", Kickoff sorts "Command Line" entries before "System Settings" entries
Product: [Plasma] plasmashell Reporter: Justin Zobel <justin>
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: alexander.lohnau, mikel5764, nate, noahadvs, shatz.dan, sitter
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin Zobel 2024-09-10 15:25:46 UTC
STEPS TO REPRODUCE
1. Open kickoff
2. Type "sddm"

OBSERVED RESULT
"Run sddm" is above "Login Screen (SDDM)" KCM page

EXPECTED RESULT
The reverse

Latest git master as at Sept 10.
Comment 1 Nate Graham 2024-09-19 20:37:47 UTC
Can reproduce. Interestingly it's different in KRunner; there the KCM is shown first. I wasn't aware this kind of divergence in ordering could happen anymore, which is troubling.
Comment 2 TraceyC 2025-01-16 19:34:59 UTC
*** Bug 498674 has been marked as a duplicate of this bug. ***
Comment 3 Harald Sitter 2025-01-17 12:42:20 UTC
Seems to me it does exactly what it is expected to do?

When the command line krunner module is active you get command line commands as potential search output. And in your output list 'sddm', the command line command, is the best match because it is exactly equal to the search term. The KCM meanwhile is not exactly equal as it is not called 'sddm'
Comment 4 Nate Graham 2025-01-17 14:44:48 UTC
FWIW for me the divergence between Kickoff and KRunner is gone now, and in that now-consistent state, I agree with Harald. This is user-fixable by making "System Settings" a favorite category, which AFAIK we do by default.