Bug 102590 - [testcase] gif animations sometimes stop
Summary: [testcase] gif animations sometimes stop
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-27 10:39 UTC by Becheru Petru-Ioan
Modified: 2010-08-02 21:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
an arhive with a html file that uses gifs (476.46 KB, application/x-tbz)
2006-12-08 11:08 UTC, Becheru Petru-Ioan
Details
another freezing GIF (19.99 KB, image/gif)
2007-01-14 22:00 UTC, Becheru Petru-Ioan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Becheru Petru-Ioan 2005-03-27 10:39:52 UTC
Version:           3.3.2 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (i686) release 2.6.10-1-k7

gif animations sometimes stop on opening a site and when they do not stop they make konqueror less responsive to actions(gif increase the CPU load?)
Comment 1 Stephan Kulow 2005-03-31 13:49:17 UTC
example URL? test case? Anything?
Comment 2 Becheru Petru-Ioan 2005-03-31 16:37:08 UTC
Sometimes when I load my website ( http://zvonsully.tk ) the gif animations are stoped(frezzed),more often animations freeze when internet speed is low(when I download something).
On my webpage there are 2 animated gifs. (the spinnig "zvonsully" logo, and a picture of me on the left side)
Comment 3 Becheru Petru-Ioan 2005-03-31 16:38:04 UTC
Those gif were made in GIMP and the site contains frames and JavaScript
Comment 4 Becheru Petru-Ioan 2005-03-31 17:04:58 UTC
Can the google advertisments that i have on my site(on those frames) interact with the gifs animation?...hmmm
Comment 5 Philip Rodrigues 2006-09-01 23:21:45 UTC
Does this problem still exist for you in KDE 3.5?
Comment 6 Becheru Petru-Ioan 2006-09-02 00:14:50 UTC
When I reported the bug I had a very low band internet connection. I remember that on fast coonection it didn't happend. Please check this website http://zvonsully.home.ro Because I have 2 animated gifs on the left side(menu frame) now it almost freezes Konqueror. I think is related with the bug(and the fact that my graphics drivers are the open src ones not the ati radeon from ati.com)
Comment 7 Philip Rodrigues 2006-09-02 13:12:04 UTC
I just get konqueror becoming unresponsive, with 100% CPU, on that page. Seems to be something to do with the animated gif as a background image and the other animated gif on top of it. Firefox doesn't behave quite as badly, although still shows fairly high CPU usage.
Comment 8 Becheru Petru-Ioan 2006-09-03 23:04:57 UTC
> I just get konqueror becoming unresponsive, with 100% CPU, on that page. 

I see no gif stop(now are freezes. Then the animations stop and the browser remaind resposive(as the gif were not animated))
Should I open a new bug or rename this one?
Comment 9 Becheru Petru-Ioan 2006-09-03 23:14:55 UTC
My last reply was Ambiguous. I reformulate (can an admin del my prev post(#8)and this line? ):

I see no gif animations stop now. I see only freezes because of the high CPU usage.
Should I open a new bug or rename this one? 
Comment 10 Becheru Petru-Ioan 2006-10-11 20:33:20 UTC
with fixing bug #133529 this bug is too resolved
Comment 11 Becheru Petru-Ioan 2006-12-08 11:08:17 UTC
Created attachment 18844 [details]
an arhive with a html file that uses gifs

the arhive contains a HTML file, a GIF file and 5 PNG files. The html file is a
picture viewer(PNG files are named 1.png , 2.png, ..., 5.png), using JavScript,
when clicking on the 2 buttons next(or previous) a png is displayed. Before a
png is displayed the image.src is set to the GIF file. So while the png is
downloading, the gif should animate. But it stops.

Usage:
-download the arhive
-extract it
-add kicker applet: Public File Server
-create a html server using these applet that points to the extracted arvive
-set the bandwidth limit to 5 kB/S
 You will have now a web server on http:// <your IP> : <selected port(8001
default)>
-open these link with Firefox and see that the gif is animated _while_ a png is
loaded
-open it with konqueror and see that while png is loading the gif stops!
Comment 12 Becheru Petru-Ioan 2006-12-08 11:09:15 UTC
see last post ; Comment #11
Comment 13 Simon St James 2007-01-06 14:00:55 UTC
Results with Konqueror 3.5.5 under Kubuntu 6.06 (and Firefox 1.5.0.9) confirm the result of https://bugs.kde.org/show_bug.cgi?id=102590#c11 precisely.  I also occasionally have gifs playing once and then ceasing, but have no reproducible test-case.  In tends to happen when there are many images on a page, though.  I have not seen this behaviour with Firefox.
Comment 14 Martin Fitzpatrick 2007-01-06 20:55:46 UTC
Uploaded zvonSully's test case here for testing: http://www.mutube.com/x/kde/bug102590/index.html

GIF-freeze reproducible on Kubuntu 6.10, KDE 3.5.5 with Konqueror cache disabled to force reloading of each image (to make delay noticeable).  Note that this is NOT a delay due to loading a new page, just the image itself. It is possible that any page with large images on will also see gif animations freezing.
Comment 15 Becheru Petru-Ioan 2007-01-06 21:44:39 UTC
I believe that the image loading should be done in a separate (with a lower priority )thread. It should sync with the main rendering every 40 ms(showing the new parts of the image that were downloaded). These image download thread should send to the main rendering the alternate text's image before the download finishes (see bug 124545 ).
Comment 16 Becheru Petru-Ioan 2007-01-14 22:00:42 UTC
Created attachment 19284 [details]
another freezing GIF

if this GIF is in a html page, Konqueror will slow down
Comment 17 Becheru Petru-Ioan 2007-01-14 22:04:18 UTC
I dont know how to delete my last post. It is not for this bug ! sorry
Comment 18 Jaime Torres 2008-08-07 19:29:18 UTC
The animations does not stop in 4.1 and 4.1.60 svn trunk 838250.
Comment 19 Rui G. 2008-08-28 23:47:56 UTC
I've tested the gifs in http://zvonsully.home.ro in kde 3.5.9 and 4.1 in Opensuse 11.0 and they are always animated in both.

The testcase here http://www.mutube.com/x/kde/bug102590/index.html  I'm not sure if it works as it's supposed to (animate after the first iteration) , because the .pngs load too fast.

Could anyone else check if it still happens in recent versions?
Comment 20 FiNeX 2010-08-02 21:33:34 UTC
Worksforme in KDE SC 4.4.5.