If we know what the standard setting of this ini file is we can adapt the 
Smalltalk code accordingly. Or, is this file generated by an installer and 
hence changes depending on the actual hardware?

Adrian

On Feb 8, 2010, at 16:42 , Mariano Martinez Peck wrote:

> 2010/2/8 Gary Chambers <[email protected]>
> 
>> Have you tried the "3 button mouse" windows VM option to see if it
>> changes the behaviour?
>> 
>> 
> Good point Gary!!! I was looking some minutes ago in Seaside.ini  and I saw
> that option....but my mouse has 3 buttons, and the option was "ok":
> 
> 3ButtonMouse=1
> 1ButtonMouse=0
> 
> With that, right button was not working and I have to return true in order
> to make it work.
> 
> Now, as Gary suggested I change the ini to this:
> 
> 3ButtonMouse=0
> 1ButtonMouse=0
> 
> and now, with the original code of swapMouseButtons   it is working correct.
> 
> Of course, here there is a problem, because my mouse HAS 3 buttons, but in
> order to make it work properly, I have to put a 0...
> 
> So....it is a mess.
> 
> Any idea how to fix it ?
> 
> Thanks!
> 
> Mariano
> 
> 
>> Regards, Gary
>> 
>> ----- Original Message -----
>> *From:* Mariano Martinez Peck <[email protected]>
>> *To:* [email protected]
>> *Sent:* Monday, February 08, 2010 3:01 PM
>> *Subject:* Re: [Pharo-project] [Seaside] mouse right button
>> 
>> 
>> 
>> On Mon, Feb 8, 2010 at 3:57 PM, Adrian Lienhard <[email protected]> wrote:
>> 
>>> Yes, but this was fixed, wasn't it?
>>> 
>>> The problem of the wrong order of InputEventSensor in the startup list was
>>> resolved in August. At least the following evaluates to true in current
>>> PharoCore 1.0:
>>> 
>>> ((SystemDictionary classPool at: 'StartUpList') indexOf: #OSPlatform) <
>>> ((SystemDictionary classPool at: 'StartUpList') indexOf: #InputEventSensor).
>>> 
>>> 
>> yes, this returns true. So. It doesn't seem to be the same problem.
>> 
>> 
>>> So, yes, there was a known problem but I assumed it was fixed. Probably,
>>> what we are seeing now is related. According to Bill, the setting is wrong
>>> on Windows when the image that was first saved on Linux is started without
>>> being saved first (if I understand correctly). There can be two reasons: at
>>> startup either the initialization of the mouse mapping is not triggered
>>> (which I doubt) or it is triggered but the platform is still the old one.
>>> Can somebody that has the problem check what is going on?
>>> 
>>> 
>> I have tested, and even saving the image, the problem is not fixed. The
>> only way to really fix it (at least what I worked for me is what I said to
>> the guy in Seaside...I paste here:
>> 
>> 1) Change Preferences class >> swapMouseButtons  to this:
>> 
>> swapMouseButtons
>>    ^ self
>>        valueOfFlag: #swapMouseButtons
>>        ifAbsent: [
>>            true ]
>> 
>> 
>> 2) Save the image. Quite and start again.
>> 
>> 
>> with this, swapMouseButtons returns true.
>> 
>> So....maybe, what it is wrong is the  OSPlatform current platformFamily ~=
>> #Windows
>> 
>> I don't know :(
>> 
>> 
>>> Cheers,
>>> Adrian
>>> 
>>> On Feb 8, 2010, at 14:12 , Mariano Martinez Peck wrote:
>>> 
>>>> On Mon, Feb 8, 2010 at 1:12 PM, Adrian Lienhard <[email protected]>
>>> 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 <[email protected]> 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 <[email protected]>
>>>>> 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 <[email protected]
>>>> 
>>>>>>>> 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 <[email protected]
>>>> 
>>>>>>>>> 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" <
>>>>> [email protected]>
>>>>>>>>>> To: "Seaside - general discussion" <
>>>>> [email protected]>
>>>>>>>>>> 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
>>>>>>>>>> [email protected]
>>>>>>>>>> 
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> seaside mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> 
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>>> 
>>>>>>>>> ________________________________
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> seaside mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> seaside mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> ________________________________
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> seaside mailing list
>>>>>>>> [email protected]
>>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> seaside mailing list
>>>>>>>> [email protected]
>>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>> 
>>>>>>> 
>>>>>>> ________________________________
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> seaside mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> seaside mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Lukas Renggli
>>>>>> http://www.lukas-renggli.ch
>>>>>> _______________________________________________
>>>>>> seaside mailing list
>>>>>> [email protected]
>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>> 
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> [email protected]
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>> 
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [email protected]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> 
>>> 
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


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

Reply via email to