Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
February 2010
- 92 participants
- 1270 messages
Re: [Pharo-project] ImageSegment part 3 ready to integrate
by Adrian Lienhard
Great! Thanks Mariano.
Adrian
On Feb 8, 2010, at 15:02 , Mariano Martinez Peck wrote:
> Issue http://code.google.com/p/pharo/issues/detail?id=1940
>
> SLICE-Issue1940-ImageSegmentCleaningPart3-Mariano.3 in PharoInbox.
>
> - remove #fixCapitalizationOfSymbols
> - remove TTCFontSet code from #comeFullyUpOnReload:
> This even fixes a cycle dependency between ImageSegment and Multilingual
> - the following implementors were moved to category *System-Object Storage:
> *startUpFrom:
> *saveImageSegments:
> *areThereImageSegments
> *rootStubInImageSegment:
> *scanFromNoCompile: aStream forSegment: anImageSegment
>
> Now we have a cleaner kernel (Object, Behavior, etc) and a little step more
> to put ImageSegment as a separate package.
>
> This is not possible yet as there are method from the kernel referencing to
> ImageSegment.
>
> Take into account that ImageSegment tests are failing but due to issue
> http://code.google.com/p/pharo/issues/detail?id=1941
> However, "rollbacking" that problem I make sure that this ImageSegment
> version is working.
>
> Cheers
>
> Mariano
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Feb. 8, 2010
Re: [Pharo-project] [Seaside] mouse right button
by Adrian Lienhard
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).
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?
Cheers,
Adrian
On Feb 8, 2010, at 14:12 , Mariano Martinez Peck wrote:
> On Mon, Feb 8, 2010 at 1:12 PM, Adrian Lienhard <adi(a)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.h…
> 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(a)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(a)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(a)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(a)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(a)gmail.com>
>>>>>>> To: "Seaside - general discussion" <
>> seaside(a)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(a)lists.squeakfoundation.org
>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> seaside mailing list
>>>>>>> seaside(a)lists.squeakfoundation.org
>>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>
>>>>>> ________________________________
>>>>>>
>>>>>> _______________________________________________
>>>>>> seaside mailing list
>>>>>> seaside(a)lists.squeakfoundation.org
>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>
>>>>>> _______________________________________________
>>>>>> seaside mailing list
>>>>>> seaside(a)lists.squeakfoundation.org
>>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>>
>>>>>
>>>>> ________________________________
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>
>>>> ________________________________
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Lukas Renggli
>>> http://www.lukas-renggli.ch
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Feb. 8, 2010
[Pharo-project] ImageSegment part 3 ready to integrate
by Mariano Martinez Peck
Issue http://code.google.com/p/pharo/issues/detail?id=1940
SLICE-Issue1940-ImageSegmentCleaningPart3-Mariano.3 in PharoInbox.
- remove #fixCapitalizationOfSymbols
- remove TTCFontSet code from #comeFullyUpOnReload:
This even fixes a cycle dependency between ImageSegment and Multilingual
- the following implementors were moved to category *System-Object Storage:
*startUpFrom:
*saveImageSegments:
*areThereImageSegments
*rootStubInImageSegment:
*scanFromNoCompile: aStream forSegment: anImageSegment
Now we have a cleaner kernel (Object, Behavior, etc) and a little step more
to put ImageSegment as a separate package.
This is not possible yet as there are method from the kernel referencing to
ImageSegment.
Take into account that ImageSegment tests are failing but due to issue
http://code.google.com/p/pharo/issues/detail?id=1941
However, "rollbacking" that problem I make sure that this ImageSegment
version is working.
Cheers
Mariano
Feb. 8, 2010
Re: [Pharo-project] [Seaside] mouse right button
by Mariano Martinez Peck
On Mon, Feb 8, 2010 at 1:12 PM, Adrian Lienhard <adi(a)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.h…
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(a)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(a)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(a)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(a)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(a)gmail.com>
> >>>>> To: "Seaside - general discussion" <
> seaside(a)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(a)lists.squeakfoundation.org
> >>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>>
> >>>>> _______________________________________________
> >>>>> seaside mailing list
> >>>>> seaside(a)lists.squeakfoundation.org
> >>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>> ________________________________
> >>>>
> >>>> _______________________________________________
> >>>> seaside mailing list
> >>>> seaside(a)lists.squeakfoundation.org
> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>> _______________________________________________
> >>>> seaside mailing list
> >>>> seaside(a)lists.squeakfoundation.org
> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>>
> >>>
> >>> ________________________________
> >>>
> >>> _______________________________________________
> >>> seaside mailing list
> >>> seaside(a)lists.squeakfoundation.org
> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>
> >>> _______________________________________________
> >>> seaside mailing list
> >>> seaside(a)lists.squeakfoundation.org
> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>
> >>
> >> ________________________________
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside(a)lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside(a)lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >>
> >
> >
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> > _______________________________________________
> > seaside mailing list
> > seaside(a)lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
Feb. 8, 2010
Re: [Pharo-project] [Seaside] mouse right button
by Schwab,Wilhelm K
I have seen this in the past, and it has become so familiar that I would have actively think about it to take notice. It happens any time I go from Linux to Windows; saving the image on Windows "fixes" it.
This is a symptom of not having proper session management. Squeak does its shutdown/restart tasks at image save rather than taking note as it starts and again as the image shuts down.
Dolphin does it correctly: an image save does not spuriosly shutdown and start again; exiting does basic cleanup of external resources; startup, because saves do not errantly force a shut down, must discard external resources that are understood to be in a confused state, but that is yhe price of correct behavior (not having incorrect behavior) during a save.
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Adrian Lienhard
Sent: Monday, February 08, 2010 7:12 AM
To: Pharo-project Development
Cc: Seaside - general discussion
Subject: Re: [Pharo-project] [Seaside] mouse right button
(moving this discussion to Pharo-dev)
No, there is no fix (and as far as I know the problem has not been known before).
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?
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(a)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(a)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(a)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(a)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(a)gmail.com>
>>>>> To: "Seaside - general discussion"
>>>>> <seaside(a)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(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>> ________________________________
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>
>>> ________________________________
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>
>> ________________________________
>>
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Feb. 8, 2010
Re: [Pharo-project] [Seaside] mouse right button
by Adrian Lienhard
(moving this discussion to Pharo-dev)
No, there is no fix (and as far as I know the problem has not been known before).
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?
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(a)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(a)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(a)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(a)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(a)gmail.com>
>>>>> To: "Seaside - general discussion" <seaside(a)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(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>> ________________________________
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>
>>> ________________________________
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>
>> ________________________________
>>
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Feb. 8, 2010
Re: [Pharo-project] broken polymorph example in 1.1?
by Gary Chambers
Looks like PluggableDialogWindow has had its superclass changed (was
DialogWindow)...
Regards, Gary
----- Original Message -----
From: "Hilaire Fernandes" <hilaire(a)ofset.org>
To: <pharo-project(a)lists.gforge.inria.fr>
Sent: Saturday, February 06, 2010 5:04 PM
Subject: [Pharo-project] broken polymorph example in 1.1?
> Is it me or examples of the Polymorph usage are broken?
>
> For example exampleOtherControls break
>
> Hilaire
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Feb. 8, 2010
Re: [Pharo-project] broken polymorph example in 1.1?
by Gary Chambers
Regards, Gary
----- Original Message -----
From: "Hilaire Fernandes" <hilaire(a)ofset.org>
To: <pharo-project(a)lists.gforge.inria.fr>
Sent: Saturday, February 06, 2010 5:04 PM
Subject: [Pharo-project] broken polymorph example in 1.1?
> Is it me or examples of the Polymorph usage are broken?
>
> For example exampleOtherControls break
>
> Hilaire
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Feb. 8, 2010
Re: [Pharo-project] something in 1.1 broke ImageSegment
by Mariano Martinez Peck
>
>
>
>> I have to debug a bit further for a solution though, sorry...
>>
>>
> Don't problem. We have time :) If you have a solution please let me know.
> I really have no idea at all how to fix it.
>
> A temporary fix is to revert by doing
> nil ifNil: [] instead of self basicChunk ifNil: []
> in MultiByteFileStream >> nextChunk.
> Reading it in will be 2x as slow again though ;)
>
>
I wanted to run ImageSegment tests before commiting as I have been cleaning
and organizing them a bit better. With this little workaround I can at least
test them and see that I didn't break anything. I will commit my slice
although they are not totally working because of this.
For this problem I created the issue:
http://code.google.com/p/pharo/issues/detail?id=1941
Thanks
Mariano
> Cheers,
> Henry
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Feb. 8, 2010
Re: [Pharo-project] something in 1.1 broke ImageSegment
by Henrik Sperre Johansen
On 08.02.2010 09:21, Mariano Martinez Peck wrote:
>
>
> 2010/2/8 Henrik Sperre Johansen <henrik.s.johansen(a)veloxit.no
> <mailto:henrik.s.johansen@veloxit.no>>
>
> On 07.02.2010 23:11, Mariano Martinez Peck wrote:
>> Thank you very much Laurent.
>>
>> 2010/2/7 laurent laffont <laurent.laffont(a)gmail.com
>> <mailto:laurent.laffont@gmail.com>>
>>
>> Screenshot missing
>>
>> Laurent Laffont
>>
>>
>> 2010/2/7 Mariano Martinez Peck <marianopeck(a)gmail.com
>> <mailto:marianopeck@gmail.com>>
>>
>> Hi folks. I was just running ImageSegment tests in 11196
>> and it is broken: 3 failing tests and 5 error. Most of
>> them seems related to the same thing.
>>
>> I have a Syntax Error. Probaly it is due to some stuff
>> integrated in the latests updates to 1.1. Then problem
>> seems when writing the segment to disk and then when
>> loading...
>>
>> I attach an screenshot. Does someone has an idea what can
>> be the problem or how to fix it ?
>>
>> To reproduce, just run the tests ImageSegmentTest,
>> ImageSegmentTestExport and ImageSegmentTestSwap
>>
>> Thanks!!!
>>
>> Mariano
>>
> I believe its due to stream positioning when crossing buffer
> boundries in basicChunk,
>
>
>
> Hi Henrik! Are you talking about
> http://code.google.com/p/pharo/issues/detail?id=1880 ??
>
Yes.
>
> I have to debug a bit further for a solution though, sorry...
>
>
> Don't problem. We have time :) If you have a solution please let me
> know. I really have no idea at all how to fix it.
A temporary fix is to revert by doing
nil ifNil: [] instead of self basicChunk ifNil: []
in MultiByteFileStream >> nextChunk.
Reading it in will be 2x as slow again though ;)
Cheers,
Henry
Feb. 8, 2010