(*** 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)
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.
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.
http://www.bahnfrau.de/bahnfrau/html/heidi_s_modellbahnseiten_trieb.html this should be a good testcase. And no 100%.
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?
the web page seems still very busy to me, but I don't consider this a bug - a missing feature
time to close?
I think yes. cpu consumption has been reduced noticeably for KDE 3.2.x.
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.
I copied the website to http://www.hackenberger.at/konqueror/cpu_usage_if_minimised/ for later reference.
The newer version of this bug is bug 91240
*** This bug has been marked as a duplicate of 91240 ***