Monday, 5 November 2012

Re: More graceful handling of failed image renders?

On 04/11/12 16:16, Martin Bazley wrote:
> NetSurf redraws its pages in rectangular sections. This process
> involves decoding any image files, such as JPEGs, which may be present
> in that section.
>
> At the moment, if an error occurs (e.g. JPEG data is invalid or
> otherwise fails to decode), the redraw of the entire section is
> cancelled. This is undesirable, because it leads to the appearance of
> large blank white spaces on a page with invalid images on it.
>
> You can see an example of the problems this causes here:
>
> http://www.corporateskull.com/
>
> There are two invalid JPEGs in the sidebar there (or at least JPEGs
> which RISC OS doesn't seem to like; Linux renders them OK). These are
> the link to 'Skull Art' just beneath the (working) 'Corporate Skull
> Guest Artist Week' image, and the Ink Outbreak avatar in the top-left of
> the box beneath that.
>
> If you slowly scroll down the page using NetSurf on RISC OS, you'll see
> a thick white horizontal bar blotting out the image in the blog post to
> the left of the Skull Art picture, as well as the Skull Art picture
> itself failing to render.
>
> If you press F12 and then Return with the faulty JPEG showing, most of
> the window goes white!
>
> NetSurf may not be able to render an image, but could it at least not
> trash the rest of the page because of it?

Sounds as if this might be a manifestation of bug #3435099

Chris

No comments:

Post a Comment