GtkTreeView with fixed height and list model doesn't redraw all elements if scrolled horizontally
Steps to reproduce
- compile and run attached snippet GTK_snippet_table_scrollbar_manually_change_model.cpp
- scroll table to the right
- click one of the buttons
- mouse-over table items
- observe that values are changed on mouse-over but not on button click
- scroll table to the left
- click one of the buttons
- observe that values are changed on button click
Current behavior
After scrolling to the right, a tree which has gtk_tree_view_set_fixed_height_mode
will not correctly repaint its elements if its list model is changed.
Expected outcome
Elements are repainted if the tree list model changes.
Version information
Seen with:
GTK 3.14.13 GTK 3.22.10 GTK 3.22.30
Additional information
See attached demo: gtk_snippet_demo See Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=536723
We use GTK_OVERLAY_SCROLLING=0
, though the behaviour is also seen with GTK_OVERLAY_SCROLLING=1
.