Bug 376666

Summary: krunner: confusing auto completion
Product: [Plasma] krunner Reporter: Markus <m4rkusxxl>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, kde, nate, sudhir, torquil
Priority: NOR    
Version: 5.16.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.20

Description Markus 2017-02-19 11:07:49 UTC
Lets start the fictional app "abc": Alt+F2 "abc" enter. Works as expected.
Now I want to start another app "ab": Alt+F2 "ab" enter. Now abc starts as it is autocompleted.

That happens also, when "ab" is in history (was called before abc).

A 100% match in history or for a program/... should always be the first choice.

Any option to disable autocompletion?
Comment 1 Markus 2017-07-10 18:02:43 UTC
Still valid for:
kde-frameworks 5.36.0
kde-plasma 5.10.3
kde-apps 17.04.2
qt 5.7.1
Comment 2 Markus 2017-08-18 15:50:02 UTC
Still valid for:
kde-frameworks 5.37.0
kde-plasma 5.10.4
kde-apps 17.08.0
qt 5.7.1
Comment 3 Markus 2017-10-21 11:07:55 UTC
Still valid for:
kde-frameworks 5.39.0
kde-plasma 5.11.1
kde-apps 17.08.2
qt 5.9.2
Comment 4 Subramaniyam Raizada 2019-10-09 20:13:48 UTC
Still an issue in plasma-workspace 5.16.90. Line 365 here[0] currently asks to make the history size configurable; allowing the user to set the max history size to 0 would effectively disable autocompletion of past entries and that would be a solution for this issue.

[0]: https://cgit.kde.org/plasma-workspace.git/tree/krunner/view.cpp#n365
Comment 5 Bug Janitor Service 2020-06-28 09:49:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/122
Comment 6 Alexander Lohnau 2020-07-11 15:16:12 UTC
*** Bug 168215 has been marked as a duplicate of this bug. ***
Comment 7 Bug Janitor Service 2020-08-12 06:07:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/205
Comment 8 Alexander Lohnau 2020-08-30 16:45:36 UTC
Git commit 4a44b30bdfd715e390d4bb5693922de0849811c7 by Alexander Lohnau.
Committed on 30/08/2020 at 16:24.
Pushed by alex into branch 'master'.

Add option to disable KRunner history
FIXED-IN: 5.20

M  +11   -1    krunner/view.cpp
M  +1    -0    krunner/view.h
M  +1    -1    lookandfeel/contents/runcommand/RunCommand.qml

https://invent.kde.org/plasma/plasma-workspace/commit/4a44b30bdfd715e390d4bb5693922de0849811c7
Comment 9 Alexander Lohnau 2020-10-10 15:59:02 UTC
*** Bug 359982 has been marked as a duplicate of this bug. ***