GNOME Bugzilla – Bug 597586
[AppWell] Workaround being allocated 0x0
Last modified: 2009-10-06 19:46:07 UTC
Because of a chain of bugs we could end up getting allocated 0x0, and this would cause the WellGrid allocation code to be unhappy. See http://bugzilla.openedhand.com/show_bug.cgi?id=1831 Simply treat 0 as "unlimited" i.e. equivalent to -1.
Created attachment 144903 [details] [review] [AppWell] Workaround being allocated 0x0
Review of attachment 144903 [details] [review]: Patch looks good to me, the "chain of bugs ..." see "...=1831" formulation you use in the body and comment doesn't actually work out because I don't describe the Big.Box part of the chain in the bug report. More explicit alternate text: Big.Box will allocate us at 0x0 if we are not visible; this is probably a Big.Box bug but it can't be fixed because if children are skipped in allocate() Clutter gets confused (see http://bugzilla.openedhand.com/show_bug.cgi?id=1831)