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

No symbols in path's on files_dropped #91861

Open
voylin opened this issue May 12, 2024 · 2 comments
Open

No symbols in path's on files_dropped #91861

voylin opened this issue May 12, 2024 · 2 comments

Comments

@voylin
Copy link
Contributor

voylin commented May 12, 2024

Tested versions

4.2.2-stable

System information

Arch Linux

Issue description

When dragging and dropping files into Godot which come from a folder with a symbol such as '+', the path inside of Godot is missing the symbol giving an invalid path because of this.
BUG_PATH
BUG_FOLDER

Tried with Dolphin, Thunar, and PCManFM.

Steps to reproduce

Make a folder with a symbol in its name such as '+' and print the value of the path.

func _on_files_dropped(a_files: PackedStringArray) -> void:
	print(a_files)

Minimal reproduction project (MRP)

bug_symbol.zip

@TheRealSlander
Copy link

I can confirm this issue in Manjaro Linux (Cinnamon DE) with Godot 4.3.dev-6. Dropping a file from my OS file manager (Thunar) into the Godot Script Editor produces the following error message in the debugger window:

image

The filename in the OS file manager contains a + sign which does not seem to be printed in the error message.

image

Removing all the spaces in the filename produces the following error message:

image

I tested other special characters, but only the + (plus sign) seems to throw the error.

Hope this helps.

@matheusmdx
Copy link
Contributor

Testing on Windows 10 and this error didn't happened to me, so probably is a Linux specific issue

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants