-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Drag and drop picture editor can't recognize JPG in uppercase #68104
Comments
I can't reproduce. Check whether the underlying image is really a JPG or if it just has the extension. Quickest way to check it I can recommend is to drag it here: https://www.metadata2go.com/ Mime should be an |
Can you attach that file in this issue (e.g. in a zip to ensure the metadata isn't changed by GitHub)? |
I can confirm the issue. The file is properly imported and gets a thumbnail, but drag and drop to the CanvasItem editor doesn't work. Drag and drop in a texture slot works fine. Changing the extension to |
I know it can be solved by changing it to lower case. I hope it can be compatible with upper case |
@akien-mga I could fix it in two ways:
(1) is easy and I could do right away, but (2) affects the core - so since this would be a big change, how are these big changes decided if they should be a go or no go or should I just make a PR with (2) and wait for review? |
(2) is not a good option because you would also need to support Extension tests should always be done with lowercased filenames, seems like this is just missing here for the drag and drop code. |
Oh definitely! 💯
Done then #68107 |
(cherry picked from commit 07e367c)
(cherry picked from commit 07e367c)
(cherry picked from commit 07e367c)
Godot version
4.0-beta3
System information
win10
Issue description
Drag and drop picture editor can't recognize JPG in uppercase
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: