Chrmium on wayland + gtk4 save popup = crash in xdg_foreign_v1
wlroots: d3cb6b73 sway: 6e023257e
Chromium 104 wayland. The gtk4 save popup causes the following crash sometimes. Not reliably reproducible. Press Ctrl+S and sometimes happen.
(gdb) bt full
#0 0x00007f8c55fb28bc in destroy_imported (imported=0x55f3ebd21e30) at ../wlroots/types/wlr_xdg_foreign_v1.c:159
xdg_child = 0x0
child = <optimized out>
child_tmp = 0x55f3ebd21e58
#1 0x00007f8c560108ba in () at /usr/lib/libwayland-server.so.0
#2 0x00007f8c56017210 in () at /usr/lib/libwayland-server.so.0
#3 0x00007f8c56017823 in () at /usr/lib/libwayland-server.so.0
#4 0x00007f8c5601134e in wl_client_destroy () at /usr/lib/libwayland-server.so.0
#5 0x00007f8c56011467 in () at /usr/lib/libwayland-server.so.0
#6 0x00007f8c560144c2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#7 0x00007f8c56011e17 in wl_display_run () at /usr/lib/libwayland-server.so.0
#8 0x000055f3e9256b86 in server_run (server=<optimized out>) at ../sway/sway/server.c:309
#9 0x000055f3e924a681 in main (argc=2, argv=0x7ffed58f1318) at ../sway/sway/main.c:415
verbose = false
debug = false
validate = false
allow_unsupported_gpu = false
config_path = 0x0
c = <optimized out>```