gtk 3.24.20: GtkTreeView: Wrong sizing when columns are sortable and extended
Gtk Version: 3.24.20 Reproducibility: 90% (on occasional builds there were no problems)
Description:
For a GtkTreeView:
When columns are sortable and (only) a not-last column is extend
ed, the extension of the column is too great and hides part of the last column (details: apparently the sizing does not factor in the invisible sorting arrows).
As soon as the Window gets resized, the column sizing gets corrected (correctly).
Example:
Example source code (see from line 88):
Workaround:
Call gtk_tree_view_columns_autosize
on signal realize
of the treeview:
g_signal_connect (treeview, "realize", G_CALLBACK(gtk_tree_view_columns_autosize), NULL);
Misc:
- If the last column is set to
extend
ed as well, there is no problem - If columns are not sortable, there is no problem