From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 00:57:48
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified Summary: Displaying stock icon causes scrolled windows to expand Product: gnome-perl Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: gr...@fu... QAContact: gtk...@li... 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 cut off. 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. Thanks! -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 00:59:13
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #1 from Grahame Bowland 2007-03-20 00:59 UTC ------- Created an attachment (id=84927) --> (http://bugzilla.gnome.org/attachment.cgi?id=84927&action=view) Perl script and glade file showing problem. Just run ./test.pl with test.glade in the same directory. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 02:04:42
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified muppet changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sc...@as... ------- Comment #2 from muppet 2007-03-20 02:04 UTC ------- It is highly unlikely that the bindings would cause this sort of behavior. I made a quick port of your perl script to C, using libglade and gtk+ directly. The port omits several lines of your original, which were unused (you didn't use strict!), so please double-check the code for sanity. My system is rather old, and doesn't exhibit any of the behavior you describe. Please try this C port, and if it still exhibits the bug behavior, reassign to to gtk+. (attachment in next comment) -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 02:07:20
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #3 from muppet 2007-03-20 02:07 UTC ------- Created an attachment (id=84930) --> (http://bugzilla.gnome.org/attachment.cgi?id=84930&action=view) Quick C port of original perl script compile with gcc -o test test.c `pkg-config libglade-2.0 --cflags --libs` -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 03:41:47
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #4 from Grahame Bowland 2007-03-20 03:41 UTC ------- Thanks for writing the C test case! I see the same behaviour in the C version, so I'll reassign this under Gtk+. I'll upload a couple of screenshots of the problem behaviour as well; I get this behaviour both with the stock gtk2-2.10.8-1.fc6 and with Gtk 2.10.9 compiled from source. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 03:43:01
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #5 from Grahame Bowland 2007-03-20 03:42 UTC ------- Created an attachment (id=84932) --> (http://bugzilla.gnome.org/attachment.cgi?id=84932&action=view) What the window looks like before a stock icon is shown. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 03:43:53
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #6 from Grahame Bowland 2007-03-20 03:43 UTC ------- Created an attachment (id=84933) --> (http://bugzilla.gnome.org/attachment.cgi?id=84933&action=view) The window after I've opened the file menu; all the scrolled windows have expanded. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 03:44:41
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x Grahame Bowland changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Gtk2 |gtk Product|gnome-perl |gtk+ Version|unspecified |2.10.x -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-20 16:53:43
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x Matthias Clasen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc...@re... ------- Comment #7 from Matthias Clasen 2007-03-20 16:53 UTC ------- Doesn't happen here with 2.10.11. Can you still reproduce with the latest 2.10.x releases ? -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 02:43:59
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x ------- Comment #8 from Grahame Bowland 2007-03-21 02:43 UTC ------- Aha, it occurs in 2.10.9 but not in gtk 2.10.10; I've built everything from libpng upwards to negate any Fedora patches being the problem. Anyway, it's fixed in 2.10.10 - not sure what the fix was, I'll see if I can find it, backport it and put it in the Fedora bugzilla. Thanks! -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 03:06:43
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x ------- Comment #9 from Matthias Clasen 2007-03-21 03:06 UTC ------- That would be greatly appreciated. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 03:12:45
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x ------- Comment #10 from Grahame Bowland 2007-03-21 03:12 UTC ------- The patch for #414875 seems to fix the problem. If you happen to have the File menu of the test program open when a style reset happens, might the problem still occur? I'm not quite sure how to trigger a style reset in that circumstance to check. (I'd have to have gnome-theme-manager focussed, in which case the menu wouldn't be visible.) -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 03:25:20
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x ------- Comment #11 from Matthias Clasen 2007-03-21 03:25 UTC ------- One way to change the theme without focusing the theme manager is to use something like sleep 10; gconftool-2 --set /desktop/gnome/interface/theme ... (I always forget the exact syntax of gconftool-2, but you get the idea) -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 03:53:44
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x ------- Comment #12 from Grahame Bowland 2007-03-21 03:53 UTC ------- Ah, thanks. I can now reproduce the bug with Gtk 2.10.10, it's a bit obscure but still probably worth fixing. 1) run ./test 2) in a terminal: sleep 10;gconftool-2 --type String --set /desktop/gnome/interface/icon_theme Tango (change Tango to any icon theme you have, but which is not the current icon theme) 3) within ten seconds, open the File menu in test and leave it open For me the window expands when the icon theme changes. -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2007-03-21 09:35:18
|
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 http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | gtk | Ver: 2.10.x Chris Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #84930|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email |
From: gtk+ (bugzilla.gnome.org) <bug...@bu...> - 2008-10-02 21:19:29
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | stock-icons | Ver: 2.10.x Johan Dahlin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jo...@gn... Component|gtk |stock-icons -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=420360. |
From: gtk+ (bugzilla.gnome.o. <bug...@gn...> - 2010-07-10 05:19:34
|
https://bugzilla.gnome.org/show_bug.cgi?id=420360 gtk+ | GtkScrolledWindow | 2.10.x Matthias Clasen <mclasen> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|stock-icons |GtkScrolledWindow -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |