[Sugar-devel] Proposed solution to OLPC #10930

Gonzalo Odiard gonzalo at laptop.org
Fri Jul 8 13:20:43 EDT 2011

Thanks Walter.
Rafael also pointed my to try copy and paste images from Paint to Write
and I could reproduce the issue.

I have found solution :)

If I apply 0001-Pack-page-in-ToolbarButton-when-is-conected-to-the-w.patch<http://dev.laptop.org/attachment/ticket/10930/0001-Pack-page-in-ToolbarButton-when-is-conected-to-the-w.patch>
all works. I can remove the workaround in TuirtleArt and continue working.
My other patch does not work, and looking at the code in TurtleArt have
because the buttons and toolbars are created in different order.
This patch does not depends of the programmer create the toolbars in a
specific order.


On Fri, Jul 8, 2011 at 9:21 AM, Simon Schampijer <simon at schampijer.de>wrote:

> On 07/08/2011 01:08 PM, Walter Bender wrote:
>> On Fri, Jul 8, 2011 at 4:10 AM, Simon Schampijer<simon at schampijer.de**>
>>  wrote:
>>> On 06/23/2011 03:53 PM, Gonzalo Odiard wrote:
>>>> I was working in the solution of OLPC #10930 "copy/paste does not work
>>>> in
>>>> if
>>>> one has not revealed the edit toolbar once"
>>>> The problem can be reproduced in activities with the new toolbars, like
>>>> Terminal or Browse.
>>>> For example, in Terminal, if you open the activity, select a text and
>>>> press
>>>> "Shift-Ctrl-C", nothing is copied,
>>>> if you show the Edit toolbar and try pressing "Sift-Ctrl-C" again, the
>>>> text
>>>> is copied.
>>>> The same happen in Browse with "Ctrl-C"
>>> The problem seem to 'only' exist in Terminal, other Activities with the
>>> new
>>> toolbars like Browse and Write do work fine. This is because Terminal
>>> does
>>> override the shortcut to "Sift-Ctrl-C". Maybe this changes the approach
>>> of
>>> fixing the issue.
>> The problem is not only in Terminal. I have the same problem with
>> Turtle Art, where I don'[t try to override the shortcut. My workaround
>> had been to open and then close the edit toolbar on startup, but that
>> only seems to work intermittently these days.
>> See http://bugs.sugarlabs.org/**ticket/2050<http://bugs.sugarlabs.org/ticket/2050>
>> See http://bugs.sugarlabs.org/**ticket/2751<http://bugs.sugarlabs.org/ticket/2751>
>> regards.
>> -walter
> Ohh, I see - thanks Walter for the update on this.
> Regards,
>   Simon
> ______________________________**_________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.**org <Sugar-devel at lists.sugarlabs.org>
> http://lists.sugarlabs.org/**listinfo/sugar-devel<http://lists.sugarlabs.org/listinfo/sugar-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110708/153b3bce/attachment.html>

More information about the Sugar-devel mailing list