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)
Tracking
(firefox18+ verified, firefox19+ verified)
VERIFIED
FIXED
Firefox 19
People
(Reporter: tdowner, Assigned: mattwoodrow)
References
Details
(Keywords: regression, reproducible, Whiteboard: [SUMO])
Attachments
(3 files, 1 obsolete file)
|
89.12 KB,
image/png
|
Details | |
|
3.61 KB,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
11.95 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•13 years ago
|
||
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.
Comment 3•13 years ago
|
||
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
Keywords: regression,
regressionwindow-wanted
Summary: Amazon Product Pages showing large White Block → Amazon product pages completely painted with large white blocks
Updated•13 years ago
|
tracking-fennec: --- → ?
status-firefox19:
--- → affected
Updated•13 years ago
|
Keywords: reproducible
Comment 4•13 years ago
|
||
note: you need "/.App" after fennec in the line that Aaron posted
Comment 5•13 years ago
|
||
I can reproduce this too on GN Nightly. Does this happen on Aurora? Let's get a regression range.
tracking-fennec: ? → 19+
Updated•13 years ago
|
Severity: normal → major
Comment 6•13 years ago
|
||
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
Comment 7•13 years ago
|
||
Last good nightly: 2012-09-16
First bad nightly: 2012-09-17
Comment 8•13 years ago
|
||
Updated•13 years ago
|
Updated•13 years ago
|
tracking-firefox18:
--- → +
tracking-firefox19:
--- → +
Comment 10•13 years ago
|
||
Matt this is a regression from bug 788044. Got time to take this?
Assignee: bgirard → nobody
| Assignee | ||
Comment 11•13 years ago
|
||
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.
Comment 12•13 years ago
|
||
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).
Comment 13•13 years ago
|
||
Comment 14•13 years ago
|
||
Matt, I've filed another case in bug 804586. Aurora and Nightly are affected, and is it simple to reproduce.
Comment 15•13 years ago
|
||
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+ → ?
| Assignee | ||
Comment 16•13 years ago
|
||
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)
Attachment #674522 -
Flags: review?(roc) → review+
Add a debug-only pass over the display list tree validating our invariants?
| Assignee | ||
Comment 18•13 years ago
|
||
This assertion would have caught the bug
Attachment #674534 -
Flags: review?(roc)
Attachment #674534 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 19•13 years ago
|
||
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]
| Assignee | ||
Comment 20•13 years ago
|
||
Attachment #674534 -
Attachment is obsolete: true
Attachment #674973 -
Flags: review?(roc)
Attachment #674973 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 21•13 years ago
|
||
Whiteboard: [SUMO][leave open] → [SUMO]
Comment 22•13 years ago
|
||
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.
Comment 23•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Updated•13 years ago
|
tracking-fennec: ? → ---
| Assignee | ||
Comment 24•13 years ago
|
||
Target Milestone: Firefox 19 → ---
Comment 25•13 years ago
|
||
| Assignee | ||
Comment 29•13 years ago
|
||
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?
Updated•13 years ago
|
Target Milestone: --- → Firefox 19
Comment 31•13 years ago
|
||
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 | ||
Comment 32•13 years ago
|
||
Updated•13 years ago
|
Assignee: nobody → matt.woodrow
Comment 34•13 years ago
|
||
Verified on:
Build: Aurora 18.0a2 (2012-11-19)
Device: Samsung Galaxy R
OS: Android 2.3.4
Updated•5 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
•