Closed Bug 143333 Opened 24 years ago Closed 24 years ago

Transparent Animated GIF rendered laced with garbage pixels

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: MozillaUser, Assigned: pavlov)

References

()

Details

(Whiteboard: [adt2 RTM] [Need ADT+ & a=] custrtm-)

Attachments

(1 file)

Mozilla-trunk build 2002050910 on Linux The image http://hamsterrepublic.com/img/bobhitjames.gif linked on http://hamsterrepublic.com/ohrrpgce/ displays incorrectly in the latest trunk build. it was displaying perfectly with a trunk nightly from last week. Notice the garbage pixels scattered around the edges, and the failure to clean up old frames.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Not happening in Linux trunk build 2002050507
I'm going under the assumpation that this is caused by the fix of Bug 132319. The gif displays fine on my Win2k 2002050908 build. If this is Linux-only bug, then I don't know why the patch caused this problem. The Bonsai diff can be seen here: http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=imgContainer.cpp&root=/cvsroot&subdir=mozilla/modules/libpr0n/src&command=DIFF_FRAMESET&rev1=1.27&rev2=1.28 If anyone can see a problem that could cause the FillWithColor to fail for linux.. any help would be appreciated.
Cause: I didn't know GetImageData on Linux returned a copy of the image and not the real image. Resolution: Call ImageUpdated after modifying the copy, which will then move the copy over to the real image.
Keywords: patch, review
Comment on attachment 83093 [details] [diff] [review] [Fix] Update the Image with a copy sr=tor
Attachment #83093 - Flags: superreview+
Comment on attachment 83093 [details] [diff] [review] [Fix] Update the Image with a copy r=pavlov
Attachment #83093 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Groovy. With Linux trunk build 2002051607, the image http://hamsterrepublic.com/img/bobhitjames.gif is animating correctly, sans garbage pixels. Marking verified.
Status: RESOLVED → VERIFIED
Blocks: 132319, 143047
Keywords: approval, nsbeta1+
Whiteboard: [adt2 RTM] [Need ADT+ & a=]
Whiteboard: [adt2 RTM] [Need ADT+ & a=] → [adt2 RTM] [Need ADT+ & a=] custrtm-
Comment on attachment 83093 [details] [diff] [review] [Fix] Update the Image with a copy marking verbal a=asa
Attachment #83093 - Flags: approval+
Fixed on branch.
Keywords: fixed1.0.1
Removing branch keywork fixed1.0.1, I still see garbage pixels using linux branch build 2002070207
Keywords: fixed1.0.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: