Closed Bug 800041 Opened 13 years ago Closed 13 years ago

Amazon product pages completely painted with large white blocks

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

18 Branch
ARM
Android
defect
Not set
major

Tracking

(firefox18+ verified, firefox19+ verified)

VERIFIED FIXED
Firefox 19
Tracking Status
firefox18 + verified
firefox19 + verified

People

(Reporter: tdowner, Assigned: mattwoodrow)

References

Details

(Keywords: regression, reproducible, Whiteboard: [SUMO])

Attachments

(3 files, 1 obsolete file)

This may be bug 792006, but when you visit a product page in Firefox nightly for mobile, you will see a large White box blocking the content until you scroll. This only happens on the mobile version of the site (tested on a droidx and Galaxy S2, Nexus 7 did not show this behavior.
Do we know if it's mobile Amazon or Amazon proper? Unfortunately, searches from the search-engine take you to the desktop site, but heading directly to amazon.com takes you to the mobile site.
Confirmed. Easy to reproduce adb shell am start -a android.intent.action.VIEW -n org.mozilla.fennec -d "http://www.amazon.com/Tron-Original-Classic-Five-Disc-Blu-ray/dp/B004K4N64E/"
Component: General → Graphics, Panning and Zooming
Summary: Amazon Product Pages showing large White Block → Amazon product pages completely painted with large white blocks
tracking-fennec: --- → ?
Keywords: reproducible
note: you need "/.App" after fennec in the line that Aaron posted
I can reproduce this too on GN Nightly. Does this happen on Aurora? Let's get a regression range.
tracking-fennec: ? → 19+
Severity: normal → major
Thanks for the steps, I've seen this but not been able to reproduce reliably before. It would be nice to know if 18/17/16 are affected.
Assignee: nobody → bgirard
Blocks: 771219
Last good nightly: 2012-09-16 First bad nightly: 2012-09-17
Blocks: 788044
Version: Trunk → Firefox 18
Matt this is a regression from bug 788044. Got time to take this?
Assignee: bgirard → nobody
Not really :) I can reproduce this, don't have any ideas about why it's a mobile only bug. Chris: Does this look familiar to you at all? Something to do with fixed position content maybe? (Not that I can see any). If anyone can find an equivalent bug on desktop I should be able to get to this fairly quickly, debugging it on mobile will take longer.
I've only seen this since DLBI, though it may be unrelated in terms of what actually causes it. Does seem to be a duplicate of bug 792006, do we need to have more than one bug for this? As for bug 788044 being a possible cause, I had a fix for problems this caused in bug 794686, but this code has entirely changed since DLBI... Is it possible the same mistake is being made elsewhere? It would explain why this is mobile-only, as we very rarely render untransformed (scale transform).
Matt, I've filed another case in bug 804586. Aurora and Nightly are affected, and is it simple to reproduce.
Not sure why this is marked as tracking-fennec19, as it also affects 18 which will be in Beta in about three weeks. Matt, can we perhaps back out bug 788044? I hit this bug on mobile several times every single day and sometimes the browser's rendering is unusable... I'd really prefer if we address this regression sooner (by a backout if needed.) What do you think?
tracking-fennec: 19+ → ?
This was.. annoying. The code assumes that nsDisplayTransform is always the outermost display item for a given frame, and any other items for the same frame should have itself as the reference frame. Neither of these things are true for nsDisplayScrollLayer. Things get even more fun once we merge multiple scroll layers together, and the nsDisplayScrollLayer for the page gets set a reference frame that is way down the frame tree. I'd like to add a way of checking for this error, it seems much to easy to get caught by. My best idea so far is to walk all child display items looking for an nsDisplayTransform for the same frame, and assert that mReferenceFrame != mFrame. Not sure where we can check this from though,the nsDisplayItem constructor will be too early.
Attachment #674522 - Flags: review?(roc)
Add a debug-only pass over the display list tree validating our invariants?
Attached patch Check for this problem (obsolete) — — Splinter Review
This assertion would have caught the bug
Attachment #674534 - Flags: review?(roc)
https://hg.mozilla.org/integration/mozilla-inbound/rev/bbfa842d5f5e Landed the fix. The assertion caught a few other issues, working on them now.
Whiteboard: [SUMO] → [SUMO][leave open]
Attachment #674534 - Attachment is obsolete: true
Attachment #674973 - Flags: review?(roc)
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/d9a3c895f98c - your assertion was firing three times for bugs/745934-1.html, which may be just what you want, but it wasn't annotated as being just what you want.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
tracking-fennec: ? → ---
This needs Aurora uplift.
Status: RESOLVED → VERIFIED
Comment on attachment 674522 [details] [diff] [review] Set the correct reference frame for nsDisplayScrollLayer [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 788044 User impact if declined: Multiple high profile sites broken. Testing completed (on m-c, etc.): Been on m-c for 2 days, confirmed that it fixes the issues. Risk to taking this patch (and alternatives if risky): Should be fairly low risk, changes the visibility calculation code for content that involves transforms. String or UUID changes made by this patch: None
Attachment #674522 - Flags: approval-mozilla-aurora?
Target Milestone: --- → Firefox 19
Comment on attachment 674522 [details] [diff] [review] Set the correct reference frame for nsDisplayScrollLayer Approving for aurora as its a significant user facing issue and the patch is low-risk .
Attachment #674522 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee: nobody → matt.woodrow
Verified on: Build: Aurora 18.0a2 (2012-11-19) Device: Samsung Galaxy R OS: Android 2.3.4
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: