Closed
Bug 1134576
Opened 10 years ago
Closed 8 years ago
not discarding offscreen animated gifs
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 686905
People
(Reporter: timbugzilla, Unassigned)
References
()
Details
(Whiteboard: gfx-noted)
On this tumblr gif blog animated gif images accumulate in memory as one scrolls down, and are not discarded when they have been scrolled past, nor when one switches tab.
They are eventually discarded after closing the tab, but only after a significant delay (> 1 min).
Tested on current nightly win32 build in safe mode, and with D2D etc and with extensions.
Reporter | ||
Comment 1•10 years ago
|
||
BTW, by the time you scroll down to the *Season 4 - Episode 17 “Night Terrors”* gif (fun episode, FWIW), this bug stops gifs from displaying at all.
Comment 2•10 years ago
|
||
Please provide the URL of this "tumblr gif blog"
Flags: needinfo?(timbugzilla)
Comment 4•10 years ago
|
||
This is a long-standing problem. We have not been able to discard animated GIFs for a very long time - possibly since we introduced image discarding. It's difficult in practice (without paying a different cost like increased memory usage for each GIF) because of details of how animated GIFs are decoded and how playback works.
We're aware of the problem and we have gradually been refactoring things to make it possible to discard animated GIFs, but we're not there yet. I'd like to get this fixed "soon", but it's an incremental process we're still working through, so unfortunately soon almost certainly does not mean Firefox 38 or 39.
Component: Layout: Images → ImageLib
Reporter | ||
Comment 5•10 years ago
|
||
Thanks for the reply!
Just to clarify, are animated gifs normally not discarded after switching to another tab?
Updated•10 years ago
|
Whiteboard: gfx-noted
Comment 6•10 years ago
|
||
(In reply to timbugzilla from comment #5)
> Thanks for the reply!
>
> Just to clarify, are animated gifs normally not discarded after switching to
> another tab?
Yeah. They are discarded when you close the tab, though.
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•