GNOME Bugzilla – Bug 228517
Animated GIFs in Mail stay allocated and consume CPU
Last modified: 2002-08-26 16:31:26 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.
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.
*** This bug has been marked as a duplicate of 217951 ***