fredsa / gwt-dnd

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

on chrome on Linux the page gets selected on drag #186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Does the issue occur in "quirks mode", "standards mode" or both? If you
don't know, does your HTML page contains a DOCTYPE declaration?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">

What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.7.0

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

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

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?
both superdevmode and web mode

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?
It happens only on chrome. Confirmed on Version 40.0.2214.115 (64-bit)
Does not reproduce on firefox, don't know about others.

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

What steps will reproduce the problem? Please attach sample code if you
can.
It happens even on the project examples: 
https://gwt-dnd.appspot.com/#InsertPanelExample
1: drag and drop any widget anywhere
2: the whole page gets selected (see screenshot)

What is the expected output? What do you see instead?
Do not select the whole screen after drop

Do you have a workaround?
yes, set this two values explicitly:
dragController.setBehaviorDragStartSensitivity(3);
dragController.setBehaviorCancelDocumentSelections(true);

Please provide any additional information below.

Original issue reported on code.google.com by jelkosz@gmail.com on 8 Mar 2015 at 7:39

Attachments: