Bug 374661 - Change tab shortcut to same bahaviour as down arrow key
Summary: Change tab shortcut to same bahaviour as down arrow key
Status: RESOLVED INTENTIONAL
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.8.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 22:34 UTC by Lukas Ba.
Modified: 2017-01-07 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ba. 2017-01-06 22:34:56 UTC
Now that there is the shift + return shortcut for activating the secondary action (see https://phabricator.kde.org/D3971),
the tab key could behave like a down arrow key, which is easier to reach on the keyboard than the down arrow.

The current behaviour of the tab key depends on whether there is a secondary action or not, which i find confusing. Holding tab moves with variable speed.
Comment 1 Lukas Ba. 2017-01-06 22:38:08 UTC
(In reply to kdeu from comment #0)
> Holding tab moves with variable speed.

... and sometimes ends up selecting the entry and sometimes the action.
Comment 2 Kai Uwe Broulik 2017-01-07 00:13:41 UTC
How are you supposed to reach the actions with your keyboard then? Tab is the designated key for "move to next control", whereas the arrow keys navigate in lists.
Comment 3 Lukas Ba. 2017-01-07 00:17:22 UTC
By pres(In reply to Kai Uwe Broulik from comment #2)
> How are you supposed to reach the actions with your keyboard then?

Press shift + return

https://phabricator.kde.org/D3971


> action*s*

Is it possible that there is more than one action?
Haven't noticed that yet.
Comment 4 Kai Uwe Broulik 2017-01-07 11:00:53 UTC
Shift + Return is not very discoverable, it's a shortcut to speed up workflows for those who know about it. Tab is how this works everywhere else.

Yes, there can be multiple actions, the kill application runner for instance has actions for kill and term etc.
Comment 5 Lukas Ba. 2017-01-07 14:35:19 UTC
So is there a way to switch the keyboard shorcuts?
Comment 6 Kai Uwe Broulik 2017-01-07 14:38:03 UTC
No.
Comment 7 Lukas Ba. 2017-01-07 14:39:07 UTC
It's hardcoded in a compiled source file?
Comment 8 Kai Uwe Broulik 2017-01-07 14:48:56 UTC
Feel free to play around with the ResultsView.qml in /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/milou/ (might be in a slightly different location on your distribution), lines 122 and beyond handle tab key.
Comment 9 Lukas Ba. 2017-01-07 21:27:07 UTC
Thanks!