After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646535 - g-c-c window doesn't scale back after browsing a category than original
g-c-c window doesn't scale back after browsing a category than original
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-02 15:05 UTC by Ionut Biru
Modified: 2011-04-13 11:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.01 KB, patch)
2011-04-02 21:48 UTC, Matthias Clasen
none Details | Review

Description Ionut Biru 2011-04-02 15:05:27 UTC
gtk 3.0.7

open g-c-c, browser Network or any other category then click on All settings to come back. 

The window is not scaled back.
Comment 1 Matthias Clasen 2011-04-02 17:18:08 UTC
Tried to bisect this, but it is happening all the way back to 3.0.6 with git g-c-c
Comment 2 Matthias Clasen 2011-04-02 21:48:37 UTC
Created attachment 184993 [details] [review]
patch
Comment 3 Benjamin Otte (Company) 2011-04-02 23:04:36 UTC
Fwiw, it broke between gtk 3.0.6 and 3.0.7. I just bisected it down to GTK commit edb44589dc141565aeb33891f0e54f6dfec0ebe2.
Comment 4 Benjamin Otte (Company) 2011-04-02 23:37:23 UTC
(In reply to comment #2)
> +  gtk_widget_queue_resize (priv->scrolled_window);

While this may work, and be a proper workaround for the short term, I don't see why this should be necessary? The scrolled window does not change at all in that code path.

(Besides, gtk_widget_queue_resize() should only ever be called by widget implementations on themselves and not by random applications on random widgets.)
Comment 5 Bastien Nocera 2011-04-13 11:02:41 UTC
This works fine with GTK+ 3.0.8 and gnome-control-center 3.0.0.1.