GNOME Bugzilla – Bug 769633
The printers list scrolled window is causing the panel to unexpectedly expand
Last modified: 2016-08-31 19:26:47 UTC
Created attachment 332944 [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 or after the redesign of the Printers panel proposed at Bug 767600 gets merged.
Created attachment 332945 [details] [review]
printers: Prevent the printers list from expanding the panel
Since the GtkScrolledWindow changes introduced in bgo#766569, the
Printers 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.
I've just tested the patch and the window is still too big on my machine.