[Etoys] Build 537

Bert Freudenberg bert at freudenbergs.de
Fri Jul 27 09:28:45 EDT 2007


On Jul 27, 2007, at 14:30 , Kazuhiro ABE wrote:

> Hello,
>
> I found a mysterious phenomenon in #537.
>
> 1. paint something with a paint activity and keep it.
> 2. open a journal and click the activity of above painting.
> 3. click 'Copy to clipboard' icon on the top.
> 4. choose 'Open' from a clipboard menu for this image on the left.
> 5. Etoys startup automatically and failed to load. (see attached log)
>
> I don't know this phenomenon is related with your ticket #2477 or not.

No, #2477 would prevent etoys from even starting. Apparently this is  
indeed what happens, if you just press the resume button when showing  
an etoys entry in the journal (that round button with a square in the  
tool bar) then etoys does not start. Tonight's next build should have  
that fixed, or patch the file /usr/lib/python2.5/site-packages/sugar/ 
activity/activityfactory.py yourself as in the ticket.

Anyway, your find is indeed an etoys bug. It appears as if the  
clipboard thinks that Etoys is the default activity for handling PNG  
files. And it then of course runs Etoys with that argument ... never  
thought of that. We then try to load that png file as project which  
fails of course.

We should check the mime-type when resuming a journal entry, and if  
it is not a squeak project, invoke the drop handler instead I guess,  
so we open the the file. Presumably we want to do that in a newly  
created project?

I'm reporting this as a bug here:

	http://dev.laptop.org/ticket/2535

Thanks for testing, and reporting back!

- Bert -




More information about the Etoys mailing list