Closed GoogleCodeExporter closed 9 years ago
Sorry, jwt-dnd version is 2.5.2
Original comment by tom...@gmail.com
on 19 Jul 2008 at 9:31
exists in GWT 1.7.0, gwt-dnd 2.5.6
Original comment by Alek...@gmail.com
on 23 Sep 2009 at 5:28
Tomerb, you pointed out that you have an workaround for this problem. I've
tried to
follow your suggestion, but couldn't make it work. PopupPanel has a private
member
nativePreviewHandlerRegistration (I assume that holds a reference to needed
nativePreview) As I can't use reflection framework to get that reference - how
can I
implement the workaround?
Original comment by Alek...@gmail.com
on 24 Sep 2009 at 7:22
Same problem with gwt-2.0-ms1 and gwt-dnd 2.6.5
Original comment by nicolas....@gmail.com
on 16 Oct 2009 at 7:53
Unfortunately, the way PopupPanel and gwt-dnd are designed, the two are largely
incompatible. gwt-dnd must detach and reattached widgets in order to drag them
correctly while PopupPanel is designed to be in control of it's "attachedness".
It
also as a fail safe in the form of an onUnload() method which disconnects the
event
preview if the widget is detached (as it is when gwt-dnd starts dragging it).
Instead of using PopupPanel, try one of these options:
1. Use DialogBox which can already be dragged by its heading without the need
for
gwt-dnd enabled dragging
2. Create your own panel (perhaps using DecoratorPanel) which can be dragged
with
gwt-dnd. Borrow some of the code from PopupPanel if you need to, but don't
include
the event preview code.
Marking as 'WontFix'.
Original comment by fredsa
on 19 Oct 2009 at 6:06
Original issue reported on code.google.com by
tom...@gmail.com
on 18 Jul 2008 at 9:47