Bug 403303 - Up/Down arrow should move in the general view instead of the filter bar
Summary: Up/Down arrow should move in the general view instead of the filter bar
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: bars: filter (show other bugs)
Version: 18.12.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 407229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-17 11:35 UTC by andreas_k
Modified: 2019-06-14 04:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-01-17 11:35:58 UTC
SUMMARY
Dolphins filter bar is awesome it's the fastest way to find an file in the folder. with Ctrl + I you immediately filter with the filter bar. than you have at least one or more files in the general view. When you are in the general view (general view is activated) you select an file with keyboard up and down arrow keys. 

It would be awesome if you can use the up and down arrow keys when the focus is in the filter bar to navigate through the filtered files. So no additional switch to the general view needed. With enter you open the selected file.
Comment 1 Nate Graham 2019-01-17 15:47:00 UTC
But the left and right keys would still move the insertion point inside the text field? I dunno, this feels like it would be really weird.

Maybe the real problem here is that tab ordering is non-ideal. When the filter bar is focused, maybe the next press on the tab key should focus the view.
Comment 2 Nate Graham 2019-01-18 21:35:24 UTC
I don't think this makes sense, sorry. Only the up and down arrow keys would be active in the view, and those keys aren't sufficient to actually navigate in icons view. Not sure it would work.
Comment 3 Julian Steinmann 2019-01-18 21:40:28 UTC
I agree, but 

> "Maybe the real problem here is that tab ordering is non-ideal. When the filter bar is focused, maybe the next press on the tab key should focus the view."

sounds good, so I'd convert this bug to that feature request.
Comment 4 Nate Graham 2019-01-18 21:42:44 UTC
Let's open a new bug for that, it will be less confusing: 403379
Comment 5 andreas_k 2019-01-22 09:48:06 UTC
On the other hand, is it possible to have the same behaviour than at krunner, when there is only one item in the filter list and you click ENTER the file, folder will be open? 

So if you have only one item the item is auto selected.
Comment 6 Nate Graham 2019-01-22 14:47:53 UTC
(In reply to andreas_k from comment #5)
> On the other hand, is it possible to have the same behaviour than at
> krunner, when there is only one item in the filter list and you click ENTER
> the file, folder will be open? 
> 
> So if you have only one item the item is auto selected.

I see what you mean, but that would entail dynamically changing the view, which doesn't seem desirable. Dolphin's filter bar isn't some kind of special search; it's filtering the contents of the current view. Changing that view to implement this feature doesn't seem desirable.

There's an easy workaround too: just hit the return/enter key, which will instantly focus the view. If the currently selected item is that one you want, it's as simple as hitting enter/return twice.
Comment 7 Nate Graham 2019-05-12 23:30:45 UTC
Apparently I changed my mind. :)
Comment 8 Nate Graham 2019-05-12 23:31:35 UTC
Basically what should probably happen here is that the up/down arrow keys should perform normal navigation if the main view is in list mode, and if it's in icon mode, the up/down arrow keys should go left/right instead.
Comment 9 Nate Graham 2019-05-12 23:31:43 UTC
*** Bug 407229 has been marked as a duplicate of this bug. ***
Comment 10 Rokas Kupstys 2019-05-13 08:40:33 UTC
It wasnt obvious to me that we can focus file list with enter press. Now that i know it - i personally no longer find it to be an issue that up/down do not work. Maybe another solution to this could be some kind of indicator to signal the user that enter key would change focus? A tooltip maybe?
Comment 11 Nate Graham 2019-06-14 04:53:21 UTC
I've also made it such that the tab key immediately focuses the main view too. Hopefully that's enough! :)