-
Notifications
You must be signed in to change notification settings - Fork 2
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
GtkWindow
doesn't display a new window when Gtk4
is built in a sysimage
#26
Comments
Thanks for the detailed report. It looks like the main loop is not being started automatically. When I call This behavior deserves some discussion and documentation. The reason I did it this way was to better support |
I am not sure what the implications would be. If this is invisible to the user, I think this could be a good approach. If one need to explicitly create the |
Yeah, agreed, I think we could make it invisible to the user. I'll look into it when I have time. |
There is now a mention in the docs of the need to start the main loop: https://juliagtk.github.io/Gtk4.jl/dev/howto/sysimage/ On the issue of having a default GtkApplication for the REPL, I decided it would be too complicated and would probably cause trouble if multiple applications shared it. |
Start in a fresh Julia 1.9-rc2 environment, install Gtk4 and PackageCompiler:
Make package compiler scripts:
Run package compiler:
Start Julia with the newly built sysimage:
Notice unexpectedly no window appears. When I don't load the sysimage, then the window appears.
This happens on:
The text was updated successfully, but these errors were encountered: