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 662915 - GtkFrame: A hidden label widget confuses the size allocation (regression in GTK+ 3)
GtkFrame: A hidden label widget confuses the size allocation (regression in G...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-10-28 08:03 UTC by Murray Cumming
Modified: 2016-03-07 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test_frame_label.c (1.41 KB, text/x-csrc)
2011-10-28 08:03 UTC, Murray Cumming
Details
screenshot_test_frame_label.png (5.49 KB, image/png)
2011-10-28 08:05 UTC, Murray Cumming
Details

Description Murray Cumming 2011-10-28 08:03:41 UTC
Created attachment 200158 [details]
test_frame_label.c

This test case shows that the GtkFrame's whole size allocation is incorrect, causing truncation of widgets, if the label widget is not visible. I noticed this in Glom, though I've worked around it by removing the label instead of just hide()ing it.

This is not a problem in GTK+ 2.
Comment 1 Murray Cumming 2011-10-28 08:05:10 UTC
Created attachment 200159 [details]
screenshot_test_frame_label.png

A screenshot of the window created by this test case.
Comment 2 Timm Bäder 2016-03-05 10:20:12 UTC
This works both in 3.18 and master here.
Comment 3 Matthias Clasen 2016-03-07 12:55:08 UTC
assuming it is fixed then