I have got to the bottom of it.
All my previous theories were wrong, and the real issue was actually
trivial.
Because some (not all) of my Qx projects have been migrated up through many
Qx versions (going way back to the 0.5 era), SOME of my projects had
index.jsp and/or index.html files without an explicit <body></body> element.
Apparently the other browsers (IE, FF, Chrome) will diligently insert a body
element (if it is missing) before running any javascript. Safari, on the
other hand, start running javascript before inserting the missing body
element.
The fix was simply to explicitly put in and empty body element.
Simon
On Wed, Jan 19, 2011 at 9:43 PM, Tino Butz <tino.b...@1und1.de> wrote:
> Just save the responses and use a diff tool to see the difference, e.g.
> http://winmerge.org/ when you use windows.
>
> Am 19.01.2011 um 11:38 schrieb Simon Bull:
>
> Hi Rob,
>
> Thanks for your suggestion. I don't think it could be to do with the JSP
> compiler as I still see the issue (for some Qx applications) even when I use
> only an index.html. I will have a look at the HTTP response anyway, just to
> get a more complete picture.
>
> Simon
>
>
> On Wed, Jan 19, 2011 at 9:19 PM, Robert Nimax
> <robert.ni...@inform-ac.com>wrote:
>
>> Hi,
>> did you already compare the html response received by the browser ?
>> Maybe the JSP compiler or the servlet engine is doing somethint that you
>> won´t expect.
>> Cheers,
>> Rob.
>>
>> >>> Tino Butz <tino.b...@1und1.de> 1/19/2011 8:47 >>>
>> Hi,
>>
>> Did this solve your problem or is a JSP file your only option? I can not
>> see why this should make any difference - but the browsers hold a lot of
>> mysteries... ;)
>>
>> Tino
>>
>> Am 19.01.2011 um 04:04 schrieb Simon Bull:
>>
>> Hello Tino (and List),
>>
>> I have some more information.
>>
>> The bug only occurs in the build versions on Safari, and only if the file
>> downloaded to the browser is a JSP file rather than an HTML file.
>>
>> I have changed my index.jsp file back to an index.html and the problem
>> goes away (it took me most of a day to reach that conclusion!)
>>
>> Are you still interested in it as an issue?
>>
>>
>> On Tue, Jan 18, 2011 at 7:59 PM, Tino Butz <tino.b...@1und1.de> wrote:
>>
>>> Hi,
>>>
>>> Thanks for your report. Please open a bug report for this issue:
>>> http://bugzilla.qooxdoo.org.
>>>
>>> Thanks!
>>> Tino
>>>
>>> Am 18.01.2011 um 06:09 schrieb simonb:
>>>
>>> >
>>> > 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
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>
>> <ATT00001..txt><ATT00002..txt>
>>
>>
>> Tino Butz
>> Mobile Architect
>>
>> 1&1 Internet AG - Web Technologies
>> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
>> Telefon: +49 721 91374-4488
>> tino.b...@1und1.de
>>
>> Amtsgericht Montabaur / HRB 6484
>> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
>> Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
>> Mauss, Jan Oetjen
>> Aufsichtsratsvorsitzender: Michael Scheeren
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
> <ATT00001..txt><ATT00002..txt>
>
>
> Tino Butz
> Mobile Architect
>
> 1&1 Internet AG - Web Technologies
> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
> Telefon: +49 721 91374-4488
> tino.b...@1und1.de
>
> Amtsgericht Montabaur / HRB 6484
> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
> Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
> Mauss, Jan Oetjen
> Aufsichtsratsvorsitzender: Michael Scheeren
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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