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
Add root_subfolder
to FileDialog
#59089
Conversation
a39d717
to
10cbdcc
Compare
I can still go up by typing Kind of the same issue as #34194. Although that is about the real root, and this one is about the fake root. |
How? I tested that, you can even see on the GIF it's not possible.
Meh, if you don't know filename, then you can't select it. So blocking folder access is enough. |
I don't know why, but
That makes sense for "Open". But the restriction leaks for "Save". The user don't have to know about p.s. By "break", I mean when the dialog is "confirmed", the user should be able to assume |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved on the principle in PR review meeting, but the issues highlighted by @timothyqiu should likely still be fixed before merging.
Rebased. Still can't reproduce the |
Let's merge and track remaining/preexisting issues in new bug reports. |
Thanks! |
Closes godotengine/godot-proposals#3929
root_subfolder
will make the specified sub-folder into a "fake root" of the FileDialog. You won't be able to go to parent directory and the path display changes.Without
root_subfolder
:root_subfolder
set toTest
: