Bug 105292 - Animated gifs don't loop
Summary: Animated gifs don't loop
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 128237 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-08 15:12 UTC by Niels
Modified: 2008-05-21 09:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niels 2005-05-08 15:12:46 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages

Problems with animated gifs have been reported many times, but duplicates of this problems are all closed.

The problem: Many (looped) animated gifs only animate once in Konqueror. While browsing the avatar section on Deviantart, I notice that some gifs stop after one loop. In Firefox and Opera they don't, but both those browsers use 100% cpu on these pages.

Here's an example: http://www.deviantart.com/view/16632282/


(Another thing, but not really a bug: The animation speed is different, Firefox animates faster than Konqueror in most cases. I thought the image transition periods were hardcoded in the gif, so this is a bit strange.)
Comment 1 Vincent de Phily 2005-07-20 00:57:40 UTC
Note that the gifs loop properly if they are found in the cache :

(using the above example url)
* first load : loop once
* second load (hit "enter" in the location bar) : loop continuously
* reload (click "reload" button) : loop once

Also, some gifs seem to loop correctly in all situations.

Using kde 3.4.1, gentoo 64bit.
Comment 2 Stephan Sokolow 2006-06-10 20:41:14 UTC
I'm seeing this problem with Konqueror 3.5.2 on Gentoo 32-bit.
Comment 3 Jean-Marc Tremeaux 2006-07-22 20:57:43 UTC
Same problem here, using Konqueror 3.5.3 on Debian Sid.

Here is another problematic page : http://didier.arlabosse.free.fr/balles/debmills.html

The first 2 gifs (movies of the guys juggling) loop properly only if they are in cache, the others gifs (on white background) always loop properly.
Comment 4 Frank Osterfeld 2006-08-24 11:53:29 UTC
Confirmed. For me only the second juggler didn't loop (the one with the yellow balls) 
Comment 5 Frank Osterfeld 2006-08-24 19:34:50 UTC
*** Bug 128237 has been marked as a duplicate of this bug. ***
Comment 6 Beat Wolf 2006-08-30 14:50:58 UTC
I can confirm this bug with kde 3.5.4
This is a old bug, i hope it gets resolved
Comment 7 Amy Brodzik 2007-08-07 03:37:22 UTC
The speed difference seems to be caused by Qt having a minimum interval of 100ms per frame.
Comment 8 Frank Reininghaus 2008-05-17 00:30:57 UTC
Problem still exists in 3.5.9 (Kubuntu 8.04; with page from comment #3, page from original report is not available any more).

I cannot reproduce it in SVN trunk rev. 808111: the GIFs always loop continously.
Comment 9 Michael Leupold 2008-05-21 09:43:44 UTC
Confirmed for 3.5.9, not reproducible in trunk r810280. As this is not likely to be backported I'm closing this bug.