Hi Everyone,
A workaround exists, it could be something like the following:
//Qooxdoo 4.0 blocks mouse events on svg components. This is workaround.
qx.bom.Event.$$stopPropagation_old = qx.bom.Event.stopPropagation;
qx.bom.Event.stopPropagation = function(e)
{
if(typeof e.target.className !== "object")
qx.bom.Event.$$stopPropagation_old(e);
};
Dmitry
17.06.2014 21:02, Dmitry Pryadkin ?????:
Hi Everyone,
Qooxdoo 4.0 has the following code in
qx.log.appender.Console.__onKeyPress:
__onKeyPress : function(e)
{
if (e instanceof qx.event.type.Tap || e instanceof
qx.event.type.Pointer) {
var target = e.getTarget();
if (target && target.className &&
target.className.indexOf("navigationbar") != -1) {
this.toggle();
}
return;
}
...
The above code may be executed by Qooxdoo against SVG element targets.
In that case it fails with uncaught exception while accessing
target.className.indexOf, where className is SVGAnimatedString.
I have this stack trace:
qx.log.appender.Console.__onKeyPress()
qx.event.dispatch.AbstractBubbling.prototype.dispatchEvent()
qx.event.Manager.prototype.dispatchEvent()
qx.event.Registration.fireEvent()
qx.event.handler.Gesture.prototype._fireEvent()
qx.event.handler.GestureCore.prototype.__fireLongTap()
Thanks
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel