Diodon - GTK+ Clipboard Manager

diodon spams ~/.xsession-errors...

Reported by masavini on 2012-12-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Diodon
Undecided
Unassigned

Bug Description

hi,
i just found diodon is heavily spamming my ~/.xsession-errors...

everytime i copy something to the clipboard (or to selection) the following lines are added to .xsession-errors:

(diodon:2662): Gtk-CRITICAL **: IA__gtk_image_get_storage_type: assertion `GTK_IS_IMAGE (image)' failed

(diodon:2662): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(diodon:2662): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

i'm using diodon 0.3.1 on ubuntu 10.10 (maverick)...
any hint?

masavini (msavini) on 2012-12-31
description: updated
Oliver Sauder (sao) wrote :

Thanks for your feedback.

Hmm. I haven't not seen this before. In my xsession_erros there is no message of Diodon... So I will need more details to follow this issue.

What Ubuntu version are you using? And what Diodon version (daily build/stable build).? Could you also run the following command and attach the diodon_debug.txt file to this issue?

G_MESSAGES_DEBUG=all /usr/bin/diodon > diodon_debug.txt 2>&1

Thanks.

masavini (msavini) on 2012-12-31
description: updated
Oliver Sauder (sao) wrote :

Thanks for updating the issue.

Unfortunately, as you do use a Ubuntu version which has been officially dropped since April 2012 and therefore also a quite old Diodon version, I won't really be able to reproduce this issue.

If you want to stick to this old version though what you could try to do is delete the Diodon history (rm ~/.local/share/diodon/storage.xml). That might solve the issue.

I would highly recommend you though to update to a still supported Ubuntu version and also a new Diodon version. Let me know whether the issue appears on a newer version as well.

Thanks.

masavini (msavini) wrote :

ok, i found a way to reproduce it (on my system)...
when i copy something to the clipboard, th following 5 lines are added to xsession-errors for EACH element of the history:
(diodon:4173): Gtk-CRITICAL **: IA__gtk_image_get_storage_type: assertion `GTK_IS_IMAGE (image)' failed

(diodon:4173): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(diodon:4173): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

after first selection, no lines are added to the log.
after second selection, 5 lines are added to the log.
after third selection, 10 lines are added to the log.
and so on...

i have an history with 30 items, so when the history is "full" it adds 150 lines to the log everytime i copy something to the clipboard...

removing the history file, as you suggested, had not any persistent effect.

thanks for your support...

Oliver Sauder (sao) wrote :

Are you using the same Ubuntu system version on your system as well? Do you use any other theme then the default Ubuntu theme? If yes which one?

It seems that the function added as warning to xsession-errors is not used anymore in the newer Diodon version (I cannot find it anyway, can still be called indirectly). So I have somehow the feeling that the error might not occur on a newer system.

masavini (msavini) wrote :

hi,
i'm using buuf theme, but i tried the same diodon version on a "clean" maverick system and the issue still occurs...

since this problem is not affecting diodon functionality, i solved simply launchin diodon &>/dev/null

thank you for your support, once again...

Oliver Sauder (sao) wrote :

OK. Marking as invalid now. If you ever consider updating to a newer Ubuntu version, please check whether the errors still remains and reopen this issue if necessary.

Thanks.

Changed in diodon:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers