Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006975 [Squeak] Morphic minor always 03-10-08 00:27 03-17-09 04:58
Reporter wiz View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0006975: [RFE] Better event distictions between drag, click and mouse up.
Description 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.

Additional Information 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.
Attached Files  MouseTransitions2.gif [^] (18,416 bytes) 03-17-08 23:38

- Relationships

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

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. 

- Notes
(0011932 - 136 - 136 - 136 - 136 - 136 - 136)
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.
 

- Issue History
Date Modified Username Field Change
03-10-08 00:27 wiz New Issue
03-17-08 23:38 wiz File Added: MouseTransitions2.gif
03-18-08 00:00 wiz Note Added: 0011932
03-18-08 00:12 wiz Relationship added related to 0006973
03-18-08 00:15 wiz Relationship added related to 0006954
05-09-08 02:04 wiz Relationship added parent of 0001567
05-09-08 02:05 wiz Relationship added parent of 0001037
05-09-08 02:07 wiz Relationship added related to 0002496
03-17-09 04:58 wiz Relationship added related to 0007039


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
58 total queries executed.
38 unique queries executed.
Powered by Mantis Bugtracker