Closed Bug 94938 Opened 23 years ago Closed 22 years ago

Animated image prefs don't apply to background images

Categories

(Core :: Graphics: ImageLib, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: bugzilla, Assigned: nivedita)

References

Details

(Keywords: regression, Whiteboard: [needs sr=])

Attachments

(1 file)

...as a result of the imglib1 removal.
Any updates on when this regression is going to be fixed?  Seems like it works
in some places, but not in others (e.g. I see flames animating on Tinderbox).
Keywords: regression
It just doesn't work for animated background images.
Blocks: 99142
Pav/Gagan - Any word on this one? Should we nsbranch+ this one?
Perhaps... is the pref a public pref?  if not, then we probably shouldn't..
however I would like to fix this shortly.
marking - for now, but accepting P3 for 0.9.5
Status: NEW → ASSIGNED
Keywords: nsbranchnsbranch-
Priority: -- → P3
Target Milestone: --- → mozilla0.9.5
The pref is indeed exposed in the pref UI: Privacy/Images/Animated Images.
Summary: Animated image prefs are busted... → Animated image prefs don't apply to background images
.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Blocks: 104166
Blocks: 107067
Keywords: nsbranch-
Target Milestone: mozilla0.9.6 → mozilla0.9.8
*** Bug 114382 has been marked as a duplicate of this bug. ***
Blocks: 119597
Target Milestone: mozilla0.9.8 → mozilla0.9.9
nominating ...
No longer blocks: 107067
Keywords: nsbeta1
Keywords: nsbeta1+
Removing nsbeta1 nomination because this bug has been plussed.
Keywords: nsbeta1
Target Milestone: mozilla0.9.9 → mozilla1.0
The preferences were not fetched for the animated images being set as
background. 

Setting the preferences of animate mode for the background image.
.
Assignee: pavlov → nivedita
Status: ASSIGNED → NEW
Whiteboard: [needs r=/sr=]
Comment on attachment 73641 [details] [diff] [review]
patch file for fixing the animated image prefs to background images

r=pavlov
Attachment #73641 - Flags: review+
Does this mean that the nsImageFrame animation mode setup
is no longer needed?
We still need nsImageFrame animation mode setup, for the images which are not 
back ground images. 

We do not hit the nsImageFrame path for the back ground images. nsImageLoader 
takes care loading  of the background images. Hence, even though the prefs 
check was present in nsImageFrame, the background images were not getting 
reflected by the prefs. And as the comment 1 says that it works in some places, 
but not in others. Hence without this patch, the background images would not 
get reflected with the update in preferences.
Whiteboard: [needs r=/sr=] → [needs sr=]
Comment on attachment 73641 [details] [diff] [review]
patch file for fixing the animated image prefs to background images

sr=tor
Attachment #73641 - Flags: superreview+
Comment on attachment 73641 [details] [diff] [review]
patch file for fixing the animated image prefs to background images

a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #73641 - Flags: approval+
Fixed with the checkin 
D:\testing_cvs\mozilla\layout\base\src>cvs commit
cvs commit: Examining .
? out
Checking in nsImageLoader.cpp;
/cvsroot/mozilla/layout/base/src/nsImageLoader.cpp,v  <--  nsImageLoader.cpp
new revision: 3.6.4.1; previous revision: 3.6
done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You checked this into the 0.9.9 branch, according to bonsai.

Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Really checking into the tip
D:\mozilla\layout\base\src>cvs commit nsImageLoader.cpp
Checking in nsImageLoader.cpp;
/cvsroot/mozilla/layout/base/src/nsImageLoader.cpp,v  <--  nsImageLoader.cpp
new revision: 3.9; previous revision: 3.8
done
undone the changes in the 0.9.9 branch. Sorry for the messing up.

D:\testing_cvs\mozilla\layout\base\src>cvs commit nsImageLoader.cpp
Checking in nsImageLoader.cpp;
/cvsroot/mozilla/layout/base/src/nsImageLoader.cpp,v  <--  nsImageLoader.cpp
new revision: 3.6.4.2; previous revision: 3.6.4.1
done
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Verified fixed Win XP branch (2002042306) win 2k trunk (2002042303) Mac OS X
trunk (2002042203) Mac OS X branch(2002042205) and linux branch (2002042208) and
linux trunk (2002042210), marking verified
Status: RESOLVED → VERIFIED
Keywords: verified1.0.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: