-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Partially fix directory bug on Android #96711
Conversation
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.
Looks good enough to me to address the described issue.
Reiterating I'm not very familiar with the logic in project_dialog.cpp
, but from #95086 and this fix, it seems we may need to revisit how its path validation is done.
I'd like to add that this bug exist in the 4.2.0 as well (at least on my device Redmi 10 2022) |
When can this bug appear? It's weird that the path would be relative, unless it's some bug related only to Android? Like the path is dependent on system version or something. In #94570 it looks like the default should be |
9bcb1e9
to
68c5bdd
Compare
This bug appears when importing from a ZIP file. relative path would be provided by the user. |
Yeah can't reproduce on Windows. |
I don't think I quite understand what you are saying.But i think its working |
That could work. You can use the |
This comment was marked as off-topic.
This comment was marked as off-topic.
e88f409
to
9b538d6
Compare
9b538d6
to
8f66513
Compare
Updated |
Sooo when importing ZIP file, the installation path is auto-filled with the ZIP-name, which is a new folder, which means it never exists. Clicking Browse will always reset path. Not sure what's the expected behavior tbh. |
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.
I can't reproduce the problem (didn't test on Android though), but the fix seems harmless.
Even tho it is similar issue as #94570 but the cause is different. This happens due to incorrect user input |
Thanks! And congrats for your first merged Godot contribution 🎉 |
Cherry-picked for 4.3.1. |
Similar fix like #95086 for
_browse_install_path()
also updated_browse_project_path
to account for local path.But I couldn't fix for a directory that doesn't exist.
For example something like
/storage/emulated/0/Documents/folderThatDoesntExist
will still causethe samesimilar issue as mentioned in #94570