Closed Bug 493052 Opened 16 years ago Closed 12 years ago

The places search throbber continues to animate even when it's not visible

Categories

(Firefox :: Address Bar, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jrmuizel, Unassigned)

Details

I haven't been able to reproduce this yet. But I'm pretty sure I've seen it at least once. I'll try to come up with better information if/when I can reproduce it. One thing to look into is whether images continue to animate even if they are display:none.
Pretty sure there's a bug on this, can't find it atm.
Whiteboard: DUPME
Actually I was thinking of bug 483841 (I thought there was a follow-up to that), see the comments and the fix from that bug.
Whiteboard: DUPME
Couldn't we do what we do for the favicon/throbber in tabs, and just swap in the throbber icon with CSS when we're doing a places search? Then we could remove the stack too, right? Less XUL is virtuous...
Yeah, I think we could do that.
(In reply to comment #0) > One thing to look into is whether images continue to animate even if they are > display:none. We actually use display:none already: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.css#38
Keywords: qawanted
Yeah, but Jeff was seeing the underlying image object continue to animate despite that. Bug 483841 means we'll no longer repaint unnecessarily, but there's still work we can avoid here by actually unloading the image.
(In reply to comment #5) > (In reply to comment #0) > > One thing to look into is whether images continue to animate even if they are > > display:none. > > We actually use display:none already: > http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.css#38 I know, the hypothesis is that display:none is insufficient to stop the animating.
We might want to explore not bothering to animate display:none images, but that would require some layout->imglib interaction that's probably not worth investigating at this point. A front-end fix should be pretty simple, though.
Keywords: qawanted
Has this been reproduced now?
No. So I would consider this low priority.
Keywords: qawanted
responding to qawanted: How did you tell it was animating when it wasn't visible?
Keywords: qawanted
we don't have anymore the throbber.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.