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 763900 - stack: fix warnings during GtkStack size_allocate
stack: fix warnings during GtkStack size_allocate
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.19.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-03-19 02:32 UTC by Christian Hergert
Modified: 2016-03-21 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
query size request of last_visible_child (1.39 KB, patch)
2016-03-19 02:32 UTC, Christian Hergert
committed Details | Review

Description Christian Hergert 2016-03-19 02:32:30 UTC
Created attachment 324310 [details] [review]
query size request of last_visible_child

During transitions, we could end up warning on the console like:

Gtk[17191]:  WARNING: Allocating size to IdeEditorPerspective 0x14047a0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

We were not querying the size of the transition child in the process. The attached patch fixes that by performing an innocuous size request.
Comment 1 Matthias Clasen 2016-03-20 21:45:43 UTC
Review of attachment 324310 [details] [review]:

looks fine for after .0