Hello List, I have encountered an issue that only occurs with the build version of my Qx 1.3 app, and only occurs on the Safari browser.
The source and build apps for fine on IE, FF and Chrome. On Safari 5.0.3 for Windows XP sp2 the source app works fine, but the build app fails to start up. The observable symptom is that document.body is null at the point in time when the qx.application.AbstractGui attempts to attach a mouseover listener during application initialisation. The stack trace is as follows: qx.event.Manager.prototype.addListener() qx.event.Registration.addListener() qx.ui.tooltip.Manager.Constructor() qx.getClass.getInstance() qx.application.AbstractGui.prototype.main() qx.core.Init.ready() qx.event.dispatch.Direct.prototype.dispatchEvent() qx.event.Manager.prototype.dispatchEvent() qx.event.Registration.fireEvent() qx.event.handler.Application.prototype.__ck() (anonymous function) qx.event.handler.Application.prototype._onNativeLoad() (anonymous function) To confirm the problem I added the following alerts to qx.ui.tooltip.Manager.construct(): construct : function() { this.base(arguments); // Register events alert("1) document=" + document); alert("2) document.body=" + document.body); qx.event.Registration.addListener(document.body, "mouseover", this.__onMouseOverRoot, this, true); alert("3) post-mouseover"); // Instantiate timers this.__showTimer = new qx.event.Timer(); this.__showTimer.addListener("interval", this.__onShowInterval, this); this.__hideTimer = new qx.event.Timer(); this.__hideTimer.addListener("interval", this.__onHideInterval, this); // Init mouse position this.__mousePosition = { left: 0, top: 0 }; }, alert number 1) shows the HTMLDocument object. alert number 2) shows null. alert number 3) never occurs. I have tried to replicate this error in a simple HelloWorld app, but the problem does not occur in a trivial application. I have also tried removing all ToolTips from my application, but it seems that tooltip.Manager is initialised from AbstractGui even if my app doesn't contain any ToolTips. I am not sure why my build client won't work in Safari. Can anyone offer any suggestions as to what I can try next? Thanks, Simon -- View this message in context: http://qooxdoo.678.n2.nabble.com/Issue-Qx-1-3-build-client-on-Safari-tp5934555p5934555.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel