Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
gnome-perl | Gtk2 | Ver: unspecified
Summary: Displaying stock icon causes scrolled windows to expand
GNOME version: 2.15/2.16
GNOME milestone: Unspecified
I'll attach the source code, but here's a description. I've got three scrolled
windows with viewports, and a large number of buttons packed into each.
Whenever I display a stock icon (it may be any icon) the main window resizes to
the size of the maximum scrolled window contents (eg. the scrolled windows
effectively stop doing anything.)
I've reduced it down to an example script which shows the problem, I'll attach
it in a moment. To replicate using the attached script, run it and you should
see two scrolled areas with a bunch of widgets packed in them. They should be
limited to the available area in the window, and the rest of their contents cut
off - this makes sense, as they are packed into scrolled windows with the bars
On Fedora Core 6, with Gtk-Perl: perl-Gtk2-1.144-1.fc6 and
perl-Gtk2-GladeXML-1.006-1.fc6 the following results:
* click on the view menu. nothing changes (except view menu appears)
* click on the file menu. main window resizes to display the entire contents
of each scrolled area.
I've tracked this down to the stock icon on the Quit entry; if you change that,
the problem vanishes.
The same script works fine (no strange resize) on a Fedora Core 4 machine with
Gtk 2.6 and the corresponding perl-gtk2.
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email