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 602416 - [regression] Changing shell views emits many runtime warnings
[regression] Changing shell views emits many runtime warnings
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[kill-bonobo] evolution[etable]
Depends on:
Blocks:
 
 
Reported: 2009-11-19 15:31 UTC by Milan Crha
Modified: 2013-09-13 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2009-11-19 15:31:40 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
Comment 1 Matthew Barnes 2009-11-19 16:30:29 UTC
Have fun debugging ETable.  :)
Comment 2 Milan Crha 2009-11-19 16:58:46 UTC
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).
Comment 3 Matthew Barnes 2009-11-19 20:19:17 UTC
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.
Comment 4 Matthew Barnes 2010-02-07 01:49:24 UTC
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