drag and drop project bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

drag and drop project bug

Jerome Peace
Hi Edgar,

I can confirm that there is a difference between dragging and dropping a project on a trunk squeak image (you get the MultibyteFile... error) and reading in project from the menubar. The second way works the first way does not. IMO that's a genuine bug. Deserves a mantis report.

I haven't looked to see why.

Yours in service and curiosity, --Jerome Peace


     

Reply | Threaded
Open this post in threaded view
|

Re: drag and drop project bug

Edgar J. De Cleene



On 2/24/10 2:26 AM, "Jerome Peace" <[hidden email]> wrote:

> Hi Edgar,
>
> I can confirm that there is a difference between dragging and dropping a
> project on a trunk squeak image (you get the MultibyteFile... error) and
> reading in project from the menubar. The second way works the first way does
> not. IMO that's a genuine bug. Deserves a mantis report.
>
> I haven't looked to see why.
>
> Yours in service and curiosity, --Jerome Peace
Ok , very thanks.

Balázs said he don't have this ...
You have linux Ubuntu now ? So It's not a OS X thing?

Gary , you have several OS, could confirm ?

Edgar




Reply | Threaded
Open this post in threaded view
|

Re: drag and drop project bug

Balázs Kósi
Hi,

The problem stems from ExternalDropHandler class not being initialized properly.
If you evaluate ExternalDropHandler initialize, it fills up its
RegisteredHandlers classvariable, we get a drop handler for projects
and the problem goes away.
Probably this is broken by ReleaseBuilderTrunk >> prepareNewBuild, where we
send resetRegisteredHandlers to ExternalDropHandler.

Balázs

Reply | Threaded
Open this post in threaded view
|

Re: drag and drop project bug

Gary Dunn
In reply to this post by Jerome Peace
On Wed, 24 Feb 2010 06:45:49 -0200 Edgar J. De Cleene" <[hidden email]> wrote

> On 2/24/10 2:26 AM, "Jerome Peace" <[hidden email]> wrote:
>
>> Hi Edgar,
>>
>> I can confirm that there is a difference between dragging and dropping a
>> project on a trunk squeak image (you get the MultibyteFile... error) and
>> reading in project from the menubar. The second way works the first way does
>> not. IMO that's a genuine bug. Deserves a mantis report.
>>
>> I haven't looked to see why.
>>
>> Yours in service and curiosity, --Jerome Peace
> Ok , very thanks.
>
> Balazs said he don't have this ...
> You have linux Ubuntu now ? So It's not a OS X thing?
>
> Gary , you have several OS, could confirm ?

Looks as though Balazs has identified the cause but I'll check it tonight. Two questions: 1. Where is the project being dragged from? 2. Does "menubar" mean "World menu / load project from file" or the Projet menu on the DockingBar, or something else?

Jerome - did you submit a bug report to Mantis?
--
Gary Dunn, Honolulu
[hidden email]
http://openslate.net/
http://e9erust.blogspot.com/
Sent from a Newton 2100 via Mail V

Reply | Threaded
Open this post in threaded view
|

Re: drag and drop project bug

Edgar J. De Cleene
In reply to this post by Balázs Kósi



On 2/24/10 1:00 PM, "Balázs Kósi" <[hidden email]> wrote:

> Hi,
>
> The problem stems from ExternalDropHandler class not being initialized
> properly.
> If you evaluate ExternalDropHandler initialize, it fills up its
> RegisteredHandlers classvariable, we get a drop handler for projects
> and the problem goes away.
> Probably this is broken by ReleaseBuilderTrunk >> prepareNewBuild, where we
> send resetRegisteredHandlers to ExternalDropHandler.
>
> Balázs

Ok, very thanks.
Using projects is a key feature of Squeak , your find is important.

Edgar




Reply | Threaded
Open this post in threaded view
|

Re: drag and drop project bug

Edgar J. De Cleene
In reply to this post by Gary Dunn



On 2/24/10 8:19 PM, "Gary Dunn" <[hidden email]> wrote:

> 1. Where is the project being dragged from?

If you do not have a project, saving and loading projects works now .
Older (before Closures) project do not works, but .morph yes.

My first successful test was drag and drop the BatMorph and save the .pr as
BatTest.pr

If you like , download
http://ftp.squeak.org/various_images/FunSqueak/FunSqueak3.11-9408-alpha.zip

Inside have some projects, save local and drag and drop.

Edgar






BatMorph.morph (8K) Download Attachment