[Pharo-project] [Seaside] mouse right button

Mariano Martinez Peck marianopeck at gmail.com
Mon Feb 8 08:12:36 EST 2010


On Mon, Feb 8, 2010 at 1:12 PM, Adrian Lienhard <adi at netstyle.ch> wrote:

> (moving this discussion to Pharo-dev)
>
> No, there is no fix (and as far as I know the problem has not been known
> before).
>

Adrian, I think that it was known.

See issue:    http://code.google.com/p/pharo/issues/detail?id=838

And threads:

http://n4.nabble.com/right-button-still-doesn-t-work-on-Windows-td1303494.html
http://n4.nabble.com/swapMouseButtons-doesn-t-work-td1306309.html


> The current implementation tries to do "the right thing" based on the
> current platform:
>
> swapMouseButtons
>        ^ self
>                valueOfFlag: #swapMouseButtons
>                ifAbsent: [
>                         OSPlatform current platformFamily ~= #Windows ]
>
>
> Is this behavior not correct for Windows users in general? Or is there a
> user-specific issue?
>
>

I did the experiment to the guy in seaside mailing list and seems to work ok
in Windows if that return true instead of false....So, I don't understand.

Cheers

Mariano

Cheers,
> Adrian
>
> On Feb 8, 2010, at 12:06 , Lukas Renggli wrote:
>
> > Mariano is that a bug that has been fixed in recent versions of Pharo
> > 1.0? Should I update the one-click image?
> >
> > Lukas
> >
> > On 8 February 2010 11:56, Lorenzo Schiavina <lorenzo at edor.it> wrote:
> >> Yes, after the correction is working
> >>
> >> ciao
> >>
> >> ----- Original Message -----
> >> From: Mariano Martinez Peck
> >> To: Seaside - general discussion
> >> Sent: Monday, February 08, 2010 11:03 AM
> >> Subject: Re: [Seaside] mouse right button
> >>
> >>
> >> On Mon, Feb 8, 2010 at 11:01 AM, Lorenzo Schiavina <lorenzo at edor.it>
> wrote:
> >>>
> >>> Many thanks Mariano.
> >>>
> >>> Clicking the wheel of the mouse is OK.
> >>>
> >>
> >> Ok, but it shouldn't be like that. It must be fixed. Can you tell me
> please
> >> if after doing what I told you, right button works actually in the real
> >> right button ?
> >>
> >>
> >>>
> >>> Grazie
> >>>
> >>> Ciao
> >>>
> >>> ----- Original Message -----
> >>> From: Mariano Martinez Peck
> >>> To: Seaside - general discussion
> >>> Sent: Monday, February 08, 2010 10:54 AM
> >>> Subject: Re: [Seaside] mouse right button
> >>>
> >>>
> >>> On Mon, Feb 8, 2010 at 10:48 AM, Lorenzo Schiavina <lorenzo at edor.it>
> >>> wrote:
> >>>>
> >>>> Thanks Mariano,
> >>>>
> >>>> but unfortunately I cannot save the change; is there any different way
> to
> >>>> save the changes without clicking the right button?
> >>>
> >>> Everything you do with the mouse / UI  can be done by code in a
> workspace.
> >>> Both send the same message :)
> >>>
> >>> But anyway, you "right" button must be working. Not in the physical
> real
> >>> right button, but, in the "wheel" button. If you have a real 3 keys
> mouse,
> >>> click the middle (the one of the wheel) button and it will act as
> "right"
> >>> button. If you are using a touchpad in a laptop, press left and right
> >>> together.
> >>>
> >>> To save an image and quite with "code" you can evaluate in a workspace:
> >>>
> >>> SmalltalkImage current snapshot: true andQuit: true.
> >>>
> >>> Then you can select that text, and just ctrl + d  (to do it). No need
> of
> >>> the mouse.
> >>>
> >>> Cheers
> >>>
> >>> Mariano
> >>>
> >>>>
> >>>> Thanks
> >>>>
> >>>> Lorenzo
> >>>>
> >>>> ----- Original Message -----
> >>>> From: Mariano Martinez Peck
> >>>> To: Seaside - general discussion
> >>>> Sent: Monday, February 08, 2010 10:19 AM
> >>>> Subject: Re: [Seaside] mouse right button
> >>>> Just to do a test, what happen if you do the following:
> >>>>
> >>>> 1) Change Preferences class >> swapMouseButtons  to this:
> >>>>
> >>>> swapMouseButtons
> >>>>     ^ self
> >>>>         valueOfFlag: #swapMouseButtons
> >>>>         ifAbsent: [
> >>>>             true ]
> >>>>
> >>>>
> >>>> 2) Save the image. Quite and start again.
> >>>>
> >>>>
> >>>> Did that fix it ?
> >>>>
> >>>> Cheers
> >>>>
> >>>> Mariano
> >>>>
> >>>> On Mon, Feb 8, 2010 at 9:50 AM, Lorenzo Schiavina <lorenzo at edor.it>
> >>>> wrote:
> >>>>>
> >>>>> Yes, is Seaside 3.0 one-click image.
> >>>>>
> >>>>> For example, if I enter into a method and I make a modification and I
> >>>>> try to save it clicking with right button in the editing window,
> nothing
> >>>>> happens.
> >>>>>
> >>>>> I have no response in any window of the system.
> >>>>>
> >>>>> Many thanks
> >>>>>
> >>>>> ----- Original Message ----- From: "Lukas Renggli" <
> renggli at gmail.com>
> >>>>> To: "Seaside - general discussion" <
> seaside at lists.squeakfoundation.org>
> >>>>> Sent: Monday, February 08, 2010 9:29 AM
> >>>>> Subject: Re: [Seaside] mouse right button
> >>>>>
> >>>>>
> >>>>>> I dowloaded Pharo 3.0 for Window Vista
> >>>>>
> >>>>> Pharo 1.0 is about to be released, so I guess you refer to the
> Seaside
> >>>>> 3.0 one-click image?
> >>>>>
> >>>>>> but I cannot use the right button of
> >>>>>> my mouse; I enterede in key board preferences, but I was not able to
> >>>>>> set mouse properly.
> >>>>>
> >>>>> Can you elaborate what you are trying to do and what exactly does not
> >>>>> work? Maybe somebody else can help that has a windows installation at
> >>>>> hand?
> >>>>>
> >>>>> Lukas
> >>>>>
> >>>>> --
> >>>>> Lukas Renggli
> >>>>> http://www.lukas-renggli.ch
> >>>>> _______________________________________________
> >>>>> seaside mailing list
> >>>>> seaside at lists.squeakfoundation.org
> >>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>>
> >>>>> _______________________________________________
> >>>>> seaside mailing list
> >>>>> seaside at lists.squeakfoundation.org
> >>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>> ________________________________
> >>>>
> >>>> _______________________________________________
> >>>> seaside mailing list
> >>>> seaside at lists.squeakfoundation.org
> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>> _______________________________________________
> >>>> seaside mailing list
> >>>> seaside at lists.squeakfoundation.org
> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>
> >>> ________________________________
> >>>
> >>> _______________________________________________
> >>> seaside mailing list
> >>> seaside at lists.squeakfoundation.org
> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>
> >>> _______________________________________________
> >>> seaside mailing list
> >>> seaside at lists.squeakfoundation.org
> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>
> >>
> >> ________________________________
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >>
> >
> >
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100208/3c251a27/attachment-0001.html>


More information about the Pharo-dev mailing list