[Webkit-unassigned] [Bug 9163] ALT image text displayed before image is loaded causing flashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 22 11:38:11 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=9163


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ALT image text displayed    |ALT image text displayed
                   |before image is loaded      |before image is loaded
                   |causing flashing            |causing flashing
                URL|http://64.233.167.104/search|http://64.233.167.104/search
                   |?q=cache:UI7OWmWT1egJ:lists.|?q=cache:UI7OWXmWT1egJ:lists
                   |apple.com/archives/Java-    |.apple.com/archives/Java-
                   |dev/2006/May/msg00333.html+C|dev/2006/May/msg00333X.html+
                   |FNetwork/129.16&hl=en&gl=us&|CFNetwork/129.16&hl=en&gl=us
                   |ct=clnk&cd=4&ie=UTF-        |&ct=clnk&cd=4&ie=UTF-
                   |8&client=safari             |8&client=safari




------- Comment #4 from ddkilzer at kilzer.net  2006-12-22 11:38 PDT -------
(In reply to comment #3)
> Dave, could you clarify how you would want WebKit to handle the situation? It's
> not clear to me if your bug is about WebKit's reloading of the image in this
> particular case, about the displaying of alt text prior to the first image data
> being available, or about something else.

There are actually two "flashes" that occur when the image is reloaded/redrawn.
 These may be seen quite easily when stepping through the movie (attachment
8594) frame-by-frame.

1. Flash-to-solid-blue before drawing final image.

2. Flash-to-alt-text before drawing final image.

Note that the last "flash" appears to be a combination of the two.

The original intent of this bug was to prevent the alt-text flashing (item #2
above).  I haven't reviewed any code, but it seems like WebKit is too quick to
draw alt text, especially if the image is locally cached.  IMO, drawing alt
text should be the "last resort", or at least wait longer than it does now.

I understand that for slow connections it's helpful to have alt text there
before the actual image comes in, but it just seems to flash too much in my
opinion.  (If no one else feels this way, feel free to close this bug.)

BTW, the URL in Comment #0 suddenly works now, so here's an invalid one that
will cause a similar page to be drawn:

http://64.233.167.104/search?q=cache:UI7OWXmWT1egJ:lists.apple.com/archives/Java-dev/2006/May/msg00333X.html+CFNetwork/129.16&hl=en&gl=us&ct=clnk&cd=4&ie=UTF-8&client=safari


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



More information about the webkit-unassigned mailing list