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 579152 - GTK warning when creating frame sheet object
GTK warning when creating frame sheet object
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Sheet Objects
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-04-16 13:42 UTC by Jon Kåre Hellan
Modified: 2009-04-20 02:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Kåre Hellan 2009-04-16 13:42:41 UTC
New gnumeric. Create frame sheet object using toolbar. 

Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

is printed to the console.
Comment 1 Andreas J. Guelzow 2009-04-16 15:38:15 UTC
This seems to come from within gtk. When you click you are first allocating a sheet object of a tiny size 0 by 0 or 1 by 1. Inside the gtk fram code they are allocating a label widget, that ends up shorter than the frame...

I thin kwe really shouldn't use widgets here. We need to make frames printable anyways!
Comment 2 Morten Welinder 2009-04-18 16:25:07 UTC
For buttons and the like, we have to use widgets.  For frames, we could probably
get away without.  Printability we will have to handle somehow.

I imagine that what happens here is that the widget gets allocated a size that
is smaller than in it willing to accept.
Comment 3 Andreas J. Guelzow 2009-04-20 02:09:44 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.