GtkIconView emitting CRITICAL messages since 3.22.27
Steps to reproduce
- Build xfce4-appfinder 4.13.0 or from master
- Run it and make sure icon view is selected (ctrl+1)
- Enter an app name for search, e.g. firefox
Current behavior
Several CRITICAL messages are outputted:
(xfce4-appfinder:505): Gtk-CRITICAL **: 00:28:23.006: gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed
(xfce4-appfinder:505): Gtk-CRITICAL **: 00:28:23.007: gtk_tree_model_sort_real_unref_node: assertion 'elt->ref_count > 0' failed
Expected outcome
No CRITICAL messages emitted.
Version information
Reproducible with gtk >= 3.22.27 on Arch Linux
Additional information
Sorry for not providing a reproducer sample, if you guys are unable to build or run xfce4-settings, please let me know, so I'll work on a sample.
Also, sorting for icon view was kinda broken before 3.22.27, glad it was fixed, but perhaps the fix introduced those assertion failures.
With regards to the code, the icon view is initialized in 1 and filtered in 2 and 3.
Edited by Andre Miranda