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 328744 - when a list box changes contents, scroll bar doesn't work well
when a list box changes contents, scroll bar doesn't work well
Status: RESOLVED DUPLICATE of bug 316689
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-01-26 17:40 UTC by Martin Meyer
Modified: 2006-03-08 13:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Martin Meyer 2006-01-26 17:40:27 UTC
Please describe the problem:
There are many applications I use which have list components with changing
contents.  If the contents of the list changes and the new list has less items
than the previous list and the scroll position was at (or near) the bottom of
the box, the new box will look emply (or have a big white space at the bottom)
even though there are items in the list.  You have to scroll up manually to see
them.

Additionally, if you are deleting single items from the list (as in Gaim 1.5
when deleting old away messages), the scroll bar will get smaller even though
the list is getting shorter and eventually you can be looking at a white list of
nothing with all the remaining away messages hidden above view.

The problem seems to be in how the list handles deletions.  If you are at the
bottom of a list and the length decreases the scroll position should be updated
to reflect the change. i.e. the bottom of the list should be redefined to the
new last item.  If the list changes entirely I would expect the scroll to go to
the top of the list.

This behavior is present in a number of applications and has succeeded in
confusing a user I was trying to switch to Gnome last week.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Kristian Rietveld 2006-03-08 13:36:20 UTC

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