Closed dankurka closed 9 years ago
Alex, I'll send this Joel's way in case it rings any bells, but if you could provide
a
repro code snippet, that would be tremendously helpful in figuring out why the code
in
the DomImplMozilla.isOrHasChild is buggy.
Reported by sumitchandel+legacy@google.com
on 2009-08-26 22:14:46
NeedsInfo
I think it's the underlying Mozilla implementation of that Javascript method that's
buggy. I can't provide a code snippet, unfortunately, because it's a result of a
complex interaction in a complex UI, and I don't know exactly how to trigger it.
All I can say is it arises from MouseListenerCollection:95 call to
DOM.isOrHasChild(senderElem, to) which translates to the Javascript
!(senderElem.compareDocumentPosition(to) & 16))
My hunch is that you can repro it when either senderElem or to is unattached. Either
way, it's a Mozilla bug and I don't think there's anything better you can do in GWT
than to trap the Mozilla exception and ignore it. That's what the attached patch
does and I'm successfully using in my app now.
Reported by alexander.epshteyn
on 2009-08-27 03:24:01
is it still reproducible in gwt 1.7?
Reported by epishkin
on 2009-09-11 09:11:19
Alexander, thanks for your workaround!
It fixed that issue in our application (gwt 1.5 & gxt 1.2.4). In our application this
error happens in com.extjs.gxt.ui.client.widget.form.DualListField when user moves
cursor to the vertical scrollbar of any list field of DualListField
Reported by epishkin
on 2009-09-11 10:30:36
I'm using gwt 1.5 & gxt 1.2.4 too and I fixed it with your workaround. Thanks! I hope
it was fixed in gwt 1.7.1.
Reported by lunarjchav
on 2009-10-21 07:54:30
I encountered this problem using gwt 1.7.1 (I do not use gxt). The problem seems to
occur when I cursor over a vertical scrollbar. Applying your workaround fixed the
problem for me. Thanks.
Reported by jimcampsw
on 2009-12-08 17:24:53
Reported by kurka.daniel
on 2012-12-16 10:48:35
AssumedStale
Originally reported on Google Code with ID 3977
Reported by
alexander.epshteyn
on 2009-08-21 22:53:26