Closed Bug 888607 Opened 11 years ago Closed 11 years ago

Animated gif repaints badly

Categories

(Core :: Graphics: ImageLib, defect)

24 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25
Tracking Status
firefox23 --- unaffected
firefox24 + fixed
firefox25 + fixed

People

(Reporter: jan, Assigned: joe)

References

Details

(Keywords: regression, Whiteboard: [qa-])

Attachments

(4 files)

Attached image bug.gif
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20130628 Firefox/25.0 (Nightly/Aurora)
Build ID: 20130628031149

Steps to reproduce:

open gif in browser


Actual results:

some frames are not repainted -> bug is shown more than one, so it makes "path", not motion.


Expected results:

See bug moving.
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/8ea92aeab783
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130619 Firefox/24.0 ID:20130619164023
Bad:
http://hg.mozilla.org/mozilla-central/rev/83aa31ec53d9
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130620 Firefox/24.0 ID:20130620005958
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8ea92aeab783&tochange=83aa31ec53d9


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/5b3196ad66f4
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130619 Firefox/24.0 ID:20130619143654
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/f5f8e2d6d991
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130619 Firefox/24.0 ID:20130619144755
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5b3196ad66f4&tochange=f5f8e2d6d991



REGRESSED BY: Bug 867774
Blocks: 867774
Status: UNCONFIRMED → NEW
Component: Untriaged → ImageLib
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Version: 25 Branch → 24 Branch
OS: Windows 8 → All
Assignee: nobody → joe
This fixes the bug. We were simply wrong when clearing subframes. Now we're not.
Attachment #771480 - Flags: review?(seth)
Attached patch testSplinter Review
Here's a test based on the ants gif in this bug.
Attachment #771481 - Flags: review?(seth)
Comment on attachment 771480 [details] [diff] [review]
correctly clear subframes

Review of attachment 771480 [details] [diff] [review]:
-----------------------------------------------------------------

Makes sense.
Attachment #771480 - Flags: review?(seth) → review+
Attachment #771481 - Flags: review?(seth) → review+
Comment on attachment 771480 [details] [diff] [review]
correctly clear subframes

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 867774
User impact if declined: some gifs will paint wrong
Testing completed (on m-c, etc.): tested locally, has new test, just pushed
Risk to taking this patch (and alternatives if risky): quite low risk, though if it was wrong it could cause crashes
String or IDL/UUID changes made by this patch: none
Attachment #771480 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/c0ce0ab4c3ad
https://hg.mozilla.org/mozilla-central/rev/18278826d0c0
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment on attachment 771480 [details] [diff] [review]
correctly clear subframes

Given where we are in the cycle ok to take.If this results in crashes we have an opportunity to resolve/backout as needed in the next few days.
Attachment #771480 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assuming this does not need QA verification due to in-testsuite coverage. Please remove [qa-] from the whiteboard and add the verifyme keyword if this needs to be manually verified.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: