I have various statements in KRunner history that begin with same keyword. KRunner only shows one item at a time and would resolve the other one as you continue to type and reach the differentiating letter. Reproducible: Always Steps to Reproduce: 1. Alt+F2 Open KRunner 2. Search if you have several items that begin with similar keywords 3. Actual Results: KRunner only shows one item at a time although there are other statements with similar beginning keyword. Expected Results: If I type k then it should show all items that begin with k. Please see attached screenshots.
Created attachment 97634 [details] Only one item is shown
Created attachment 97635 [details] complete list of history
Well, you entered "killall ksuperkey", so that's what it shows. I won't change the way the history works as of now, sorry.
Kai you are miunderstanding. I DIDN'T enter "killall ksuperkey" I started entering one letter at a time and at kil it responded with "killall ksuperkey". Whereas as soon as I entered k it should have shown all the previous items that started with k. As a matter of fact there are several killall items in my history which should have been shown.
No, what it should do is search for "k", if you pressed backspace it would do just that. I don't think it should search the history and mix that with the actual search results.
Top rows should always be occupied by the most accessed items otherwise accessing most frequent tasks require (steps required in accessing most frequent task + X steps). Current number of steps to do most frequent task = steps required in accessing most frequent task + X steps What it should be = steps required in accessing most frequent task. For example, if I want to search "killall -s SIGSEVG plasmashell" but KRunner shows "killall ksuperkey." Here I have to type full word killall, space and dash sign. So total of 8 keywords are required to run the former command. If KRunner showed both commands as soon as I entered k then 1 click for k and 1 click for down-arrow. Total 2 steps. Thank you for taking time to look into it Kai.
The number of steps to perform a frequent task is either the number of tasks performed since the last time the task was performed +1, or the number of characters needed to differentiate the task you want to perform from others in the history, whichever is lower. If entering shell commands is a frequent task for you, maybe Yakuake is the better choice than KRunner?
Another thing I noticed is when you first start typing the very first and only result you are shown is probably the last used applications. So If I opened KTorrent last time and I enter k in KRunner I am shown only a singly entry that is KTorrent. A better way would be to show history + rest of the searchable item. So it goes like following. k - last search app ktorrent in my case. k+o - konsole k+o+n - konsole k+o+n + t - kontact I would think that the easiest UI for users is going to be first showing items from history and then rest of the items that match that query. I wonder why we only show either history or searchable items. Why not show them all? First history items and then searchable items in the KRunner list. We name everything with a k and often several apps have 3 common letters if not more like kontact, konsole, konversation, etc. If you are only shown history then the minimum query required to resolve kont is 4.
*** This bug has been marked as a duplicate of bug 376666 ***