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 355314 - When expanding a node the first column width gets unecessarily increased
When expanding a node the first column width gets unecessarily increased
Status: RESOLVED DUPLICATE of bug 598739
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2006-09-10 16:52 UTC by Nelson Benitez
Modified: 2009-11-01 15:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Nelson Benitez 2006-09-10 16:52:25 UTC
Please describe the problem:
When expanding a node, the first column width gets unecessarily increased and so it shifts subsequent columns to the right possibly causing some of them to be unseen.

I made a byzanz recording[1][2] where you can see the bug in the listview of nautilus. In the recording:

1) I open a listview folder where the first two columns can be seen, the treeview adapts first column width to the widest element that in this case is the first item on the treeview.

2) Whenever I open a  subnode of a folder the first column width gets (unecessary) increased causing the second column to be shifted to the right till it's no longer seen.

3) During the recording I scroll up and down several times so you see that the widest element on the first column is always the same (the first item of the column) and so these increase-width-on-opening-subnode are not necessary because 
there's no item in the subnodes that could exceed the current-widest-element and therefore need an increased column width to fit it.
we don't need to make room for any element on the subnode 


[1] http://supertux.cenobioracing.com/archivos/treeview_bug_expand_width.gif (1.7 MB)

[2] http://supertux.cenobioracing.com/archivos/treeview_bug_expand_width2.gif (3.3 MB)



Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Kristian Rietveld 2009-11-01 15:30:14 UTC
Resolving as duplicate, now that we finally have a test case for this.

*** This bug has been marked as a duplicate of bug 598739 ***