Open Bug 724225 Opened 13 years ago Updated 2 years ago

Lots of reflows and flickering when using IRCCloud

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: ttaubert, Unassigned)

References

()

Details

About 1-2 weeks ago IRCCloud received an update and since then it's become totally unusable in Firefox (but does not cause any problems in Chrome). As soon as you enter #developers and start scrolling it flickers every time you move the mouse. about:jank tells the following from a few seconds running it: 982 - c-layout::DoReflow 79 - c-CSS::ProcessRestyles 74 - c-gfx::DrawThebesLayer 26 - c-Timer::Fire 18 - c-nsEventListenerManager::HandleEventInternal 13 - c-GLContext::SwapBuffers 12 - c-Paint::PresShell::Paint 11 - c-JS::CallEventHandler 9 - c-event::nsViewManager::DispatchEvent 6 - c-LayerManagerOGL::Render 4 - c-JS::EvaluateString 3 - c-image::imgFrame::Draw 3 - c-Events::ProcessGeckoEvents 2 - c-layout::FlushPendingNotifications 1 - c-CC::nsCycleCollector_forgetSkippable Maybe there's a bug on IRCCloud's site but we should investigate what we're possibly doing wrong here. I can provide some IRCCloud invites if anybody needs access but those guys have been very cooperative in the past, so we can get a lot more. If there's any tools that provide some more useful information I'll be happy to run and try them.
Which Firefox build are you using? Do you see that behavior in Fx9, for example? There were recent changes to flush layout on mousemove, but Fx9 doesn't do that; ruling those changes out would be good.
I'm using Nightly. Same behavior in Fx9, unfortunately.
You mean, "fortunately", since it means we didn't break anything since then, right? ;) I'm trying to reproduce the flicker, but failing so far on a Mac nightly. irccloud does no a bunch of reflow as you scroll (to update the gray infobar thingie), but even if I scroll pretty continuously I can't push the CPU over here above 70% or so. I used a test channel where I could just put a few pages of messages in it myself so as not to spam #developers... I assume you're seeing your problem on any channel, not just #developers? What hardware/OS are you using?
(In reply to Boris Zbarsky (:bz) from comment #3) > You mean, "fortunately", since it means we didn't break anything since then, > right? ;) Well... this would probably have been easier to fix because we might have found the culprit already ;) > I'm trying to reproduce the flicker, but failing so far on a Mac nightly. > irccloud does no a bunch of reflow as you scroll (to update the gray infobar > thingie), but even if I scroll pretty continuously I can't push the CPU over > here above 70% or so. I used a test channel where I could just put a few > pages of messages in it myself so as not to spam #developers... I assume > you're seeing your problem on any channel, not just #developers? What > hardware/OS are you using? I'm also using a Mac nightly on an MBA. Usually it's pretty easy to reproduce in #developers, scrolling around and moving the mouse. I created a little screencast that shows the problem right after the page has been loaded. I did not click, just moved the mouse: http://vid.ly/5l5h5r Btw, #fx-team seems to work for me though scrolling is horribly slow. If I switch to #developers irccloud immediately starts flickering.
Oh, I should mention that :jaws experiences the same on Windows and I can reproduce it on Linux.
Are you still seeing this? It was mainly happening in channels with a very long member list. I reduced it in Bug 725437 and have since pushed a fix that takes the member list out of the table flow so reflows can be faster.
Actually, seems like it is behaving better now.
Yes, same here. I just gave it a try again some minutes ago. Did not see any flickering since then.
The problem is still there occasionally.
I am still facing the issue even now also. Where can the problem be? Is it a bug in IRCCloud?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.