-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
Issue/Description:
After renaming a file, shift-based range selection behaves inconsistently. The selection range appears to be calculated using the file’s previous position rather than its updated sorted position.
This results in unexpected files being selected.
Steps to Reproduce:
- Create 5 files named: 1, 2, 3, 4, 5
- Select file
2 - Rename
2→10 - Hold
Shiftand click file1 - Observe the resulting selection
Expected Behavior:
Range selection should respect the current sorted order after renaming.
The selection should include files between 1 and 10 based on their updated positions in the list.
Actual Behavior:
The selection range behaves as if the file still occupies its old position prior to renaming, leading to incorrect files being highlighted.
Other Notes:
- Likely related to selection anchor not updating after rename
- May require recalculating selection index after model reorder

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels