Open Bug 332973 Opened 18 years ago Updated 2 years ago

Animated images share state

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

People

(Reporter: agro1986, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

When an animated gif file is opened in multiple tabs, pressing ESC on a tab will stop the animation on all tabs.

Reproducible: Always

Steps to Reproduce:
1. Open an animated gif file, for example http://www.miditrax.com/colorbar.gif in two tabs
2. Press ESC in one of the tabs

Actual Results:  
The animation on all tabs stop

Expected Results:  
Only the animation on the relevant tab stops
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060405 Firefox/1.6a1
I can reproduce this with the animated favicon in the url provided, but not with an animation somewhere in a page like this: http://www.gifanimations.com/action/MenuSelection?group=1&parent=44
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1 ID:2006040602 (non-cairo)
I see this too. It looks like it only happens when the animated gif also appears as the tab's (anmiated) favicon?
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1 ID:2006040602

Bug 232225 looks kinda related, but that was apparently due to a tabbed browser extension. But I see this bug with a clean profile.

Also, if you load the animation in 4 tabs, press ESC in one tab (animations in all other tabs stop), and then you open a new tab with the animation, all other tabs reanimate.
Keywords: testcase
Duplicate of/related to Core bug 269843?
Assignee: nobody → pavlov
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
Assignee: pavlov → nobody
QA Contact: imagelib
Status: UNCONFIRMED → NEW
Ever confirmed: true
A related couple of bugs: bug 287546, bug 188924.
This is a long-time limitation of Gecko's image cache: we only have one instance of animated images, so we share their animation state between any instance of that image.
Summary: Pressing ESC stops gif animation in more than 1 tab. → Animated images share state
OS: Windows 98 → All
Hardware: x86 → All
Version: 1.8 Branch → Trunk
Blocks: 843308
No longer blocks: omtagif
I have gif-blockers. I can block the pain/animation, and spare myself migraines, vomiting, etc. But other people may not have working gif-blockers. I don't want to accidentally repost something containing an animated gif, inflicting the pain/animation, and triggering someone else's migraines, vomiting, or seizures.

Because of this bug, it isn't safe to use "view image info" to check the format to check if the image is safe. People's reports of that problem have been resolved as dupes of this problem.
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 5 duplicates.
:aosmond, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(aosmond)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(aosmond)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: