Mantis - Squeak
Viewing Issue Advanced Details
1771 Morphic minor always 09-07-05 07:15 02-15-06 18:54
wiz  
 
normal  
closed  
fixed  
none    
none 3.9  
0001771: [Fix] [Enh] DoubleClickExample last worked as specified in 2.7. Propose ClickExerciser as a replacement.
Double click example was written to test the double click code at a time when it worked much differently that it does now. The comment in the startDrag: method is ten releases out of date.
The specs have changed. An action for double click time out has been added.
And the double click logic has predicates that make it work very differently depending on whether there are selectors for doubleclick or not and ditto for drag selectors.
In the process of working on more maintainable code for doubleclick logic I modified the example extensively to test all the crannies of logic now present and to allow for the specification of which selectors will be present.
The ClickExerciser is the modern day equivalent of what DoubleClickExample was in its day.


See also
Mantis 0001567 (current locus of double click work)
Mantis 0001067 (some early analysis of double click logic)
Mantis 0001347 ( another double click bug unrelated to above)


uploaded ClickExerciser-wiz.2.cs
child of 0006530new  A mother for button, slider and menuItem targeting and argumenting related reports. 
 ClickExerciser-wiz.2.cs [^] (7,229 bytes) 09-07-05 07:15

Notes
(0003867)
MarcusDenker   
02-15-06 18:54   
Closed, as it's in 3.9a:

Name: MorphicExtras-jmv.9
Author: jmv
Time: 12 January 2006, 1:33:41 pm
UUID: 2720167c-765e-9541-8f14-dd3789d8fca8
Ancestors: MorphicExtras-CdG.7

This version includes stuff from one or more of:
Mantis-1092-MorphDropFix, fix by Edgar De Cleene (edc) and Scott Wallace (sw)
Mantis-0503-TargetSighting, fix by Jerome Peace (wiz)
Mantis-1015-SnapView, fix by Jerome Peace (wiz)
Mantis-1771-ClickExerciser, fix by Jerome Peace (wiz)
Mantis-1625-Thumbnails, fix by Jerome Peace (wiz)
Mantis-1484-TrashHalo, fix by Jerome Peace (wiz)
Mantis-1454-ArrowPrototypeFix, fix by Jerome Peace (wiz)
Mantis-1347-ListDoubleClick, fix by Jerome Peace (wiz)
Reviewed by Juan Vuletich (jmv)