GNOME Bugzilla – Bug 579152
GTK warning when creating frame sheet object
Last modified: 2009-04-20 02:09:44 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.
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!
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.
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.