GtkComboBoxText menu with many entries very slow to appear, but ~fast with area_apply_attribute_cb bottleneck disabled
Steps to reproduce
- gcc -O2 comboboxdemo.c
pkg-config --cflags --libs gtk+-3.0
- On click on the menu of the 1st combobo it is very slow to appear (around 30 seconds)
- But the menu of the 2nd combobox, hacked to avoid calling area_apply_attribute_cb), is reasonably fast (around 3 seconds) to appear.
- menu very slow to appear
- A better way to map from the row in the model to the Menuitem ? The repeated get_tree_menu_get_path_item loop over results of gtk_container_get_children is crippling.
- Fedora 30
- Ran into this problem looking into https://bugs.documentfoundation.org/show_bug.cgi?id=125388