-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Entering a directory with keyboard Enter
causes focus loss of the directory pane.
#13121
Comments
Interestingly, this seems to depend on the directory. It's working fine if I use the enter key to open If I open a directory from the left-hand sidebar, the focus is correctly moved to the file area. |
Enter
causes focus loss of the directory pane.Enter
causes focus loss of the directory pane.
This is a regression from earlier versions of Files where this worked as expected. |
It seems to work fine if the folder has 32 items or more. And this number seems to depend on this code.
But I have no idea why this happens. |
@cos1110 this issue is fixed in the dev branch and will be included in the next release. |
Description
When you enter a directory using the Keyboard 'Enter' key, causes loss of focus of the directory pane, as well as deselection of the first directory item.
Steps To Reproduce
A
and have it selected, you press 'Enter'.A
and you see directoriesA1
andA2
.Target
directory.WORKAROUND
Tab
once to restore focus to the pane.Down
(you are onA2
) to invoke a keyboard update event.Up
(you are onA1
) to update.A1
selected.Requirements
When you press Keyboard
Enter
in order to enter a directory, the directory pane should remain focused. This would allow fast keyboard-based navigation with keysEnter | Up-Down | Alt-Up
.Files Version
2.5.21.0
Windows Version
10.0.19045
Log File
debug.log
The text was updated successfully, but these errors were encountered: