You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we stumbled over an issue with our UI tests after migrating to Gtk4.jl. In the tests we are creating a complex GUI that features multiple GtkCanvases, which we then compare to expected images. With Gtk4.jl these tests fail with the Canvas not being initialized.
I've managed to reduce it to this MWE:
using Gtk4, Test
@testsetbegin
c =GtkCanvas()
win =GtkWindow(c)
# show(win) # doesn't work with or without showgetgc(c)
end
I think the tests within Gtk4.jl works somewhat similar (at least they create Canvases within a testset), I'm not sure exactly what I'm missing to get this to work
The text was updated successfully, but these errors were encountered:
I won't have time to look into this until the weekend, but you could also look at GtkObservables and ImageView, which use GtkCanvas heavily and have extensive tests. I think you need to call sleep. If I recall correctly, recently I had to add more sleep because CI was behaving differently on Mac OS.
Hello, we stumbled over an issue with our UI tests after migrating to Gtk4.jl. In the tests we are creating a complex GUI that features multiple GtkCanvases, which we then compare to expected images. With Gtk4.jl these tests fail with the Canvas not being initialized.
I've managed to reduce it to this MWE:
I think the tests within Gtk4.jl works somewhat similar (at least they create Canvases within a testset), I'm not sure exactly what I'm missing to get this to work
The text was updated successfully, but these errors were encountered: