Segfault only occurs after using gtk4_layer_shell::init_for_window to setup a
window. Using gtk::Window.set_visible then has a small chance to cause a
segfault. I've included a minimal repro to create a window, initialize it with
layer shell, and then toggle its visibility rapidly in order to make the
segfault occur faster.
Bug description
Segfault only occurs after using
gtk4_layer_shell::init_for_window
to setup a window. Usinggtk::Window.set_visible
then has a small chance to cause a segfault. I've included a minimal repro to create a window, initialize it with layer shell, and then toggle its visibility rapidly in order to make the segfault occur faster.Further details
For further details including repro code and logs, please see here:
https://github.com/gtk-rs/gtk4-rs/issues/1402