GNOME Bugzilla – Bug 602416
[regression] Changing shell views emits many runtime warnings
Last modified: 2013-09-13 01:07:43 UTC
There seems to be some design flaw or something, as moving from mail to calendar shows these warnings on console: (4 times) > GLib-GObject-WARNING **: value "-4.000000" of type `gdouble' is invalid or > out of range for property `width' of type `gdouble' (then) > Gdk-CRITICAL **: gdk_window_set_background: assertion `GDK_IS_WINDOW > (window)' failed (then 6 times) > GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or > out of range for property `width' of type `gdouble' Moving to tasks and memo: > GLib-GObject-WARNING **: value "-4.000000" of type `gdouble' is invalid or > out of range for property `width' of type `gdouble' (then twice) > GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or > out of range for property `width' of type `gdouble' Note it doesn't do that when evolutions tarts in that respective view. Steps: 1) evolution -c mail 2) click any of the above mentioned view
Have fun debugging ETable. :)
Do you thin kill-bonobo uncovered some bug? You know, it wasn't there before, and as I mentioned above, opening evolution in the calendar doesn't suffer of that. (And honestly, it seems it's caused by tasks and memos tables in the calendar).
It's some kind of size requisition/allocation issue in ETable if I remember correctly. It's trying to set a "width" property (I forget on what, exactly) but doesn't have a valid value for it yet.
Finally tracked this down. There were multiple bugs contributing to the warnings, but the common theme was trying to use size information too early -- before widget size negotiation took place. I imagine there's more bugs like this lurking in ECanvas or ETable related code, but I fixed enough of them that warnings are no longer triggered by simply switching shell views. http://git.gnome.org/browse/evolution/commit/?id=0cc56c014f68be35e3ac12ccc500ee3528cceea0