[Webkit-unassigned] [Bug 35287] New: ImageSourceCG::frameIsCompleteAtIndex returns false for all frames until image has completed loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 23 01:45:50 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35287

           Summary: ImageSourceCG::frameIsCompleteAtIndex returns false
                    for all frames until image has completed loading
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://i.imgur.com/Zgc5p.gif
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com
            Blocks: 35115


While looking in to bug 35115 I noticed that
BitmapImage::frameIsCompleteAtIndex was always returning false until the
complete image had loaded.  Further analysis revealed that
CGImageSourceGetStatusAtIndex seems to claim that all frames of an animated GIF
are incomplete when using an incremental image source that has not yet received
the complete data of the image. This certainly isn’t the behavior that the
author of ImageSource::frameIsCompleteAtIndex (or any reasonable person)
expects. I’m not sure if this behavior changed from Leopard to SnowLeopard, but
I filed a bug against CGImageSourceGetStatusAtIndex expressing my displeasure
at the misleading results that it gives (<rdar://problem/7679174>).

We should attempt to work around <rdar://problem/7679174> and have
frameIsCompleteAtIndex return a more useful answer.  This will allow the fix
from bug 35115 to be landed, which will fix an issue with the timing of the
start of animations that are loaded from the cache (or a very quick network).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list