Closed Bug 248360 Opened 20 years ago Closed 17 years ago

Animated gif as background image causes high CPU load, even when page obscured.

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozillabugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8

On the page given, underneith all of the tables is a animated background gif
(which can be seen by choosing 'view background image') which causes a full page
repaint for every frame of the animation, even when the image cannot be seen, or
the browser is on a different tab.

Reproducible: Always
Steps to Reproduce:





Constant repainting of the page produced by this bug makes it impossible to use
the browser.

Tested on FireFox 0.9 in Linux and Mozilla 1.8a2 (20040620)
WFM Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8a2) Gecko/20040615
OS: All → Linux
This happens on Windows too, though the effect is limited to when the tab/window
is visible (Moz 1.8a2, ID 20040620).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Reporter: Are you quite sure this is a new bug?

A quick search turns up these seemingly related bugs: bug 15838, bug 141801, bug
151218, bug 194627 and there are probably more in the tracker bug. (bug 119597)
adding dependency, but i believe this is covered in other bugs
Blocks: 119597
(In reply to comment #4)
> adding dependency, but i believe this is covered in other bugs

I agree, but (for example) bug 15838 may well be the same cause, however, the
bug itself defines itself to be more specific than this one, and even bit of a
different issue (no indication that the image in question can't be see - this
bug says nothing about the hidious CPU usage when you *can* see the image, only
that it should not be using all he CPU if the image is not visible).

Also, while on Matthew's 2.0GHz Linux it uses all the CPU, but on my 750MHz
Windows system it only uses ~60-70% CPU.
to comment 5:
CPU usage when animation is not seen would be dup of bug 204002, dup'ed against
bug 120154
i'm using ff0.9 on win2k. if i switch to another tab, the cpu usage drops from
%100 to ~ %1. i've got PIII 650mhz.
i'm using ff0.9 on win2k. loaded the url then switched to another tab. the cpu
usage dropped from %100 to ~ %1. i've got PIII 650mhz.
Assignee: jdunn → nobody
QA Contact: imagelib
http://www.7dayshop.com/catalog/default.php?cPath=777 has either changed or now works.  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2  tested also in suite

closing WFM.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.