-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
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
FileDialog current_* values should not be saved to scene files #29674
Comments
Likely yes, because when you switch |
Hello. I think this is still an issue now in Godot 3.2.3 Having those properties automatically save in the .tscn file is troublesome for VCS. |
This is a security/privacy concerning bug. |
If you consider your real name to be sensitive information, don't use your real name as your PC username. I know it requires a fair amount of work to move everything, but it's worth it in the long run 🙂 This way, you also won't have to edit screenshots and logs when posting them online. |
@Calinou: Counterargument: it's fairly easy to edit screenshots and logs when posting. On the other hand, you can't edit these fields without breaking stuff. Also, many companies require user name to be your real name, end of story - they won't let you change. |
As you can see I have my real name in this GitHub account, so it's not about me: it's about the fact that the bug described in this issue saves an entire path in the scene file. It's not about the name of the PC account, it's about any other folder, any other content that you can browse on your computer. Let's say that for whatever reason, for testing your game you traverse a path on your PC named |
Our dialog popups used to default to game directories, but this was broken in Godot 3.5 by the fix for Godot #29674 (godotengine/godot#29674) I've restored these paths.
Godot version: 3.1.1
Issue description:
The
FileDialog
node has a few string properties calledcurrent_dir
,current_file
, andcurrent_path
. These are fine to generate on the fly and use while the game is running, but they should not be saved to.tscn
or similar files. Every system that this project is opened on will change this path to be something else. If we really need to save it, then save it inside the.godot
folder.Minimal reproduction project:
The problem is visible here: godotengine/godot-demo-projects#89 (comment)
The text was updated successfully, but these errors were encountered: