After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 66902 - Treeview resizes columns while adding rows
Treeview resizes columns while adding rows
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
1.3.x
Other other
: Normal normal
: Medium feature
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks: 72425
 
 
Reported: 2001-12-13 19:30 UTC by Kevin Vandersloot
Modified: 2015-02-18 00:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk_tree_view_column_set_resized_width (2.29 KB, patch)
2007-10-31 00:58 UTC, Thomas Rydzynski
none Details | Review

Description Kevin Vandersloot 2001-12-13 19:30:44 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.
Comment 1 Jonathan Blandford 2002-01-14 21:08:56 UTC
This would require changing the way that the columns work.  Won't
happen for 2.0 -- will rethink it for 2.2.
Comment 2 Kristian Rietveld 2002-05-02 19:40:58 UTC
Reassigning bugs to new component owner. Sorry for the flood.
Comment 3 Matthias Clasen 2004-03-04 12:15:41 UTC
Since the rethinking apparently hasn't happened yet...
Comment 4 Thomas Rydzynski 2007-10-31 00:57:55 UTC
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.
Comment 5 Thomas Rydzynski 2007-10-31 00:58:49 UTC
Created attachment 98217 [details] [review]
gtk_tree_view_column_set_resized_width
Comment 6 Kjartan Maraas 2008-06-03 15:41:08 UTC
Jonathan? Any thoughts on this?
Comment 7 Kristian Rietveld 2008-06-03 15:44:10 UTC
IMHO not going to happen in 2.x, will probably rethink the column stuff somewhere in 3.x.