#5753 HIGH Never A: A shared copyText() method should exist in the common Sugar API.
Zarro Boogs per Child
bugtracker at laptop.org
Fri Dec 28 14:37:52 EST 2007
#5753: A shared copyText() method should exist in the common Sugar API.
-----------------------+----------------------------------------------------
Reporter: legutierr | Owner: marco
Type: defect | Status: new
Priority: high | Milestone: Never Assigned
Component: sugar | Version: Build 650
Keywords: Update 1? | Verified: 0
Blocking: | Blockedby:
-----------------------+----------------------------------------------------
There are a number of bugs filed relating to the fact that copying text
out of certain activities breaks the clipboard in some way (Browse: #5664
#2747; XoIRC/Logviewer: #5389; Journal: #5611; Write: #5752). As I
understand it, solutions already proposed in some of those cases involve
fixing code directly in the originating activity, or innvolve modifying
mime-type definitions to accommodate the activity's specific
implementation; but considering that this error seems already to have been
made multiple times by multiple developers, without a system-wide fix, the
error will probably be made again in new activities.
Although I haven't seen the code, this behavior ''seems'' to point to the
fact that each activity implements its own version of "copy text", passing
custom data to the clipboard, including mime types and the like. In cases
where an activity doesn't do this correctly, the clipboard breaks (and the
Journal as well in some cases).
Although the clipboard should be able to hold custom data and dynamically-
defined mime-types, there is no reason for the clipboard to treat
different text clippings differently just because they come from different
activities. If there is any type of data that should be treated the same
by everything, it is text!
--
Ticket URL: <http://dev.laptop.org/ticket/5753>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list