Bug 30182

Summary: Animation stalls for a few seconds partway through
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
mitz: review+
I think this testcase reproduces the problem none

Simon Fraser (smfr)
Reported 2009-10-07 13:54:33 PDT
If you run the attached testcase with layer borders turned on, you'll see that the animating red box stalls for a couple of seconds part-way through. The issue is that we're calling -disableScreenUpdatesUntilFlush on the NSWindow when there is actually no view drawing to be done, so that the window flush never happens. This means that screen updates end up being disabled until the watchdog enables them again (after 2 seconds).
Attachments
Patch (1.61 KB, patch)
2009-10-07 14:03 PDT, Simon Fraser (smfr)
mitz: review+
I think this testcase reproduces the problem (1.42 KB, text/html)
2010-04-30 16:03 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2009-10-07 14:03:37 PDT
Simon Fraser (smfr)
Comment 2 2009-10-07 15:53:31 PDT
Simon Fraser (smfr)
Comment 3 2010-04-30 16:03:42 PDT
Created attachment 54830 [details] I think this testcase reproduces the problem
Note You need to log in before you can comment on or make changes to this bug.