GNOME Bugzilla – Bug 66902
Treeview resizes columns while adding rows
Last modified: 2015-02-18 00:33:54 UTC
This interferes with apps wanting to restore column widths on startup. I think it would be desirable in "resizable" mode for the treeview to not attempt to set the column widths except for initialy guessing a reasonable size based on the column header text. Then if the developer wants a best fit later on he/she can call gtk_tree_view_autosize.
This would require changing the way that the columns work. Won't happen for 2.0 -- will rethink it for 2.2.
Reassigning bugs to new component owner. Sorry for the flood.
Since the rethinking apparently hasn't happened yet...
I've wrote a patch that addresses this problem. gtk_tree_view_set_resized_width may not be a good name but does just that - it sets columns width as if user has resized it.
Created attachment 98217 [details] [review] gtk_tree_view_column_set_resized_width
Jonathan? Any thoughts on this?
IMHO not going to happen in 2.x, will probably rethink the column stuff somewhere in 3.x.