This will help, but I think the real issue is the iframe's updateposition calls getting put on a queue. It seems you want each call to update the position to replace any others on the queue - in other words, the last call should win.

On 4/25/11 12:40 PM, P T Withington wrote:
[Try this out in addition to your patch.  I think it improves things a lot.  I 
still think we want your patch too, because I think that smooths out the redraw 
of the swf views, which flicker a lot otherwise.  In the long run, the swf 
kernel should probably have a mechanism where all drawing is deferred to idle 
-- the sprites should just track what they are supposed to look like, and then 
refresh on an idle event when they are 'dirty'.]

Change ptw-20110425-zC9 by [email protected] on 2011-04-25 15:33:24 EDT
     in /Users/ptw/OpenLaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Defer iframe updates to idle

Bugs Fixed: LPP-9916 iframe is lagging in the email app

Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)

Details:
     Syncronize iframe update to frame refresh

Tests:
     Test case from bug

Files:
M       lps/components/extensions/html.lzx


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110425-zC9.tar

Reply via email to