[squeak-dev] Re: [BUG] Click events are only honored after moving the mouse

Jerome Peace peace_the_dreamer at yahoo.com
Sat May 10 00:34:25 UTC 2008


[squeak-dev] Re: [BUG] Click events are only honored after moving the mouse

>Adrian Lienhard adi at netstyle.ch 
>Thu May 8 20:23:39 UTC 2008 
>
>
>
>On May 8, 2008, at 20:15 , Keith Hodges wrote:
>
>> Karl Ramberg wrote:
>>> Bert Freudenberg wrote:
>>>> On 08.05.2008, at 11:14, Adrian Lienhard wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> From time to time it happens that the image gets into a weird  
>>>>> state where click events are only honored after moving the mouse.  
>>>>> For example, in the code browser you click on a method but  
>>>>> nothing happens until you start moving the cursor. The problem  
>>>>> does not seem to go away again.
>>>>>
>>>>> Has anybody else seen this problem? If yes, does a Mantis report  
>>>>> exist that I have not found?
>>>>
>>>>
>>>> I have seen this, too. On Linux for sure, and maybe on Mac OS. No  
>>>> idea for the cause.
>>> Yup, been there. Annoyance issue for sure.
>>>
>>> Karl
>>>
>> This was resolved for me using some of Andreas' semaphore fixes.
>> Try 3.9.1 or 3.10.
>
>I use those fixes, but the problem has not gone away since.
>

Cool. Hard bugs are easier to fix. 
Please write up a mantis report describing 
how one can get to the broken point.

see also: 
http://bugs.squeak.org/view.php?id=6975
6975: [RFE] Better event distictions between drag, click and mouse up.	


I've updated the relationships to point to earlier (closed) reports I worked on.

There are a bunch of problems (imho) with MouseClickState and its current handler. 
I made an earlier pass at them but did not persue getting the fixes into an image. 
I would be happy to pick up the fight again 
if you provided some ammunition in the form of a Mantis report.

My last efforts did result in a MouseClickExerciser 
which updated Dan's DoubleClickExample to meet current expectations. 
That is now in the image Objects tool under demo. 

I also dabbled in some tools for analyzing click state problems. 
One of my observations is that when waiting for double clicks 
most morphs will lose mouse focus after the first click (mouseup). 
To my mind this will be found to be a culprit for some bug.  
But I don't know which one. 

So describe your problem in enough detail to allow it to be reproduced. 
Start a seed for the issue on mantis and I will see what can be done.

Yours in curiosity and service, --Jerome Peace






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Squeak-dev mailing list