On Tue, Aug 25, 2009 at 2:49 PM, <[email protected]> wrote:

>
> Em  24/08/2009 18:49,  Schwab,Wilhelm K  <[email protected]> escreveu:
> >
> >  To anyone using both Windows  and Linux, please try moving an image
> > between  the two environments.   I started  my programming  today by
> > copying an image from Linux to Windows.  Once on the latter, I found
> > that right  clicking did not work; I  had to use the  mouse wheel to
> > get context  menus.  Some  time later, the  right button  started to
> > work.  Maybe saving the image on the current machine jolts it???
>
> Bill,
>
> I'm trying to use both environments (albeit by now on two different
> machines, but I intend to have at least one of them dual-boot) and I
> see this behaviour, but I was attributing it to some snafu of my part
> on setting of the VM.
>
> The weirness is total here, it is not consistent even between Squeak
> and Pharo images...
>
> I'll start to take notes of this and report back.
>
>

There's history here. The middle mouse button (your "scrolly wheel") brought
up the menu in ancient dialects of Smalltalk. Then it got messy when people
preferred using the right mouse button for context menus and several hacks
appeared in both the VM and the image in order to do so.

See http://wiki.squeak.org/squeak/897

IIRC the Windows VM can swap the middle and right mouse buttons with a
setting in an .ini file or something. Ditto for the VM; at least in Squeak
there's a preference for swapping the mouse buttons.

If you're completely confused, insert some logging code into the EventSensor
(or whatever Pharo has instead of that) and see which mouse button the
actual events are reporting. Then you can see if it's the VM or code in the
image.

Gulik.

-- 
http://gulik.pbwiki.com/
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to