GNOME Bugzilla – Bug 658981
Inability to effectively clear string indicator in stf import.
Last modified: 2011-09-28 22:06:44 UTC
Opening the configurable text importer yields: (gnumeric:27892): Gtk-CRITICAL **: gtk_bin_get_child: assertion `GTK_IS_BIN (bin)' failed (gnumeric:27892): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnumeric:27892): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnumeric:27892): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.28.6/./gobject/gsignal.c:2275: signal `expose_event' is invalid for instance `0x8a6dad8'
Back trace for the first warning:
+ Trace 228440
We have pagedata->csv.csv_textindicator = go_gtk_builder_get_widget (gui, "csv_textindicator"); pagedata->csv.csv_textfield = GTK_ENTRY (gtk_bin_get_child (GTK_BIN (pagedata->csv.csv_textindicator))); but I don't find a "csv_textindicator" in any ui file.
Hmm, in dialog-stf.ui we have a GtkListStore csv-textindicator-list which doesn't seem to be used. It seems that there the csv_textindicator widget (probably a combobox of some sort) was deleted.
Apparently we had there a GtkComboBoxEntry. This should now be a "GtkComboBox with Entry".
Partial fix committed. We are left with: 1) gnumeric:27892): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.28.6/./gobject/gsignal.c:2275: signal `expose_event' is invalid for instance `0x8a6dad8' 2) The initial string indicator is not shown 3) No custom indicator is set since the entry is disabled
Note that #1 is due to the fact that the expose-event signam for GtkWidgets has disappeared in Gtk3.
#2 is fixed Note that #1 implies that on the separator tab, the vertical line to indicate where a separator would be placed is also missing.
#1 is from hooking up cb_treeview_expose in dialog-stf-fixed-page.c This is where we draw a red vertical line to indicate where a double-click will split. I imagine we need to hook this up to the draw signal or some such nowadays.
+ Trace 228447
We are left with #3: Inability to set custom string indicators in stf import. retitling.
I note there is still a small problem remaining from #1: If I double click to create a separation I end up with an extra line in the header that remains for some time. I get the same extra line on some focus changes between Gnumeric and other applications. I will be attaching a screen shot to show that extra line.
Created attachment 196528 [details] screen shot for #1
I see the problem of comment 12 too. We don't get movement and/or draw events when the cursor moves within the header.
The problem of comment 12 was fixed by Morten, so only the "Inability to set custom string indicators in stf import" remains in this bug.
You can now set the custom string indicator in stf import. Unfortunately if you delete the string indicator in the dialog then still the last set indicator is used. (This is the same behaviour as in gtk2 days.)
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.