Skip to content

Parent folder path isn't respected when opening the Select Folder dialog #2618

Description

@kieron-mcintyre

Issue

When cloning a repo and selecting a parent folder, the Select Folder dialog doesn't reflect the path in the Parent folder field. Instead, it shows the last visited folder.

I am using Windows 11 Pro and SourceGit's release 2026.17.

Image

Steps to replicate

  1. Add a "Default clone directory" in your settings.
  2. Open the Clone dialog. This will show your default clone directory in the parent folder field.
  3. Complete cloning a repo, placing it in a folder other than the default.
  4. Open the Clone dialog to start the process again. The dialog will correctly show your default clone directory in the parent folder field again.
  5. Click on the folder icon associated with the parent folder field. This will open the Select Folder dialog with the context in the previously selected folder, not the default folder.

Expected behaviour

When I click on the folder icon associated with the parent folder field, I would expect the Select Folder dialog to open in whatever path is specified in the parent folder field.

The exception to this is when the folder doesn't exist.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions