SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

Mantis - Squeak
Viewing Issue Advanced Details
6975 Morphic minor always 03-10-08 00:27 03-17-09 04:58
wiz  
 
normal  
new  
open  
none    
none  
0006975: [RFE] Better event distictions between drag, click and mouse up.
Context: When event handling you often want to do different things depending on whether the mouse has been moved or not between mouse down and mouse up.

The problem: right now is that there are many mechanisms for dealing with events. But none that make it easy to deal with the distinction between firstdrag/ remaining drags or clickup / dragup.

The solution: (so far)
has been to avoid the clickstate manager stuff in favor of one-step-ahead juggling of event manager actions.

there are three basic mouse actions
down move and up.

once the mouse has gone down the next move will be start drag or the next up (with no move) will be click up.
the first move means that the next move will be simply a drag and the next up will be a drag-up not click-up.

So the issue at hand is to formalize the juggling of state into something like an extended event handler. (EventJuggler ?) And maybe cleanup some other problem at the same time.
related to 0006973new  Squeak [Enh] better MouseMoveEvent interaction with a targetPoint 
related to 0006954new  Squeak Packages ExternalWebBrowser does not load on Windows in Stable 3.9 Universe 
related to 0002496closed  Squeak Can't open world menu after halo's opened 
related to 0007039new  Squeak Click events are only honored after moving the mouse 
parent of 0001567closed  Squeak [BUG][FIX] PLM click on two different mouse buttons interpreted as double click 
parent of 0001037closed  Squeak [bug] [testers] Click state handler causes mouse up to be processed twice because of (unitended?) recursion. 
 MouseTransitions2.gif [^] (18,416 bytes) 03-17-08 23:38

Notes
(0011932)
wiz   
03-18-08 00:00   
MouseTransitions2.gif is a diagram of my notion of how to handle the distinctions of mouse state as it relates to a morph of interest.