GNOME Bugzilla – Bug 676641
CRITICALs on adding trend line
Last modified: 2012-05-24 14:22:34 UTC
1. New Gnumeric. 2. A1:A3 = 1, 3, 4 3. Select A1:A3, click graph icon 4. Select line type 5. Forward 6. Select series 1 7. Add polynomial trend line to Series 1. --> (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:16704): Gtk-CRITICAL **: gtk_widget_get_parent: assertion `GTK_IS_WIDGET (widget)' failed (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:16704): Gtk-CRITICAL **: gtk_grid_attach_next_to: assertion `gtk_widget_get_parent (sibling) == (GtkWidget*)grid' failed (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:16704): Gtk-CRITICAL **: gtk_widget_get_parent: assertion `GTK_IS_WIDGET (widget)' failed (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:16704): Gtk-CRITICAL **: gtk_grid_attach_next_to: assertion `gtk_widget_get_parent (sibling) == (GtkWidget*)grid' failed (/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:16704): Gtk-CRITICAL **: gtk_grid_attach_next_to: assertion `gtk_widget_get_parent (sibling) == (GtkWidget*)grid' failed
I'm unable to reproduce.
First critical:
+ Trace 230260
Using gtk_grid_attach_next_to with sibling==NULL is new as-of 3.1.18.
See bug 657793.
Ah, this explains things.
Can we request gtk+-3.2? There is no simple solution otherwise.
That would leave me behind. If I understand things right, this call just adds a row. We can find the position use with a gtk_grid_attach call by looking at all children's "top-attach" child property for the largest value. Then add one. Inconvenient, but not the end of the world.
This problem has been (hopefuly) fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.