Hello, This is the output from a XFCE session built from trunk. I was trying to add a screenshooter plugin to a panel and it failed. The icon for the plugin did not appear and the following text was displayed: (xfce4-screenshooter-plugin:12979): Gtk-WARNING **: Theme directory scalable/stock of theme Rodent has no size field (xfce4-screenshooter-plugin:12979): Gtk-WARNING **: Theme directory 48x48/stock of theme Rodent has no size field (xfce4-screenshooter-plugin:12979): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed (xfce4-screenshooter-plugin:12979): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.19.7/gobject/gtype.c:3940: type id `0' is invalid (xfce4-screenshooter-plugin:12979): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced libxfce4panel-Message: Screenshot: screen changed: 0 libxfce4panel-Message: No valid plug window. (xfce4-panel:12941): Gtk-CRITICAL **: gtk_socket_get_id: assertion `GTK_WIDGET_ANCHORED (socket)' failed (xfce4-panel:12941): libxfce4panel-CRITICAL **: An item was unexpectedly removed: "Screenshot". Thanks, Igor
Hello, Could please try to reproduce this with another icon theme ? Thank you !
Hello Jerome, I've installed the iComet theme from xfce-look and this issue is reproducing. It is also reproducing with kde-icons-oxygen (Oxygen) and GNOME themes. I've tested this with the lastest sources from trunk. Here is the message: (xfce4-screenshooter-plugin:12511): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed (xfce4-screenshooter-plugin:12511): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.19.7/gobject/gtype.c:3940: type id `0' is invalid (xfce4-screenshooter-plugin:12511): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced libxfce4panel-Message: Screenshot: screen changed: 0 libxfce4panel-Message: No valid plug window. (xfce4-panel:12153): Gtk-CRITICAL **: gtk_socket_get_id: assertion `GTK_WIDGET_ANCHORED (socket)' failed (xfce4-panel:12153): libxfce4panel-CRITICAL **: Un element a dispărut în mod neaşteptat: „Screenshot”.
Ok thank you. I don't really understand why this is crashing so I added some debugging information which will be usefull to debug this. Could you update your sources to the latest SVN, compile them with --enable-debug=full and attach here the new log file ? Thank you in advance !
Hello, I've traced down the problem with DBG()s and it got down to the do/while loop in set_default_item() from screenshooters_dialogs.c. I am not familiar with GTK API and I don't really know what I should be looking at in that code. Is the combobox known to sd before calling set_default_item?
Hello, Could you please test if it still crashes with the latest trunk ? Thank you in advance !
Hello Jerome, I've tested with the latest version from svn and it works as expected. Thanks! Igor
Thank you again for your very efficient testing ! I'm closing this then. It'll be available in the next bug fix release to be released soon.