Projects with the same basename share state
Affected version
- Nightly flatpak: Yes
Steps to reproduce
Setup
- Create two projects with the same basename:
git clone https://gitlab.gnome.org/GNOME/gnome-builder.git ~/test1/gnome-builder
git clone https://gitlab.gnome.org/GNOME/gnome-builder.git ~/test2/gnome-builder
- Open both using "Select a Folder..." in the "Open a Project" window.
Issue: Sharing search listing
- Search for the
IdeProjectInfo
symbol with Ctrl+Enter - Notice files from both project folders are listed
Issue: Project launches with other projects files
- Open a file in first project
- Close builder
- Open second project
- Notice opened files are from first project
Current behaviour
Projects with the same basename are considered the same project
Expected behaviour
Each project folder is considered a unique project