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 333429 - gtk_tree_view_remove_column is slow
gtk_tree_view_remove_column is slow
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2006-03-05 02:48 UTC by Morten Welinder
Modified: 2006-03-06 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2006-03-05 02:48:44 UTC
Removing 1200 columns from a treeview with 1350 columns is very, very slow.
Think minutes, not seconds or centiseconds.  Building the thing was pretty
fast.

(This arose as a side effect of another bug, see bug 333407.  It is, however,
not that hard to trigger this in real life work.)
Comment 1 Jonathan Blandford 2006-03-05 03:27:59 UTC
Not too surprising -- Columns are implemented using a GList in the TreeView.  It's primarily a unidirectional widget.  I'm not really planning on fixing this.  However, you might be able to make it go faster by removing the columns from the front.
Comment 2 Morten Welinder 2006-03-06 14:27:18 UTC
I am having trouble believing that the glist is the main cause.  Then building
the thing should be very slow too.