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

Selected widgets are not cleared after drag ends #157

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

Selected widgets are not cleared after drag ends #157

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 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?
   Standards

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

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

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

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?
   Chrome, Firefox, IE, Safari

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

What steps will reproduce the problem? Please attach sample code if you can.
   Note, we use drag proxies and create new elements when dropped.
   1. Select multiple widgets via CTRL.
   2. Drag them to a new position.
   3. DragController retains items as being selected even if original items no longer exist on document.

What is the expected output? What do you see instead?
   I would expect that when a drag operation ends, not only does the dragEndCleanup cleanup the dropController and the draggable, but also any selected widgets (make a call to dragController.clearSelection()).

Do you have a workaround?
   Make a call to context.dragController.clearSelection() somewhere in your code after your drop has finished.

Original issue reported on code.google.com by ag...@redesetgrow.com on 22 Feb 2012 at 3:42

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