-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
EditorFileDialog has missing icons #74762
Comments
That's the first time anyone reports that, so I don't think it's as simple as "Show the EditorFileDialog". Can you give me more specific steps and more details about the project that you're making? Is it a native editor window, is it a plugin? In which context does this dialog appear, saving what exactly? Do you have a custom editor theme, a custom project theme? |
I was creating a plugin, I did nothing to alter the appearance of EditorFileDialog. All I did was create a new instance, then call I have no custom themes whatsoever anywhere in this project period, everything is at the default, and this is simply as it appears in-engine. So when I say "Show the EditorFileDialog" I literally mean just show it (call @tool
extends EditorPlugin
func _enter_tree():
var file_dialog = EditorFileDialog.new()
file_dialog.mode = Window.MODE_WINDOWED
file_dialog.display_mode = EditorFileDialog.DISPLAY_THUMBNAILS
file_dialog.size = Vector2(400, 500)
file_dialog.transient = false
add_child(file_dialog)
file_dialog.show() |
You are adding a child to the editor plugin node directly. What you should do instead is use |
Alright, so I assume this is intended behavior then? If so, it should probably be documented somewhere in the |
This is unrelated to the I'm pretty sure all of the official tutorials do that part correctly, but we can add a note in the |
Godot version
4.0.stable.mono
System information
Windows 11, Vulkan, NVIDIA GTX 3080
Issue description
EditorFileDialog is missing icons.
Steps to reproduce
Show the EditorFileDialog
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: