Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 363785

Summary: net-libs/webkit-gtk-1.2.7: some gif animations works with artefacts
Product: Gentoo Linux Reporter: Taras Gaidukov <kemaweyan>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: major CC: amigadave
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=676201
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The patch fixes this bug

Description Taras Gaidukov 2011-04-16 05:01:03 UTC
When I use webkit-based browsers, there are artefacts on some animated GIFs.

Reproducible: Always

Steps to Reproduce:
1. Open WebKit-based browser
2. Open any site with animated GIFs
Actual Results:  
Some frames of GIFs are broken

Expected Results:  
Animation should work

I already have a solution.
Comment 1 Taras Gaidukov 2011-04-16 05:03:12 UTC
Created attachment 270151 [details, diff]
The patch fixes this bug
Comment 2 Taras Gaidukov 2011-04-16 19:40:08 UTC
*** Bug 363783 has been marked as a duplicate of this bug. ***
Comment 3 Hypnos 2011-06-03 07:34:53 UTC
There's a cleaner fix upstream:

http://gitorious.org/webkitgtk/stable/commit/1c3ae92649aa57aad859484c7cbbdae69c73f6cd

I don't know if it can be easily backported to 1.2.7, but the bug is resolved in the new stable release 1.4.0.
Comment 4 Taras Gaidukov 2011-06-03 11:34:25 UTC
(In reply to comment #3)
> There's a cleaner fix upstream:
> 
> http://gitorious.org/webkitgtk/stable/commit/1c3ae92649aa57aad859484c7cbbdae69c73f6cd
> 
> I don't know if it can be easily backported to 1.2.7, but the bug is resolved
> in the new stable release 1.4.0.

This is only a part of bug, I saw this. But there is also another problem: program saves a pointer to item of vector (a frame of GIF) and then call resize of this vector. So the memory will be reallocated and that pointer will be broken... My patch fixes this bug.
Comment 5 Pacho Ramos gentoo-dev 2011-06-27 18:10:27 UTC
*** Bug 373231 has been marked as a duplicate of this bug. ***