#5097 HIGH Never A: copy text from write to another activity does not work

Zarro Boogs per Child bugtracker at laptop.org
Fri Nov 23 04:08:07 EST 2007


#5097: copy text from write to another activity does not work
-----------------------+----------------------------------------------------
 Reporter:  erikos     |       Owner:  marco         
     Type:  defect     |      Status:  new           
 Priority:  high       |   Milestone:  Never Assigned
Component:  sugar      |     Version:                
 Keywords:  Update.1?  |    Verified:  0             
-----------------------+----------------------------------------------------
 Copy text from write to another activity using the ctrl+c and ctrl+v
 commands does not work.

 Steps to reproduce:
  - select text in write and hit ctrl+c
  - the clipboard entry will be created
  - open browse and try to paste the text in the url-entry using ctrl+v

 This happens as well when you try to copy text from write to chat. It does
 not happen when you copy text from browse to chat or vice versa.

 The output of the clipboard shows the following log when the entry from
 write is created (collected on sugar-jhbuild) but the error occur as well
 on 641:

 {{{

 DEBUG:root:ClipboardIcon._clipboard_clear_cb
 DEBUG:root:owner_change_cb
 DEBUG:root:_update_open_submenu: None
 DEBUG:root:_set_icon_selected
 DEBUG:root:ClipboardIcon._put_in_clipboard
 DEBUG:root:ClipboardBox: /org/laptop/Clipboard/Objects/10 was added.
 DEBUG:root:adding type text/rtf.
 DEBUG:root:_update_open_submenu:
 dbus.Array([dbus.String(u'org.laptop.AbiWordActivity'),
 dbus.String(u'org.vpri.EtoysActivity')], signature=dbus.Signature('s'),
 variant_level=1)
 DEBUG:root:ClipboardIcon._put_in_clipboard
 DEBUG:root:adding type application/rtf.
 DEBUG:root:owner_change_cb
 DEBUG:root:_update_open_submenu:
 dbus.Array([dbus.String(u'org.laptop.AbiWordActivity')],
 signature=dbus.Signature('s'), variant_level=1)
 DEBUG:root:ClipboardIcon._put_in_clipboard
 DEBUG:root:ClipboardIcon._clipboard_clear_cb
 DEBUG:root:_update_open_submenu:
 dbus.Array([dbus.String(u'org.laptop.AbiWordActivity')],
 signature=dbus.Signature('s'), variant_level=1)
 DEBUG:root:ClipboardIcon._put_in_clipboard
 DEBUG:root:ClipboardIcon._clipboard_clear_cb
 DEBUG:root:owner_change_cb
 DEBUG:root:owner_change_cb

 }}}

 I guess the problem is due to the rtf format. The entry in the clipboard
 does as well not display any option to open the entry. Other clipboard
 text entries does come up as UTF8_STRING, COMPOUND_TEXT when you copy them
 (from browse, from chat).

 Not sure yet if the problem is in sugar or in abi. Since it is an
 regression I mark it as high and would consider for update.1

-- 
Ticket URL: <http://dev.laptop.org/ticket/5097>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list