Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4140 closed defect (fixed)

DnD can be stopped by clicking the other mouse button from the mouse button that started the drag

Reported by: Ben Lowery Owned by: Eugene Lazutkin
Priority: high Milestone: 1.0.2
Component: DnD Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

To repro: 1) Start a drag with the left mouse button 2) Click the right mouse button while holding down the left mouse button 3) Notice that the drag just stopped where ever you happened to be

It would be nice to force a drag to stop using the same mouse button that triggered it. If that's not feasible, maybe only the left mouse button can start / end a drag (for mouse events at least).

Change History (13)

comment:1 Changed 12 years ago by dante

Component: GeneralDnD
Owner: changed from anonymous to Eugene Lazutkin

comment:2 Changed 12 years ago by Eugene Lazutkin

Milestone: 1.1

comment:3 Changed 12 years ago by Eugene Lazutkin

Status: newassigned

comment:4 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [11065]) dnd: fixes #4140, thx blowery for the enhancement suggestion.

comment:5 Changed 12 years ago by Eugene Lazutkin

(In [11081]) dnd: propagating changes from DnD to Moveable, refs #4140.

comment:6 Changed 12 years ago by bill

Milestone: 1.11.0

comment:7 Changed 12 years ago by Eugene Lazutkin

Milestone: 1.01.0.1

comment:8 Changed 12 years ago by Eugene Lazutkin

Milestone: 1.0.11.0

reverting bad milestone change

comment:9 Changed 12 years ago by Eugene Lazutkin

(In [11745]) Allow mouseless start of DnD. Refs #4140.

The DnD can be started by dojo.dnd.manager().startDrag() without recording what mouse was pressed to start it. This fix allows this scenario.

comment:10 Changed 12 years ago by Eugene Lazutkin

(In [11746]) Propagating changes from [11745] to the Dojo 1.0.2 branch. Refs #4140.

comment:11 Changed 12 years ago by Eugene Lazutkin

(In [11747]) Replacing spaces with tabs, propagating changes from [11746]. Refs #4140.

comment:12 Changed 12 years ago by Eugene Lazutkin

(In [11748]) Propagating changes from [11747] to the Dojo 1.0.2 branch. Refs #4140.

comment:13 Changed 12 years ago by Eugene Lazutkin

Milestone: 1.01.0.2

The trunk and the Dojo 1.0.2 branch is synced up.

Note: See TracTickets for help on using tickets.