After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 228517 - Animated GIFs in Mail stay allocated and consume CPU
Animated GIFs in Mail stay allocated and consume CPU
Status: RESOLVED DUPLICATE of bug 217951
Product: GtkHtml
Classification: Other
Component: Rendering
unspecified
Other All
: Normal major
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2002-08-03 08:37 UTC by Johann Glaser
Modified: 2002-08-26 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johann Glaser 2002-08-03 08:37:06 UTC
Package: Evolution
Priority: Major
Version: 1.0.7
Synopsis: Animated GIFs in Mail stay allocated and consume CPU
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer

Description:
Description of Problem:
I have many EMail folders to sort my EMails in. When I get an EMail with
an animated GIF I read it in the mail preview pane. Then I read another
EMail in another EMail folder. The EMail with the animated GIF is no
longer displayed. Another EMail is in the preview pane.

The problem now is, that Evolution consumes a lot of CPU. And the
XFree86 process does too.

I think that the mail preview is still allocated and active. Further I
think, that it consumes memory all the time. Each mail folder can have
one mail selected and displayed in the preview pane. And for each the
GtkHTML widget with all its descent objects is allocated. And it gets
timer events to display animated GIFs (if there is one).

Steps to reproduce the problem:
1. receive an EMail with an animated GIF
2. click on it once to view it in the mail preview pane
3. watch the CPU usage (e.g. at approx. 25%)
4. select another mail folder
5. select another email to be displayed in the preview pane
6. watch the CPU usage (still at approx. 25%)

Actual Results:
Mail previews are still in memory even if they are not visible any more.
And they get timer events, ...

Expected Results:
Mail previews and all timer events are free()'ed when they are not
visible any more.

How often does this happen?
always

Additional Information:




Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Jeffrey Stedfast 2002-08-06 18:42:57 UTC
it's perfectly fine not to free them. each folder is like a notebook
tab, when you click it, it switches pages to that particular page of
the notebook.

what needs to happen is that when GtkHTML is not visible, it needs to
turn off the animated gif rendering.
Comment 2 Radek Doulik 2002-08-26 16:31:26 UTC

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