fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
43 stars 41 forks source link

VetoDragException from onPreviewDragStart() can prevent all future dragging #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of GWT are you using? 1.3.3? 1.4.60? Other?
2.0.2

What version of the gwt-dnd jar file or library file are you using?
3.0.1

What operating system(s) are you using? Windows? Linux? Mac?
OS X 10.6.2

Does the issue occur in web mode, hosted mode, both or don't know?
Both

What browser(s) do you use? Firefox, IE, Safari, other?
Safari

What is the browser version (if you know) from Help->About?
4.0.5

What steps will reproduce the problem? Please attach sample code if you
can.
1. Apply attached patch 'DemoDragHandler.diff' to  
com.allen_sauer.gwt.dnd.demo.client.DemoDragHandler. This will make it so 
attempting to drag 
Widget #5 in Demo 1 will throw a VetoDragException.
2. Run the demo and open Demo 1
3. Click and drag Widget #5, drag the mouse until the pointer is outside of the 
widget

What is the expected output? What do you see instead?
Expected: Dragging Widget #5 will do nothing, but other widgets are draggable 
after attempting 
to drag Widget #5
Actual: You cannot drag any of the widgets until you do a mouseUp over Widget #5

Do you have a workaround?
Apply attached patch 'MouseDragHandler.diff" to 
com.allen_sauer.gwt.dnd.client.MouseDragHandler

Please provide any additional information below.

Original issue reported on code.google.com by swil...@gmail.com on 18 Mar 2010 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this and supplying a patch

This should be fixed in r1027.

Original comment by fredsa@google.com on 1 Apr 2010 at 8:17

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 114 has been merged into this issue.

Original comment by fredsa@google.com on 29 Sep 2010 at 5:18