#5389 NORM Never A: application-x-gtk-text-buffer-rich-text mimetype is chosen when copying text from some activities

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 7 05:53:51 EST 2007


#5389: application-x-gtk-text-buffer-rich-text mimetype is chosen when copying
text from some activities
--------------------------+-------------------------------------------------
  Reporter:  HoboPrimate  |       Owner:  tomeu         
      Type:  defect       |      Status:  new           
  Priority:  normal       |   Milestone:  Never Assigned
 Component:  sugar        |     Version:                
Resolution:               |    Keywords:  Update.1?     
  Verified:  0            |  
--------------------------+-------------------------------------------------
Changes (by tomeu):

  * keywords:  => Update.1?
  * owner:  marco => tomeu


Comment:

 Replying to [comment:2 HoboPrimate]:
 > And shellservice.log says this:
 >
 > "DEBUG root: Choosing between [dbus.String(u'UTF8_STRING'),
 dbus.String(u'application/x-gtk-text-buffer-rich-text'),
 dbus.String(u'text/plain;charset=utf-8'),
 dbus.String(u'GTK_TEXT_BUFFER_CONTENTS'), dbus.String(u'COMPOUND_TEXT'),
 dbus.String(u'text/plain;charset=UTF-8'), dbus.String(u'text/plain'),
 dbus.String(u'STRING')].
 > 1197123934.761933 DEBUG root: Choosed u'application/x-gtk-text-buffer-
 rich-text'!"
 >
 > Seems to make a dumb final choice, when text/plain was perfect.

 Right, the algorithm for choosing the best target needs to be tweaked
 almost for every activity.

 Will update that code and add a test case for this new situation.

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



More information about the Bugs mailing list