Hello John,
It is possible to make the element be visible simply by adding a line to
qx.html.Element.flush() to reference element.offsetHeight immediately after
setting the element.style.display. This is reliably reproducible in my test
case – although the app is not small and concise enough for a playground demo
right now.
As a fix this works well, but I'm wondering whether always referencing
offsetHeight would cause a performance degradation, and are there any tools in
the Qooxdoo kit to test it?
Querying offestHeight triggers a redraw of the browser and with that, can sure
decrease performance. One reason we introduced the qx.html layer is to prevent
the redraw of the browser so triggering a flush is somehow against the basic
idea of the queue. But the issue seems to be interesting and should be fixed in
the framework it the source of the bug is in the framework itself. Do you plan
to strip your app down to a playground sample?
Regards,
Martin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel