Bug: Arrow-key navigation in Details layout doesn't start at the top after opening a folder
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
Start by locating the Details layout’s arrow-key navigation and folder-opening behavior in the Files codebase; the issue does not name a file or test. Reproduce the steps with the listed folder structure, then check that the first Down press after opening folders b and c selects a. Confirm the fix by repeating both cases in Details layout.
Written by the indexing model from the issue text.
Description
Description
In the Details layout, the first arrow-key press after opening a folder can select the wrong item. Instead of starting at the top of the new folder, the selection starts from the position of the item that was focused in the previous folder.
Steps To Reproduce
- Create this folder structure:
a/ b/ c/ d/ b/ a/ b/ c/ c/ a/ b/ c/ d/ - Open the parent folder in Files using the Details layout.
- Use the arrow keys to select folder
b(the 2nd item) and press Enter to open it. - Press Down.
- Expected: the first item (
a) is selected.
Actual:c(the 3rd item) is selected. - Go back, open folder
c(the 3rd item) and press Down.
Expected: the first item (a) is selected.
Actual:d(the 4th item) is selected.
Files Version
4.3.0.0
Windows Version
10.0.26200.9457
User ID
No response
Log File
- Dominant language
- C#
- Stars
- 46.3k
- Forks
- 3k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from files-community/Files
-
area - toolbar
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
files-community/Files#19011 · 1 comment ·
Maintainers usually reply within 1 day
-
area - cloud drives
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
files-community/Files#18821 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
files-community/Files#18582 · 1 comment ·
Maintainers usually reply within 1 day
-
area - properties window needs - additional info
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
files-community/Files#19067 · 2 comments ·
Maintainers usually reply within 1 day
-
area - tabs needs - additional info
Difficulty 3/5 1-2 days Newbie friendliness 42/100
files-community/Files#19066 · 1 comment ·
Maintainers usually reply within 1 day
All issues in files-community/Files
Similar issues
-
Importer: an empty or non-numeric Error cell is imported as 0 instead of missingPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Open-Systems-Pharmacology/OSPSuite.Core#3049 ·
Maintainers usually reply within 1 day
-
needs attention public-client untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
criticalmanufacturing/cli#882 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Dome-Works/DOME#129 ·
Maintainers usually reply within 1 day
-
bug sev:L
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Systemorph/MeshWeaver#7480 ·
Maintainers usually reply within 1 day