🐞 Path selection doesn't work if selecting a sibling or child of a folder
Description
The path bar displays folders indicating the folder hierarch of the current file. The last item displayed is the open file. When clicking this last item and selecting a sibling file, that file is opened just fine. However if clicking on a parent folder and either selecting a sibling file to that folder, or drilling down into sibling folders to select a containing file, this does not open the selected file and nothing happens.
To Reproduce
- Open a project with the following file structure:
test-project/
folder-a/
file-1a.txt
file-2b.txt
folder-b/
file-1b.txt
file-2b.txt
file-1.txt
file-2.txt
- Open file-1.txt
- In the path bar, click file-1.txt and select file-2.txt
- Notice file-2.txt is open as expected
- In the path bar, click file-2.txt, hover folder-a and select file-1a.txt.
- Notice file-1a.txt is open as expected
- In the path bar, click file-1a.txt and select file-1b.txt
- Notice file-1a.txt is open as expected
- In the path bar, click folder-1, hover folder-2 and select file-2a.txt
- Notice that nothing happens not as expected.
Expected Behavior
When clicking a parent folder in the path bar, hovering a sibling folder, and selecting a child file, it should open the file.
Version Information
CodeEdit: 0.0.3-alpha (36)
Can I work on this?
You got it!
@austincondiff I am unable to recreate this.