Crash when showing the right-click menu of a colorbutton a second time
- Go to widget-factory page 1
- Right-click on the color button
- Left-click somewhere
- Right-click on the color button again
backtrace:
Thread 1 "gtk4-widget-fac" received signal SIGSEGV, Segmentation fault.
g_type_check_instance_cast (type_instance=0x555555fc5ee0, iface_type=93824992536144)
at ../../../../Source/gnome/glib/gobject/gtype.c:4057
4057 node = lookup_type_node_I (type_instance->g_class->g_type);
(gdb) bt
#0 g_type_check_instance_cast (type_instance=0x555555fc5ee0, iface_type=93824992536144)
at ../../../../Source/gnome/glib/gobject/gtype.c:4057
#1 0x00007ffff797098a in gtk_popover_move_resize (popover=0x555555fc5ee0)
at ../gtk/gtkpopover.c:328
#2 0x00007ffff7973646 in size_changed (widget=0x55555598f1a0, width=112, height=24, baseline=-1,
popover=0x555555fc5ee0) at ../gtk/gtkpopover.c:1420
#3 0x00007ffff77de9ed in _gtk_marshal_VOID__INT_INT_INT (closure=0x5555567cbab0,
return_value=0x0, n_param_values=4, param_values=0x7fffffffb650,
invocation_hint=0x7fffffffb600, marshal_data=0x0) at gtk/gtkmarshalers.c:5378
#4 0x00007ffff75994d0 in g_closure_invoke (closure=0x5555567cbab0, return_value=0x0,
n_param_values=4, param_values=0x7fffffffb650, invocation_hint=0x7fffffffb600)
at ../../../../Source/gnome/glib/gobject/gclosure.c:810
#5 0x00007ffff75b817b in signal_emit_unlocked_R (node=0x555555713d90, detail=0,
instance=0x55555598f1a0, emission_return=0x0, instance_and_params=0x7fffffffb650)
at ../../../../Source/gnome/glib/gobject/gsignal.c:3635
#6 0x00007ffff75b73e7 in g_signal_emit_valist (instance=0x55555598f1a0, signal_id=93, detail=0,
var_args=0x7fffffffb900) at ../../../../Source/gnome/glib/gobject/gsignal.c:3391
#7 0x00007ffff75b7980 in g_signal_emit (instance=0x55555598f1a0, signal_id=93, detail=0)
at ../../../../Source/gnome/glib/gobject/gsignal.c:3447
#8 0x00007ffff7aa9f1a in gtk_widget_allocate (widget=0x55555598f1a0, width=112, height=24,
baseline=-1, transform=0x0) at ../gtk/gtkwidget.c:4477
#9 0x00007ffff7aa9411 in gtk_widget_size_allocate (widget=0x55555598f1a0,
allocation=0x7fffffffbb70, baseline=-1) at ../gtk/gtkwidget.c:4270
#10 0x00007ffff780ea11 in gtk_bin_size_allocate (widget=0x5555559bbba0, width=112, height=24,
baseline=-1) at ../gtk/gtkbin.c:76
#11 0x00007ffff7aa9f5a in gtk_widget_allocate (widget=0x5555559bbba0, width=122, height=34,
baseline=-1, transform=0x555556895360) at ../gtk/gtkwidget.c:4482
#12 0x00007ffff7aa9411 in gtk_widget_size_allocate (widget=0x5555559bbba0,
allocation=0x7fffffffbd30, baseline=-1) at ../gtk/gtkwidget.c:4270
#13 0x00007ffff784f444 in gtk_color_button_size_allocate (widget=0x555555978d80, width=122,
height=34, baseline=-1) at ../gtk/gtkcolorbutton.c:176
#14 0x00007ffff7aa9f5a in gtk_widget_allocate (widget=0x555555978d80, width=122, height=34,
baseline=-1, transform=0x555556895300) at ../gtk/gtkwidget.c:4482
#15 0x00007ffff7aa9411 in gtk_widget_size_allocate (widget=0x555555978d80,
allocation=0x7fffffffc020, baseline=-1) at ../gtk/gtkwidget.c:4270
#16 0x00007ffff7813257 in gtk_box_layout_allocate (layout_manager=0x555555999390,
widget=0x555555970e00, width=122, height=558, baseline=-1) at ../gtk/gtkboxlayout.c:688
#17 0x00007ffff7910894 in gtk_layout_manager_allocate (manager=0x555555999390,
widget=0x555555970e00, width=122, height=558, baseline=-1) at ../gtk/gtklayoutmanager.c:340
#18 0x00007ffff7aa9eab in gtk_widget_allocate (widget=0x555555970e00, width=122, height=558,
baseline=-1, transform=0x5555568991f0) at ../gtk/gtkwidget.c:4469
#19 0x00007ffff7aa9411 in gtk_widget_size_allocate (widget=0x555555970e00,
allocation=0x7fffffffc330, baseline=-1) at ../gtk/gtkwidget.c:4270
#20 0x00007ffff7813257 in gtk_box_layout_allocate (layout_manager=0x5555558e2b10,
widget=0x5555558e0de0, width=1472, height=558, baseline=-1) at ../gtk/gtkboxlayout.c:688
#21 0x00007ffff7910894 in gtk_layout_manager_allocate (manager=0x5555558e2b10,
widget=0x5555558e0de0, width=1472, height=558, baseline=-1) at ../gtk/gtklayoutmanager.c:340
#22 0x00007ffff7aa9eab in gtk_widget_allocate (widget=0x5555558e0de0, width=1472, height=558,
baseline=-1, transform=0x0) at ../gtk/gtkwidget.c:4469
#23 0x00007ffff7aa9411 in gtk_widget_size_allocate (widget=0x5555558e0de0,
allocation=0x7fffffffc5e0, baseline=-1) at ../gtk/gtkwidget.c:4270
#24 0x00007ffff7813257 in gtk_box_layout_allocate (layout_manager=0x5555558e2a50,