Opened 11 years ago

Closed 4 years ago

#7209 closed defect (patchwelcome)

Moveable drag breaks when using delay property

Reported by: dtgriscom Owned by: Eugene Lazutkin
Priority: low Milestone: 1.13
Component: DnD Version: 1.1.1
Keywords: reviewed Cc:
Blocked By: Blocking:

Description

There is a bug in dojo.dnd.Moveable, where if the delay property is used then dragging will fail if the user drags off of the edge of the Moveable before the delay has finished.

The attached demo includes three Moveables, each 10x10 pixels, with a delay value of 5. If you click near the top of one and drag down, the 5 pixels of delay will terminate while still inside the Moveable and dragging will properly start. However, if you click near the bottom and drag down, the delay will still be active when the cursor leaves the Moveable and dragging will never start.

If dragging fails, then the next time you roll over the Moveable dragging will start, even if you've released the mouse button in the meantime, and even if you've started dragging another Moveable.

Attachments (1)

dragFailureDelay.html (1.6 KB) - added by dtgriscom 11 years ago.
Demo of Moveable drag failure with delay

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by dtgriscom

Attachment: dragFailureDelay.html added

Demo of Moveable drag failure with delay

comment:1 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving all open ticketd to the future.

comment:2 Changed 7 years ago by ben hockey

Keywords: needsreview added

i'm trying to identify stale tickets. if there is a need to keep this ticket open, please replace the "needsreview" keyword with "reviewed". if there is no need to keep this ticket open then please close it.

comment:3 Changed 7 years ago by bill

Keywords: reviewed added; needsreview removed

It still reproduces, plus even when you drag in the middle of the square it jumps at the start of the drag. It should be fixed.

comment:4 Changed 4 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.