files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.24k stars 2.18k forks source link

Bug: Folder navigates back to parent folder using keyboard navigation when parent isn't fully loaded #15777

Open Lihael opened 3 months ago

Lihael commented 3 months ago

Description

In column view, navigating into a folder before its contents are loaded yet using the right arrow key, causes 2 issues. First, the currently selected element becomes the "New tab +" button (disrupting arrowkey navigation). Second, the current directory changes back to a folder in the first column.

Video included here:

https://github.com/files-community/Files/assets/41993141/1fdf31cb-09db-432a-862d-4ee240875d2e What I did in the video: I clicked on the folder "2" and pressed right arrow multiple times very quickly to navigate into the nested folders 3,4,5. The folder structure looks like this:

2 |--3 ......|--4 ............|--5 ...................|--6

When navigating into the folder "4", the current directory became "2" again

Steps To Reproduce

  1. Enable column view
  2. Press right arrow key quickly multiple times in a nested folder directory (more noticeable with external drives, network drives that take longer to load)

Requirements

When trying to navigate into a folder using the right arrow key, if the folder hasn't fully loaded yet, it should just ignore the keypress and do nothing.

Files Version

3.5.0.0

Windows Version

10.0.22631.3810

Log File

debug.log

Josh65-2201 commented 3 months ago

Thanks for the report, I've added this to the project board.