Opened 12 years ago

Closed 12 years ago

#10731 closed defect (duplicate)

dojox.gfx.Moveable used with delay can get into bad state

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone: tbd
Component: DojoX GFX Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:



  • Use dojox.gfx.Moveable on a shape and have a delay (a larger delay will cause this issue to be more prominant).
  • Drag quickly on the shape to the outside such that the mouse move interval exceeds the drag and then mouse-up outside of the shape.
  • move mouse back over the shape...


  • If you are handling the onFirstMove override, then you may be creating feedback while your mouse button is up. From the user standpoint they have released the mouse and the gesture should be over.


  • Probably the move should be terminated when the mouse leaves the shape because the internal exceeded the delay.

I have attached a file with suggested changes in dojox.gfx.Moveable. Basically a handler for "onMouseLeave" has been added that checks if the move hasn't been started and calls this.onMouseUp to terminate the move.

Change History (2)

comment:1 Changed 12 years ago by [email protected]

this should be closed - has the proper content and attachments

comment:2 Changed 12 years ago by Adam Peller

Component: GeneralDojoX GFX
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.