-
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
Fail to create GtkApplicationWindow in windows #33
Comments
I can reproduce this. Following this example, I think you need to add both if isinteractive()
Gtk4.GLib.stop_main_loop() # g_application_run will run the loop
end and if isinteractive()
loop()=Gtk4.run(app)
t = schedule(Task(loop))
else
Gtk4.run(app)
end to make this work. This feels more complicated than needed to me, but I'm sure there are good technical reasons that necessitate this dance. |
Maybe the call to |
The latest version includes a check in |
I can unfortunately reproduce the same |
Does the "foo" Window show up for you? The original issue was about Julia freezing when I also see those warnings on Windows, but I think they're harmless. As far as I understand it, GTK is looking for a DBus to register the application with, and that doesn't exist on Windows. But I'll look into whether there's a way to silence the warnings. |
Yes, the “foo” window properly appears. It’s just a little bit disturbing to see a “critical” message. But it’s good to now they are harmless from your experience. |
Critical warnings are typically a bad sign, and it's possible there are side effects from having no DBus on Windows. Judging from this discussion, there is no way to stop GTK from looking for DBus: https://gitlab.gnome.org/GNOME/gtk/-/issues/4842 So it looks like fixing this would require building DBus for Windows in Yggdrasil. |
then it stuck there
environment:
The text was updated successfully, but these errors were encountered: