Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

ListBox Items can't be selected in Chrome when dragable #160

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments
Open

ListBox Items can't be selected in Chrome when dragable #160

GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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>
(since this is needed for UIBinder to work)

What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.4.0 but happend on previous versions also

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

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

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

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?
issue occurs only in chrome, not in Firefox & IE

What is the browser version (if you know) from Help->About?
18.0.1025.142 (Entwickler-Build 129054 Linux) Ubuntu 11.04

What steps will reproduce the problem? Please attach sample code if you
can.
1. Create a com.google.gwt.user.client.ui.ListBox and put it visible on your UI
2. make this ListBox dragable: dragController.makeDraggable(widget);
3. reduce drag sensitivity (makes ListBox items selectable in other browsers, 
but not in chrome) dragController.setBehaviorDragStartSensitivity(3);

What is the expected output? What do you see instead?
If one clicks on an item of the ListBox, it should be selected, if one drags, 
the drag should be initiated. In chrome only the dragging works, not the 
selecting.

Do you have a workaround?
For the moment I disabled the makeDragable in case I am running in the chrome 
browser, that way the items are selectable, but I can't drag.


Original issue reported on code.google.com by [email protected] on 18 Apr 2012 at 11:59

@GoogleCodeExporter
Copy link
Author

I just upgraded gwt-dnd to version 3.1.2 and the problem persists.

Original comment by [email protected] on 18 Apr 2012 at 1:00

@GoogleCodeExporter
Copy link
Author

The bug also exists with IE9, and in Firefox he always tries to multi-select 
items, as if I where holding down shift or strg key

Original comment by [email protected] on 25 Apr 2012 at 11:00

@GoogleCodeExporter
Copy link
Author

Same problem with Google Bookmarks !!

Original comment by [email protected] on 22 Oct 2012 at 4:55

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant