Bug 358985

Summary: Command auto-complete should use time-based sorting rather than alphabetical
Product: [Plasma] krunner Reporter: Martin Klapetek <mklapetek>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol, me
Priority: NOR    
Version First Reported In: 5.5.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Klapetek 2016-02-04 15:47:57 UTC
I run "kquitapp5 plasmashell".

Now I'd like to run it again so I open krunner, type "kquitapp5"
and it autocompletes "kmix5", which I've run 5 months ago
rather than "plasmashell" that I've typed just a minute ago.
Comment 1 Aleix Pol 2016-02-05 01:44:41 UTC
I've had similar issues.
Comment 2 Kai Uwe Broulik 2016-02-09 14:39:20 UTC
Git commit 598f7c99e6ba73ba1849891017d2cc00f8413845 by Kai Uwe Broulik.
Committed on 09/02/2016 at 14:38.
Pushed by broulik into branch 'master'.

[KRunner] Use time-based sorting rather than length for auto-completion

This makes more recently typed queries take precedence over older ones.

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

M  +6    -18   lookandfeel/contents/runcommand/RunCommand.qml

http://commits.kde.org/plasma-workspace/598f7c99e6ba73ba1849891017d2cc00f8413845