Skip to content

Bug Report: Attempting to open a file dialog (e.g. with "Save As" in the character/chart editor) on Linux causes the game to freeze #589

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

Open
StrawberrySage opened this issue Mar 24, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@StrawberrySage
Copy link
Contributor

Which target are you using?

[ ] Windows
[x] Linux
[ ] Mac

Explain your issue

Please check first if your issue haven't already been reported yet.

Actions that involve opening a file dialog on Linux, such as the "Save As" button in the character and chart editors, do not open a file dialog and instead cause the game to freeze.

To reproduce the bug, simply go into the character or chart editor, select a character/chart, then click File->Save As after the editor opens and it should freeze.

This does not appear to be exclusive to any particular desktop environment. I have tested it on GNOME 47 (Wayland), KDE Plasma 6 (Wayland) and XFCE 4 (X.org) and I have the same issue on all three.

Image

@StrawberrySage StrawberrySage added the bug Something isn't working label Mar 24, 2025
@NeeEoo
Copy link
Member

NeeEoo commented Mar 24, 2025

Could you try making a test project using tinyfiledialogs since thats what lime uses.
Make sure to use the same version as lime tho
You can see it in
projects/lib

@NeeEoo
Copy link
Member

NeeEoo commented Mar 24, 2025

Infact lime uses outdated tinyfiledialogs

@StrawberrySage
Copy link
Contributor Author

Yeah I could try that

@StrawberrySage
Copy link
Contributor Author

I tried making a test project in C++ using the libtinyfiledialogs version included in Lime 8.1.2, as well as FileDialog.cpp and FileDialog.h from the same Lime version and the dialog seems to open

@NeeEoo
Copy link
Member

NeeEoo commented Mar 24, 2025

Hmmm
Could you try using the lime method now

Like

var fileDialog = new FileDialog();
fileDialog.onOpen.add(function(res) {
	trace(res);
});
fileDialog.open(fileType);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants