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

Dialog titles show garbled characters if filters are set #31

Closed
madrxx opened this issue Mar 13, 2024 · 2 comments · Fixed by #32
Closed

Dialog titles show garbled characters if filters are set #31

madrxx opened this issue Mar 13, 2024 · 2 comments · Fixed by #32

Comments

@madrxx
Copy link

madrxx commented Mar 13, 2024

Hi, I have two NativeFileDialogs as children of the root Control node in my project. Whether I have Mode Overrides Title selected or not, the dialog boxes sometimes show the file types in their title instead, or sometimes show garbled characters. This only occurs if I set filters on the dialog, either by using the Godot Inspector pane, or by using the .add_filter() method.

To reproduce: create a NativeFileDialog, put filters on it, call it with show(), close it with the mouse and then call .show() again. If it does not occur yet, close it again and open it again with show(). It occurs within 2-4 attempts consistently for me.

image
image
image
image
image

@98teg
Copy link
Owner

98teg commented Mar 13, 2024

Please, check if this version of the plugin fixes the issue. I'm not sure about how the code change that I made fixes the issue, but it seems to be working for me.

native_dialogs.zip

@madrxx
Copy link
Author

madrxx commented Mar 14, 2024

Working for me also, thanks.

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

Successfully merging a pull request may close this issue.

2 participants