Bug 34134 - Animated GIFs eat CPU even when minimized
Summary: Animated GIFs eat CPU even when minimized
Status: RESOLVED DUPLICATE of bug 91240
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 3.0
Platform: RedHat Enterprise Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-25 21:48 UTC by dax
Modified: 2006-12-30 00:44 UTC (History)
2 users (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 dax 2001-10-25 21:46:11 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konqueror
Version:           3.0 (using KDE 2.2.0 -121)
Severity:          normal
Installed from:    Red Hat Linux 7.2
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
OS:                Linux (i686) release 2.4.9-7
OS/Compiler notes: 

Animated GIFs should only be animated when they are visible to the user.

When the browser window is minimized or obscured it should "pause" the animation so it doesn't eat up CPU.

The CPU usage to animate a GIFs seems pretty high.  I can't imagine it takes 35% of my Pentium III 850 Mhz to animate a couple GIFS at the bottom of:

http://www.slickdeals.net

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Jeff Robertson 2003-04-25 07:24:23 UTC
Konqueror (through kdeinit) + xfree86 account for 100% of my CPU time while 
displaying several pages with animated GIFs in different tabs, although the browser 
may be offscreen or minimized.  Typing in other applications is extremely slow. 
Comment 2 Maksim Orlovich 2003-04-25 15:08:17 UTC
Which Qt version are you using? This AFAIK is at least partially(i.e. the one known 
reason) fixed in Qt 3.1.1 The original reported page looks fine for me, BTW, (using CVS 
HEAD, Qt 3.1.2); but there is only 1 animated gif there. 
 
 
Comment 3 Kai Lahmann 2003-07-24 14:18:09 UTC
http://www.bahnfrau.de/bahnfrau/html/heidi_s_modellbahnseiten_trieb.html 
 
this should be a good testcase. And no 100%. 
Comment 4 Christian Nitschkowski 2003-08-01 11:55:32 UTC
I've tested 
http://www.bahnfrau.de/bahnfrau/html/heidi_s_modellbahnseiten_trieb.html,too. 
No problems here. 
SuSE 8.2, KDE 3.1.3, Qt 3.1.3 (RPMS from ftp.kde.org). 
All these animated gif's (+ some apps in background) give me 1-3% CPU usage on 
my P4 1,8 GHz. 
 
Seems to be solved. 
Maybe the bug should be closed? 
Comment 5 Stephan Kulow 2003-10-24 17:05:08 UTC
the web page seems still very busy to me, but I don't consider this a bug - a missing feature
Comment 6 Stephan Kulow 2003-10-24 17:05:17 UTC
the web page seems still very busy to me, but I don't consider this a bug - a missing feature
Comment 7 Kai Lahmann 2004-01-26 18:53:56 UTC
time to close?
Comment 8 Dirk Mueller 2004-01-26 19:15:28 UTC
I think yes. cpu consumption has been reduced noticeably for KDE 3.2.x. 

Comment 9 Florian Hackenberger 2006-12-14 18:13:43 UTC
This bug is still there in Konqueror 3.5.5. Consider www.tritec-service.de (after the flash intro is finished), which keeps using 2.6% of my CPU even if Konqueror is minimised. Clicking on "Stop Animations" in the context menu fixes the problem. I think a fix (stop animations as soon as konqueror is invisible) would be quite trivial. I raised the severity to minor, as I would consider this a bug.
Comment 10 Florian Hackenberger 2006-12-14 18:33:00 UTC
I copied the website to http://www.hackenberger.at/konqueror/cpu_usage_if_minimised/ for later reference.
Comment 11 Yuriy Kozlov 2006-12-21 22:56:21 UTC
The newer version of this bug is bug 91240
Comment 12 Martin Koller 2006-12-30 00:44:24 UTC

*** This bug has been marked as a duplicate of 91240 ***