fredsa / gwt-dnd

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

Draggable jumps when use setBehaviorDragStartSensitivity() with non zero argument #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of GWT are you using? 1.7

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

What operating system(s) are you using? Windows

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

What browser(s) do you use? Happens in all browsers

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

What steps will reproduce the problem? Please attach sample code if you
can.
1.Call setBehaviorDragStartSensitivity(1); on drag controller
2.Call makeDraggable with 2 args: ( dragController.makeDraggable(draggable,
dragHandler)
3.Drag object

What is the expected output? Normal drag behavior

What do you see instead? Draggable object jumps for a moment to point (0,0)
then jumps back and further drag works well.

Do you have a workaround? When you set setBehaviorDragStartSensitivity to
zero, all things work fine

Please provide any additional information below:

You may see the problem in action here: http://www.softaria.com 
Just start dragging any window.

You may get source code from SVN of this project:
http://code.google.com/p/softariawebdesktopmanager/ See 
com.softaria.windows.widgets.Frame

Original issue reported on code.google.com by ro...@softaria.com on 7 Aug 2009 at 3:36

GoogleCodeExporter commented 9 years ago
Thanks for the report. This is fixed in both the GWT 1.7 + trunk gwt-dnd 
branches, 
although there is no jar to download just as yet.

Fixed in r938

Original comment by fredsa on 11 Aug 2009 at 5:38

GoogleCodeExporter commented 9 years ago
Thank you for the fix. I have one more question - is r938 is a stable version?
In other word should I take it right now or better wait for the next release?

Original comment by ro...@softaria.com on 11 Aug 2009 at 5:46