[Pidgin] #391: Copy, Pasting, Clipboard issues

Pidgin trac at pidgin.im
Sun Jun 3 02:47:34 EDT 2007


#391: Copy, Pasting, Clipboard issues
------------------------------+---------------------------------------------
  Reporter:  kaddar           |       Owner:  datallah
      Type:  defect           |      Status:  new     
  Priority:  minor            |   Milestone:  2.0.2   
 Component:  winpidgin (gtk)  |     Version:  2.0     
Resolution:                   |    Keywords:          
   Pending:  0                |  
------------------------------+---------------------------------------------
Comment (by o_sukhodolsky):

 it looks like the cause of the problem is in GtkIMHtml widget.  It uses
 gtk_clipboard_set_with_owner() to copy/cut.  This call doesn't place any
 real data into clipboard,
 but only GObject (GtkIMHtml in our case) and associate
 gtk_imhtml_clipboard_get() callback with this
 data.  But gtk_object_finalize() clear the clipboard upon finalizing of
 the widget.

 {{{
 #0  clipboard_owner_destroyed (data=0x86e0080) at gtkclipboard.c:434
 #1  0xb74f3218 in g_datalist_clear () from /usr/lib/libglib-2.0.so.0
 #2  0xb75a9bd0 in ?? () from /usr/lib/libgobject-2.0.so.0
 #3  0x083761e0 in ?? ()
 #4  0xb7d92bac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #5  0xbfaecf98 in ?? ()
 #6  0xb7ba2d7c in gtk_object_finalize (gobject=0x83761d8) at
 gtkobject.c:447
 }}}

 so, someone either need to export copied data in all formats on
 unrealizing of the widget,
 or change something in a way GtkIMHtml works with clipboard.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/391#comment:7>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list