We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
FileDialog
/path/to/dir/
path/to/dir
4.1.1
linux
path/to/dir/
path/to
/
The problem is either (or both) that:
stuff/
stuff
favorite a directory and use the feature to navigate to it
any (i.e. the project manager's "new project" dialog has one)
The text was updated successfully, but these errors were encountered:
Can you confirm this on 4.1.1? Please make sure bugs are present on an up to date version
Sorry, something went wrong.
Can you confirm this on 4.1.1
ah, missed that one. It does.
I couldn't replicate on Windows 10, so maybe this is dependent on OS?
Edit: Can replicate on Web editor ✔
Can the function _go_up() be modified for this?
_go_up()
I believe get_base_dir() is working as it should be. (190 results in 80 files) The function change_dir exists 4 times, also for Android.
get_base_dir()
change_dir
godot/editor/gui/editor_file_dialog.cpp
Line 1530 in 5444afa
to:
void EditorFileDialog::_go_up() { String cur_dir = get_current_dir(); if (cur_dir.ends_with("/")) { cur_dir = cur_dir.substr(0, cur_dir.length() - 1); } dir_access->change_dir(cur_dir.get_base_dir()); update_file_list(); update_dir(); _push_history(); }
Test on MacOS:
EditorFileDialog
Successfully merging a pull request may close this issue.
Godot version
4.1.1
System information
linux
Issue description
FileDialog
, clicking on it travels topath/to/dir/
.path/to
but topath/to/dir
(without the/
).simplescreenrecorder-2023-08-18_09.38.37.webm
The problem is either (or both) that:
/
stuff/
is considered to bestuff
Steps to reproduce
favorite a directory and use the feature to navigate to it
Minimal reproduction project
any (i.e. the project manager's "new project" dialog has one)
The text was updated successfully, but these errors were encountered: