Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory inconsistency when opening an editor FileDialog #23754

Open
Zylann opened this issue Nov 16, 2018 · 2 comments
Open

Directory inconsistency when opening an editor FileDialog #23754

Zylann opened this issue Nov 16, 2018 · 2 comments

Comments

@Zylann
Copy link
Contributor

Zylann commented Nov 16, 2018

Godot 3.1 alpha2
Windows 10 64 bits

When setting up a different default directory for new projects, I found the location at which the File Dialog opens is inconsistent. It doesnt remember where it was, and also gets the drive letter wrong.

In Godot 3.0.6

I open a project, I go to Editor Settings, and this is the current directory:
image

If I open the file dialog to set a new path, it opens in the same directory as my project, with correct drive letter:
image

If I navigate elsewhere and close the dialog, it remembers where it was if I open it again.

In Godot 3.1 alpha2

I open a project, go to Editor Settings, it starts out the same:
image

But, if I click on the directory icon to change it, it opens in the directory indicated by the property, which I guess was an intented change? If yes, that would also explain why the dialog no longer remember where it was when opening it again. But more importantly, you will also notice that the drive letter is wrong, which forces me to select C:, and then D: again to trigger the change and see the correct drive.
image

Also, if I write just D: in the address bar instead of using the dropdown, it doesn't just go to D:, but instead warps straight into my project folder (Which is in D:/some/where/in/a/folder). This did not happen in 3.0.6.

@Zylann Zylann changed the title Directory inconsistency when opening an editor FileDialog a second time Directory inconsistency when opening an editor FileDialog Nov 16, 2018
@Chaosus Chaosus added this to the 3.1 milestone Nov 18, 2018
@akien-mga akien-mga modified the milestones: 3.1, 3.2 Jan 25, 2019
@akien-mga
Copy link
Member

Is this still reproducible in the current master branch?

@akien-mga akien-mga modified the milestones: 3.2, 4.0 Jan 9, 2020
@KoBeWi
Copy link
Member

KoBeWi commented Dec 8, 2020

Still valid in 45d627a (although slightly different)
Mfy8eKvdIR
Selecting a drive opens root directory, unless it's the same drive as project, in which case project directory is opened.

@KoBeWi KoBeWi removed this from the 4.0 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants