Closed Bug 1360572 Opened 8 years ago Closed 8 years ago

The animation is inconsistently displayed after changing the tabs

Categories

(Core :: Graphics: ImageLib, defect)

55 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox55 --- verified

People

(Reporter: roxana.leitan, Assigned: tnikkel)

References

()

Details

Attachments

(2 files)

Attached image graphics stability.png
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID:20170428030259 [Affected versions]: Nightly 55.0a1 [Affected platforms]: Windows 10, Ubuntu 16.04 x64 [Steps to reproduce]: 1.Launch Nightly 55.0a1 with a new profile 2.Navigate to https://bug1110686.bmoattachments.org/attachment.cgi?id=8535538 3.Open a new tab 4.Open a new window and navigate to about:memory 5.Click "Minimize memory usage" button 6.Go to the tab with the animation (opened at step 2) [Expected result]: The animation should be displayed without glitches [Actual result]: The animation is inconsistently displayed(please see the attachment)
Looks like an invalidation issue. Which is odd because I wrote code to handle this specific situation. I'll look into it.
Attached patch patchSplinter Review
I forgot to invalidate in one place.
Assignee: nobody → tnikkel
Attachment #8864013 - Flags: review?(aosmond)
Attachment #8864013 - Flags: review?(aosmond) → review+
Pushed by tnikkel@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/dda520b4ed32 Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
Flags: needinfo?(tnikkel)
Backout by ihsiao@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b1cfdc015e2f Backed out changeset dda520b4ed32 for Assertion failure at RasterImage.cpp
Turns out that bug 1361642 was making this pass on try server. We get a decode call when we are currently decoded.
Pushed by tnikkel@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/27e777d4ac38 Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
Depends on: 1361642
Flags: needinfo?(tnikkel)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Verified as fixed using the latest Nightly 55.0a1 (2017-05-08) on Ubuntu 16.04 x64 and Windows 10 x64.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: