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 47219 - [Eazel Fixme] Extra drawing when window is stretched taller
[Eazel Fixme] Extra drawing when window is stretched taller
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: Icon View
0.x.x [obsolete]
Other Linux
: High normal
: 2.0.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-03-01 17:17 UTC by John Sullivan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Only look for changes in width or height allocation larger than the widgets (1.45 KB, patch)
2002-03-27 08:26 UTC, Jörgen Viksell
none Details | Review

Description John Sullivan 2001-09-10 01:06:13 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 -------
Comment 1 John Fleck 2002-01-05 04:22:55 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Jörgen Viksell 2002-03-27 08:26:57 UTC
Created attachment 7406 [details] [review]
Only look for changes in width or height allocation larger than the widgets
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-05-29 06:40:49 UTC
Marking high, i emailed your patch to the nautilus list, sorry it took
so long to look at this.
Comment 4 Alexander Larsson 2002-05-30 19:14:48 UTC
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.