[Bugs] #1773 UNSP: Browse should provide titles for the clippings that places in the clipboard

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed May 18 17:51:48 EDT 2011


#1773: Browse should provide titles for the clippings that places in the clipboard
------------------------------------------+---------------------------------
    Reporter:  tomeu                      |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.94       
   Component:  Browse                     |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
Changes (by RafaelOrtiz):

  * milestone:  Unspecified by Release Team => 0.94


Comment:

 Tomeu had a fix in bugzilla

 {{{
 Not really a mime type, we are adding some selections for passing metadata
 about the clipping that is displayed in Sugar's clipboard manager. We'd
 prefer these selections to be in UTF-8, as I understand that it's the
 preferred encoding for selections that contain text (we'd like these
 properties to be added to some spec in freedesktop.org some day).

 If we need to maintain the contract that Neil explained above, then we may
 do the following:

 if text/plain:
     QI to nsISupportsCString
     return single-byte string if available
 elif text/unicode:
     QI to nsISupportsString
     return doublebyte string if available
 elif QIs to nsISupportsCString
     return single-byte string
 elif QIs to nsISupportsString
     return double-byte string

 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1773#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list