GNOME Bugzilla – Bug 47219
[Eazel Fixme] Extra drawing when window is stretched taller
Last modified: 2004-12-22 21:47:04 UTC
There's a FIXME about this in nautilus-icon-container.c. Stretching a window in icon view shouldn't have to do any re-laying out of the icons, since the layout depends only on the width. However, the code (size_allocate override) currently does a relayout whenever the height (or x or y) changes. This isn't really specifically noticeable when stretching a window vertical, but with these extra layouts turned off the stretching happens much more smoothly. However, with these "extra" layouts off, if you stretch the window more than tall enough to hold all the icons, the whole bunch of icons remains centered in the window, instead of sticking to the top. So the fix isn't as straightforward as it seems. ------- Additional Comments From eli@eazel.com 2001-03-26 11:13:38 ---- QA Assigning to self. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:06 -------
Changing to "old" target milestone for all bugs laying around with no milestone set.
Created attachment 7406 [details] [review] Only look for changes in width or height allocation larger than the widgets
Marking high, i emailed your patch to the nautilus list, sorry it took so long to look at this.
I checked in something loosely based on this that also avoids the relayout for height changes when the re-centering doesn't have to happen.