GNOME Bugzilla – Bug 770269
Recent scrolled window changes are causing the panel to unexpectedly expand
Last modified: 2016-08-31 19:25:34 UTC
Created attachment 333979 [details]
This bug can be reproduced after commit 13b745aa3df77c347a98ae8b2ef137ed8bc20483, which bumped the Gtk+ version to a version after the changes in GtkScrolledWindow discussed at Bug 766569.
The following patch can be reverted after there's an API change on Gtk+ size.
Created attachment 333982 [details] [review]
search: Prevent the scrolled window from expanding the panel
Since the GtkScrolledWindow changes introduced in bgo#766569, the
Search panel is unexpectedly expading vertically. Since there's
still no concensus in whether there will be new API to cover the
cases where we don't want GtkScrolledWindow to report its child
natural width/height, this patch arbitrarialy sets the widget's
"max-content-height" property to an arbitrary number.
Review of attachment 333982 [details] [review]:
It's not clear to me that this is the right way to go. It feels that what the UI definition is doing here is perfectly legitimate and should not break...
So I'd rather get some closure on the GTK bug before we go one way or the other here.