fredsa / gwt-dnd

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

Error when holding item on a border for extended period of time... #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use 'getting started' code base
2. Add IndexedFlowPanel (called main) to boundaryPanel
3. add targetpanel to a panel that is draggable (named -> dragPanel)
4. add dragPanel to a called main
5. grab any item and hold it on the boarder between two items so it
flickers, (addition point moves quickly, between two points.)

What is the expected output? 
drag carried out without issue

What do you see instead?

[ERROR] Uncaught exception escaped
java.lang.RuntimeException: Failed to invoke native method:
@com.google.gwt.user.client.impl.DOMImplMozilla::getAbsoluteLeft(Lcom/google/gwt
/user/client/Element;)
with 1 arguments.
    at com.google.gwt.dev.shell.moz.LowLevelMoz.invoke(LowLevelMoz.java:294)
    at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNative(ModuleSpaceMoz.java:218
)
    at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNativeInt(ModuleSpaceMoz.java:
130)
    at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:101)
    at
com.google.gwt.user.client.impl.DOMImplMozilla.getAbsoluteLeft(DOMImplMozilla.ja
va:51)
    at com.google.gwt.user.client.DOM.getAbsoluteLeft(DOM.java:507)
    at
com.google.gwt.user.client.ui.MouseListenerCollection.fireMouseEvent(MouseListen
erCollection.java:66)
    at com.google.gwt.user.client.ui.Label.onBrowserEvent(Label.java:110)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:968)
    at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:951)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:919)
    at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:63)

What version of the product are you using? On what operating system?

version r202, Ubuntu fiesty 

Please provide any additional information below.

This is probably occurs because of constant call of events to javascript
you might be able to solve it by slowing down event calls.

Original issue reported on code.google.com by matt.and...@gmail.com on 21 Apr 2007 at 10:26

GoogleCodeExporter commented 9 years ago
here's the file for code

Original comment by matt.and...@gmail.com on 21 Apr 2007 at 10:51

Attachments:

GoogleCodeExporter commented 9 years ago
Fred pointed out that bug is only reproducable in "hosted mode" but issue isn't
present in compiled code.

I'm happy with it working in compiled mode.

I'm happy if bug is withdrawn 

Original comment by matt.and...@gmail.com on 21 Apr 2007 at 11:10

GoogleCodeExporter commented 9 years ago
will file bug with hosted mode browser

Original comment by matt.and...@gmail.com on 21 Apr 2007 at 11:11

Attachments:

GoogleCodeExporter commented 9 years ago
In discussions with Matt it appears this is a slow script warning (SSW) in 
hosted
mode only

Original comment by fredsa on 6 May 2007 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by fredsa on 23 Aug 2007 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by fredsa on 23 Aug 2007 at 3:50