! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
screenshooter plugin from trunk is not loaded
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Igor Știrbu 2009-02-20 18:52:45 CET
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
Comment 1 Jérôme Guelfucci editbugs 2009-02-20 21:26:04 CET
Hello,

Could please try to reproduce this with another icon theme ?

Thank you !
Comment 2 Igor Știrbu 2009-02-21 14:22:49 CET
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”.
Comment 3 Jérôme Guelfucci editbugs 2009-02-22 09:18:05 CET
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 !
Comment 4 Igor Știrbu 2009-02-22 10:41:29 CET
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?
Comment 5 Jérôme Guelfucci editbugs 2009-02-22 20:15:28 CET
Hello,

Could you please test if it still crashes with the latest trunk ?

Thank you in advance !
Comment 6 Igor Știrbu 2009-02-23 00:45:34 CET
Hello Jerome,

I've tested with the latest version from
svn and it works as expected. Thanks!

Igor
Comment 7 Jérôme Guelfucci editbugs 2009-02-23 08:17:38 CET
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.

Bug #4971

Reported by:
Igor Știrbu
Reported on: 2009-02-20
Last modified on: 2009-07-14

People

Assignee:
Jérôme Guelfucci
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information