Closed Bug 327143 Opened 20 years ago Closed 19 years ago

Extraneous gif drawing when idle

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 322886

People

(Reporter: uncommon, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Firefox uses a surprising 10-15% CPU time with no windows open (867mHz G4). A sample shows that a significant amount of this is in nsImageMac::DrawToImage. Reproducible: Always Steps to Reproduce: 1. Run FireFox with no windows open 2. Take a sample with Activity Monitor. Actual Results: 16 __CFRunLoopDoSources0 16 PL_ProcessPendingEvents 15 PL_HandleEvent 15 handleTimerEvent(TimerEventType*) 15 nsTimerImpl::Fire() 15 imgContainerGIF::Notify(nsITimer*) 15 imgContainerGIF::DoComposite(gfxIImageFrame**, nsRect*, gfxIImageFrame*, gfxIImageFrame*, int) 15 gfxImageFrame::DrawTo(gfxIImageFrame*, int, int, int, int) 15 nsImageMac::DrawToImage(nsIImage*, int, int, int, int) 8 CGContextDrawImage 5 CGContextClearRect 1 CFRelease 1 malloc Expected Results: It shouldn't be drawing anything with no windows open.
Actually it stopped after quit and restart. I'll try to catch it happening again and post more info. I tried opening a page with an animated gif and then closing the window, but that didn't trigger it.
Ah, this is probably a duplicate of #322886. My original search didn't turn that one up.
*** This bug has been marked as a duplicate of 322886 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.