-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
The example crashes on linux with flutter 3.22 #460
Labels
Comments
An ugly workaround it to show the window before registering the plugins and then hide it afterwards: gtk_widget_show(GTK_WIDGET(window));
fl_register_plugins(FL_PLUGIN_REGISTRY(view));
gtk_widget_hide(GTK_WIDGET(window)); |
I have the same problem, the workaround works on my side but you see that this page will be reopened on kde plasma |
Likely caused by flutter/engine#50754. |
2 tasks
This was referenced Jun 12, 2024
prateekmedia
added a commit
to ente-io/ente
that referenced
this issue
Jun 12, 2024
## Description Black screen issue was caused by leanflutter/window_manager#460, till then I have used a workaround from leanflutter/window_manager#460 (comment). Also update plugins. ## Tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the latest version of flutter (3.22) the example crashes on linux. It seems that calling
gtk_window_realize
instead ofgtk_window_show
causes the subsequent plugin registration to fail, for some reason. This means that the documentation about making the app hidden at launch is also not correct anymore.The text was updated successfully, but these errors were encountered: