Closed
Bug 983202
Opened 11 years ago
Closed 11 years ago
Scrolling on CNN ceases to work, content does not repaint; URL bar scrolls off-screen
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec30+)
VERIFIED
FIXED
Firefox 30
Tracking | Status | |
---|---|---|
fennec | 30+ | --- |
People
(Reporter: cos_flaviu, Assigned: cwiiis)
References
Details
(Keywords: regression, reproducible)
Attachments
(1 file)
2.29 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
Environment:
Device: Google Nexus 10 (Android 4.4.2);
Build: Nightly 30.0a1 (2014-03-13);
Steps to reproduce:
1. Load Firefox with a clean profile;
2. Go to cnn.com;
3. Wait until the page is loaded and scroll the page up and down.
Expected result:
The page successfully scrolls up and down.
Actual result:
The page hangs and only the url bar scrolls up and down.
Notes:
Please check the video: https://www.youtube.com/watch?v=3vzK5LQdSns
Comment 1•11 years ago
|
||
I see this too on my Galaxy SIV Nightly (03/13). This is a major regression that needs a window.
Severity: normal → major
tracking-fennec: --- → ?
Summary: Cnn.com hangs after is loaded → Scrolling on CNN seizes to work, content stuck while URL scrolls off-screen
Comment 2•11 years ago
|
||
First round m-c
Last good revision: a62bde1d6efe (2014-02-13)
First bad revision: d275eebfae04 (2014-02-14)
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a62bde1d6efe&tochange=d275eebfae04
Updated•11 years ago
|
Summary: Scrolling on CNN seizes to work, content stuck while URL scrolls off-screen → Scrolling on CNN ceases to work, content stuck while URL scrolls off-screen
Comment 3•11 years ago
|
||
Cwiiis, sounds like could be related to bug 982651
Assignee: nobody → chrislord.net
tracking-fennec: ? → 30+
Comment 4•11 years ago
|
||
Last good revision: 5d4ffa16f845
First bad revision: 2812fd3a3213
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5d4ffa16f845&tochange=2812fd3a3213
bschouten@mozilla.com
Tue Feb 11 20:54:22 2014 +0000 2812fd3a3213 Bas Schouten — Bug 805406: Never draw directly to a window with Direct2D. r=jrmuizel
Beats me how Android is affected by that? Bas?
Blocks: 805406
Flags: needinfo?(bas)
Updated•11 years ago
|
Keywords: regressionwindow-wanted
Updated•11 years ago
|
Summary: Scrolling on CNN ceases to work, content stuck while URL scrolls off-screen → Scrolling on CNN ceases to work, content does not repaint; URL bar scrolls off-screen
Comment 5•11 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #4)
> bschouten@mozilla.com
> Tue Feb 11 20:54:22 2014 +0000 2812fd3a3213 Bas Schouten — Bug 805406: Never
> draw directly to a window with Direct2D. r=jrmuizel
>
> Beats me how Android is affected by that? Bas?
That code isn't even compiled on android. Can you double check your regression window?
Comment 6•11 years ago
|
||
Sorry was a mistake, in a new range I have
Last good revision: 8c7d4dddd104
First bad revision: 9ce7c3a70c13
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=8c7d4dddd104&tochange=9ce7c3a70c13
mwoodrow@mozilla.com
Tue Feb 11 04:58:44 2014 +0000 9ce7c3a70c13 Matt Woodrow — Bug 966679 - Follow-up to fix bustage on gcc 4.4, split Compose() into separate functions. CLOSED TREE
No longer blocks: 805406
Flags: needinfo?(bas)
Comment 8•11 years ago
|
||
I am double checking the above too.
Comment 9•11 years ago
|
||
That part is a fairly trivial rename to avoid a compiler error on b2g. I'd be surprised if it caused a regression :)
Flags: needinfo?(matt.woodrow)
Comment 10•11 years ago
|
||
Issue above was in attempting to reproduce before entire page-load which was throwing me off from 'good' and 'bad' builds.
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=74cbeb541d03&tochange=a523d5b55989
Will need bi-sect, Kevin or better yet, Graphics team take a look?
Comment 11•11 years ago
|
||
None of the changes in that range touch any of the files in gfx/
Comment 12•11 years ago
|
||
Even the pref changes look benign. There's nothing in that range that I think would cause this problem.
Assignee | ||
Comment 13•11 years ago
|
||
I'm with kats, none of those changes look like they have any relevance to something like this... I guess a profile would tell us what's going on, the compositor must be getting stuck if the url bar can still scroll but the page can't.
I can't promise I'll get the time to look at this by the end of tomorrow, but I'll try. If anyone has spare cycles, feel free to investigate.
Comment 15•11 years ago
|
||
Noticed that a mere device rotation will aleve the symptoms when one is in this state on CNN
Assignee | ||
Comment 16•11 years ago
|
||
We've been profiling, and there seems to be some weirdness with event/transaction handling when progressive rendering is enabled. Still looking into it. Explains somewhat why a rotation alleviates it though.
Comment 17•11 years ago
|
||
I also noticed that this happens when one attempts to scroll when the top 'Get CNN on Android' related banner appears but is not fully loaded. At least for me. If I wait until *everything* is done loading, everything appears to work fine.
Comment 18•11 years ago
|
||
Screen-record from my Nexus 5, today's Nightly build https://www.youtube.com/watch?v=t6z6jEI5JY8
Comment 19•11 years ago
|
||
Trying the range from comment 10, I found that even the earliest cset still reproduces the bug. I tried again using TBPL builds, and here's the range I came up with: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8bb30e0e4ddd&tochange=edd724161ab4
Comment 20•11 years ago
|
||
Looks like Aaron was only one changeset off back in comment 6. After a manual bisection, I can confirm that this was due to bug 966679.
The offending changeset: https://hg.mozilla.org/mozilla-central/rev/8c7d4dddd104
Blocks: 966679
Flags: needinfo?(matt.woodrow)
Comment 21•11 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #16)
> We've been profiling, and there seems to be some weirdness with
> event/transaction handling when progressive rendering is enabled. Still
> looking into it. Explains somewhat why a rotation alleviates it though.
Can you keep looking at this Chris?
The changeset doesn't sound like it should cause any issues, we're just marking a layer as mutated on the client side. I can't see how that could possibly affect APZC, unless it's somehow tripping over an existing bug.
Flags: needinfo?(matt.woodrow) → needinfo?(chrislord.net)
Assignee | ||
Comment 22•11 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #21)
> (In reply to Chris Lord [:cwiiis] from comment #16)
> > We've been profiling, and there seems to be some weirdness with
> > event/transaction handling when progressive rendering is enabled. Still
> > looking into it. Explains somewhat why a rotation alleviates it though.
>
> Can you keep looking at this Chris?
>
> The changeset doesn't sound like it should cause any issues, we're just
> marking a layer as mutated on the client side. I can't see how that could
> possibly affect APZC, unless it's somehow tripping over an existing bug.
I can confirm that rolling back all the patches in bug 966679 does fix this, and looking at them together, it does appear like they could affect repeated transactions. Seeing as you probably have a lot on your plate, I'll look at this, but it's worth noting that a backout does fix this.
Next I'll see if the identified hunk does indeed fix it alone, and why.
Flags: needinfo?(chrislord.net)
Assignee | ||
Comment 23•11 years ago
|
||
This fixes the issue for me, and I think this is why: The excess calls to Mutated were flooding IPC, especially when there are complex regions involved (which there always are with progressive updates) and the compositor was getting held up dealing with them (this is supported somewhat by the profiles we took and gdb).
I think this highlights a possible issue here though that progressive updates makes layer transactions quite a bit more expensive. But that's another issue for another day...
Attachment #8392097 -
Flags: review?(matt.woodrow)
Updated•11 years ago
|
Attachment #8392097 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 24•11 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/46c389bf27d9
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 25•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•