Ticket #931 (closed defect: wontfix)
Xinha hangs while loading toolbar images; also pulls down server
|Reported by:||ub||Owned by:||gogo|
I made a very strange experience when using Xinha in IE6.
When I am trying to open the Xinha example(/demo) pages (http://xinha.raimundmeyer.de/x_examples/ext_example.html or http://xinha.gogo.co.nz/xinha-nightly/examples/ext_example.html) using IE6 the editor "hangs". Only some toolbar buttons or no buttons at all are displayed. (see screenshot). It looks like the editor is waiting for some images that are not delivered. I "sniffed" the HTML traffic and noticed that indeed one image is requested more than once, but only returned once by the server. (see bottom of this image)
In addition that I noticed that after I opened an editor in IE the server seems to hang, too. I.e. further requests to the server (from a different browser, even from a different machine) time out. After a while (like 5 minutes or so) the server is responsive again. I tried this out both on the xinha.raimundmeyer.de and xinha.gogo.co.nz server. Maybe you can see in the server log what went wrong?
Everythings works fine when using Firefox 1.5.
In a local setting I could reproduce that behaviour, too. After some experiments I found out that this problem does not occur when the images are already "loaded" when editor opens. Therefore I added the following stuff to my HTML file. With this modification now also the IE can be used.
<!-- Because IE may hang if multiple images must be loaded dynamically "preload" the most frequently used now --> <span style="display:none;"> <img src="easyedit/images/de/bold.gif"/> <img src="easyedit/images/de/underline.gif"/> <img src="easyedit/images/de/italic.gif"/> <img src="easyedit/images/ed_buttons_main.gif"/> <img src="easyedit/images/ed_selectall.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-delete.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-insert-after.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-insert-before.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-merge.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-prop.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/cell-split.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/col-delete.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/col-insert-after.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/col-insert-before.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/col-split.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/row-delete.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/row-insert-above.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/row-insert-under.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/row-prop.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/row-split.gif"/> <img src="easyedit/plugins/TiddlyWikiTableOperations/img/table-prop.gif"/> </span>
If you want to reproduce this you may want to clear your temporary internet files (i.e. cached images) since this problem only seems to appear when an image really is downloaded from the server (and not take from the cache).