shift of -1@0 when clicking a morph

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

shift of -1@0 when clicking a morph

abergel
Hi!

In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.

In Pharo 1.4 14112, this strange behavior has disappeared.

I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).

Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

Stéphane Ducasse

On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:

> Hi!
>
> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.

Strange indeed.

>
> In Pharo 1.4 14112, this strange behavior has disappeared.
>
> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>
> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.

No I do not think this is related

Stef

>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

Tudor Girba-2
Just to stress this issue a bit more:

The problem is critical for getting Mondrian to work properly with Glamour (be able to get the interaction from the visualization in the surrounding browser), and it is a show stopper for releasing Moose 4.6. Any help would be appreciated.

Cheers,
Doru


On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:

>
> On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
>
>> Hi!
>>
>> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
>
> Strange indeed.
>
>>
>> In Pharo 1.4 14112, this strange behavior has disappeared.
>>
>> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>>
>> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
>
> No I do not think this is related
>
> Stef
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>

--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."




Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

Gary Chambers-4
Have you checked to morph's bounds in case the origin/corner has non Integer
values?
I've seen odd behaviour when they are Floats or Fractions.

(just a stab-in-the-dark, worth checking though)

Regards, Gary

----- Original Message -----
From: "Tudor Girba" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, September 10, 2011 7:34 PM
Subject: Re: [Pharo-project] shift of -1@0 when clicking a morph


Just to stress this issue a bit more:

The problem is critical for getting Mondrian to work properly with Glamour
(be able to get the interaction from the visualization in the surrounding
browser), and it is a show stopper for releasing Moose 4.6. Any help would
be appreciated.

Cheers,
Doru


On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:

>
> On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
>
>> Hi!
>>
>> In Pharo 1.3 13287 I am experiencing something very strange. Apparently,
>> when I click a morph the mouseOver: event has a x value reduced by 1.
>> This happens only when I click. Subsequent mouseOver: are fine. This
>> triggers an odd behavior in Mondrian.
>
> Strange indeed.
>
>>
>> In Pharo 1.4 14112, this strange behavior has disappeared.
>>
>> I tried to load some more recent packages of Morphic, Graphics,
>> Polymorph... without success (either I get an emergency debugger or the
>> image freezes).
>>
>> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could
>> not find the Slice.
>
> No I do not think this is related
>
> Stef
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>

--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting is the
right one."





Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

Mariano Martinez Peck


On Tue, Sep 13, 2011 at 11:27 AM, Gary Chambers <[hidden email]> wrote:
Have you checked to morph's bounds in case the origin/corner has non Integer values?
I've seen odd behaviour when they are Floats or Fractions.


yes, like putting them into a PointArray. Floats for example will lose the decimal part.
 
(just a stab-in-the-dark, worth checking though)

Regards, Gary

----- Original Message ----- From: "Tudor Girba" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, September 10, 2011 7:34 PM
Subject: Re: [Pharo-project] shift of -1@0 when clicking a morph



Just to stress this issue a bit more:

The problem is critical for getting Mondrian to work properly with Glamour (be able to get the interaction from the visualization in the surrounding browser), and it is a show stopper for releasing Moose 4.6. Any help would be appreciated.

Cheers,
Doru


On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:


On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:

Hi!

In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.

Strange indeed.


In Pharo 1.4 14112, this strange behavior has disappeared.

I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).

Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.

No I do not think this is related

Stef

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."








--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

Tudor Girba-2
Hi,

Apparently, this issue is related to VMs at least on Mac.

Try the followings:
1. download sample image:
http://dl.dropbox.com/u/18323746/Tmp/moose-drag-issue.zip

2. execute it with the latest Jenkins blessed VM:
https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-Mac-Cocoa-blessed/lastSuccessfulBuild/artifact/CogVM.zip
- click on 1 or 3 on the left hand side (repeatedly - sometimes the issue does not appear straightaway)
- the pane to the right should be updated with the numbers but it is not. Instead the clicked number slightly moves (due to dragging)

3. now execute the same image with the Elliot's VM:
http://www.mirandabanda.org/files/Cog/VM/VM.r2489/Cog.app.tgz
- click on 1 or 3 on the left hand side
- the pane to the right is updated and the number on the left does not move at all

Cheers,
Doru

On 13 Sep 2011, at 11:57, Mariano Martinez Peck wrote:

>
>
> On Tue, Sep 13, 2011 at 11:27 AM, Gary Chambers <[hidden email]> wrote:
> Have you checked to morph's bounds in case the origin/corner has non Integer values?
> I've seen odd behaviour when they are Floats or Fractions.
>
>
> yes, like putting them into a PointArray. Floats for example will lose the decimal part.
>  
> (just a stab-in-the-dark, worth checking though)
>
> Regards, Gary
>
> ----- Original Message ----- From: "Tudor Girba" <[hidden email]>
> To: <[hidden email]>
> Sent: Saturday, September 10, 2011 7:34 PM
> Subject: Re: [Pharo-project] shift of -1@0 when clicking a morph
>
>
>
> Just to stress this issue a bit more:
>
> The problem is critical for getting Mondrian to work properly with Glamour (be able to get the interaction from the visualization in the surrounding browser), and it is a show stopper for releasing Moose 4.6. Any help would be appreciated.
>
> Cheers,
> Doru
>
>
> On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:
>
>
> On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
>
> Hi!
>
> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
>
> Strange indeed.
>
>
> In Pharo 1.4 14112, this strange behavior has disappeared.
>
> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>
> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
>
> No I do not think this is related
>
> Stef
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>
>
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>

--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."





Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

abergel
No problem at all with http://www.mirandabanda.org/files/Cog/VM/VM.r2489/Cog.app.tgz

With CogVM the problem is quite apparent.

Alexandre


On 13 Sep 2011, at 17:21, Tudor Girba wrote:

> Hi,
>
> Apparently, this issue is related to VMs at least on Mac.
>
> Try the followings:
> 1. download sample image:
> http://dl.dropbox.com/u/18323746/Tmp/moose-drag-issue.zip
>
> 2. execute it with the latest Jenkins blessed VM:
> https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-Mac-Cocoa-blessed/lastSuccessfulBuild/artifact/CogVM.zip
> - click on 1 or 3 on the left hand side (repeatedly - sometimes the issue does not appear straightaway)
> - the pane to the right should be updated with the numbers but it is not. Instead the clicked number slightly moves (due to dragging)
>
> 3. now execute the same image with the Elliot's VM:
> http://www.mirandabanda.org/files/Cog/VM/VM.r2489/Cog.app.tgz
> - click on 1 or 3 on the left hand side
> - the pane to the right is updated and the number on the left does not move at all
>
> Cheers,
> Doru
>
> On 13 Sep 2011, at 11:57, Mariano Martinez Peck wrote:
>
>>
>>
>> On Tue, Sep 13, 2011 at 11:27 AM, Gary Chambers <[hidden email]> wrote:
>> Have you checked to morph's bounds in case the origin/corner has non Integer values?
>> I've seen odd behaviour when they are Floats or Fractions.
>>
>>
>> yes, like putting them into a PointArray. Floats for example will lose the decimal part.
>>
>> (just a stab-in-the-dark, worth checking though)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Tudor Girba" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Saturday, September 10, 2011 7:34 PM
>> Subject: Re: [Pharo-project] shift of -1@0 when clicking a morph
>>
>>
>>
>> Just to stress this issue a bit more:
>>
>> The problem is critical for getting Mondrian to work properly with Glamour (be able to get the interaction from the visualization in the surrounding browser), and it is a show stopper for releasing Moose 4.6. Any help would be appreciated.
>>
>> Cheers,
>> Doru
>>
>>
>> On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:
>>
>>
>> On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
>>
>> Hi!
>>
>> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
>>
>> Strange indeed.
>>
>>
>> In Pharo 1.4 14112, this strange behavior has disappeared.
>>
>> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>>
>> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
>>
>> No I do not think this is related
>>
>> Stef
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
> --
> www.tudorgirba.com
>
> "The coherence of a trip is given by the clearness of the goal."
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: shift of -1@0 when clicking a morph

abergel
This problem is bizarre.

> No problem at all with http://www.mirandabanda.org/files/Cog/VM/VM.r2489/Cog.app.tgz

I just tried now, and the problem is apparent.

Alexandre



>
> With CogVM the problem is quite apparent.
>
> Alexandre
>
>
> On 13 Sep 2011, at 17:21, Tudor Girba wrote:
>
>> Hi,
>>
>> Apparently, this issue is related to VMs at least on Mac.
>>
>> Try the followings:
>> 1. download sample image:
>> http://dl.dropbox.com/u/18323746/Tmp/moose-drag-issue.zip
>>
>> 2. execute it with the latest Jenkins blessed VM:
>> https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-Mac-Cocoa-blessed/lastSuccessfulBuild/artifact/CogVM.zip
>> - click on 1 or 3 on the left hand side (repeatedly - sometimes the issue does not appear straightaway)
>> - the pane to the right should be updated with the numbers but it is not. Instead the clicked number slightly moves (due to dragging)
>>
>> 3. now execute the same image with the Elliot's VM:
>> http://www.mirandabanda.org/files/Cog/VM/VM.r2489/Cog.app.tgz
>> - click on 1 or 3 on the left hand side
>> - the pane to the right is updated and the number on the left does not move at all
>>
>> Cheers,
>> Doru
>>
>> On 13 Sep 2011, at 11:57, Mariano Martinez Peck wrote:
>>
>>>
>>>
>>> On Tue, Sep 13, 2011 at 11:27 AM, Gary Chambers <[hidden email]> wrote:
>>> Have you checked to morph's bounds in case the origin/corner has non Integer values?
>>> I've seen odd behaviour when they are Floats or Fractions.
>>>
>>>
>>> yes, like putting them into a PointArray. Floats for example will lose the decimal part.
>>>
>>> (just a stab-in-the-dark, worth checking though)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Tudor Girba" <[hidden email]>
>>> To: <[hidden email]>
>>> Sent: Saturday, September 10, 2011 7:34 PM
>>> Subject: Re: [Pharo-project] shift of -1@0 when clicking a morph
>>>
>>>
>>>
>>> Just to stress this issue a bit more:
>>>
>>> The problem is critical for getting Mondrian to work properly with Glamour (be able to get the interaction from the visualization in the surrounding browser), and it is a show stopper for releasing Moose 4.6. Any help would be appreciated.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 10 Sep 2011, at 08:40, Stéphane Ducasse wrote:
>>>
>>>
>>> On Sep 10, 2011, at 2:06 AM, Alexandre Bergel wrote:
>>>
>>> Hi!
>>>
>>> In Pharo 1.3 13287 I am experiencing something very strange. Apparently, when I click a morph the mouseOver: event has a x value reduced by 1. This happens only when I click. Subsequent mouseOver: are fine. This triggers an odd behavior in Mondrian.
>>>
>>> Strange indeed.
>>>
>>>
>>> In Pharo 1.4 14112, this strange behavior has disappeared.
>>>
>>> I tried to load some more recent packages of Morphic, Graphics, Polymorph... without success (either I get an emergency debugger or the image freezes).
>>>
>>> Maybe: http://code.google.com/p/pharo/issues/detail?id=4503 ? But I could not find the Slice.
>>>
>>> No I do not think this is related
>>>
>>> Stef
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>> --
>> www.tudorgirba.com
>>
>> "The coherence of a trip is given by the clearness of the goal."
>>
>>
>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.