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" <[email protected]>
To: <[email protected]>
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."