Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363785 - net-libs/webkit-gtk-1.2.7: some gif animations works with artefacts
Summary: net-libs/webkit-gtk-1.2.7: some gif animations works with artefacts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
: 363783 373231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-16 05:01 UTC by Taras Gaidukov
Modified: 2011-06-27 18:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch fixes this bug (webkit-gtk-1.2.7-gifanimation.patch,5.40 KB, patch)
2011-04-16 05:03 UTC, Taras Gaidukov
Details | Diff

Note You need to log in before you can comment on or make changes to 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. ***