[Vm-dev] Re: [Pharo-project] shift of -1@0 when clicking a morph

Tudor Girba tudor at tudorgirba.com
Tue Sep 13 20:21:24 UTC 2011


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 <gazzaguru2 at btinternet.com> 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" <tudor at tudorgirba.com>
> To: <Pharo-project at lists.gforge.inria.fr>
> Sent: Saturday, September 10, 2011 7:34 PM
> Subject: Re: [Pharo-project] shift of -1 at 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."






More information about the Vm-dev mailing list