Closed
Bug 1099104
Opened 10 years ago
Closed 10 years ago
Regression: content not sized correctly in viewport
Categories
(Firefox for Android Graveyard :: Toolbar, defect)
Tracking
(firefox33 unaffected, firefox34 unaffected, firefox35 unaffected, firefox36 verified, fennec36+)
VERIFIED
FIXED
Firefox 36
Tracking | Status | |
---|---|---|
firefox33 | --- | unaffected |
firefox34 | --- | unaffected |
firefox35 | --- | unaffected |
firefox36 | --- | verified |
fennec | 36+ | --- |
People
(Reporter: TeoVermesan, Assigned: botond)
References
Details
(Keywords: regression, reproducible)
Attachments
(4 files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
Tested with:
Build: Firefox for Android 36.0a1 (2014-11-14)
Device: LG Nexus 4 (Android 4.4)
Steps to reproduce:
1. Open Firefox
2. Go to about:firefox
Expected results:
- The page is aligned to center.
Actual results:
- The page is aligned to left.
Regression window:
Last good: 2014-11-13
First bad: 2014-11-14
Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ab137ddd3746&tochange=7f0d92595432
Reporter | ||
Comment 1•10 years ago
|
||
Also after going to news.google.com, open an article, zoom out the page as much as you can, the page is aligned left, with a blank portion on the right side.
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=8bbf5db85ada&tochange=7f0d92595432
Bug 1076163?
Blocks: apz-css-trans-stage1
tracking-fennec: --- → ?
Keywords: regression
Summary: about:firefox page is aligned to left → Regression: content not sized correctly in viewport
Updated•10 years ago
|
Flags: in-testsuite?
Updated•10 years ago
|
Component: General → Graphics, Panning and Zooming
Flags: needinfo?(botond)
Comment 3•10 years ago
|
||
It's either bug 1076163 or bug 1055741, narrowed it down to those two with inbound builds.
Comment 4•10 years ago
|
||
Local build still has the problems if I go to cset 9106c8d44533, so it's definitely bug 1076163. I'm bisecting within the two patches to see if I can find the culprit. I looked over the patches again and I don't see anything that should be causing this.
Updated•10 years ago
|
Keywords: reproducible
Comment 5•10 years ago
|
||
It's in the part 1 patch. I think it's because the code assumes aContainerParameters.m[XY]Scale includes the full cumulative resolution but I don't think it does. It's just the resolution+CSSextra scale for the current layer. So we probably need to multiply the ancestor presShell resolutions into that manually.
Comment 6•10 years ago
|
||
Not quite that, but definitely something with the aContainerParameters not being what we expect. For example, after loading people.mozilla.org/~kgupta/grid.html and zooming in, I would expect the aContainerParameters scale to go up but it stays at 1.0. This patch seems to fix the problem on Fennec, but I don't know if it regresses B2G:
Assignee | ||
Comment 7•10 years ago
|
||
Thanks for diagnosing this, Kats!
Here's a temporary fix which should restore normal rendering for pages that don't have CSS transforms; pages that have CSS transforms might still be rendered wrong, but no worse than before bug 1076163.
I tested locally and this patch fixes the STR from comment 0; I could not reproduce the STR from comment 1 (I could not zoom out any articles from news.google.com to begin with).
Assignee: nobody → botond
Flags: needinfo?(botond)
Attachment #8523093 -
Flags: review?(bugmail.mozilla)
Comment 8•10 years ago
|
||
Comment on attachment 8523093 [details] [diff] [review]
Temporary fix
Review of attachment 8523093 [details] [diff] [review]:
-----------------------------------------------------------------
Works for me!
Attachment #8523093 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Landed temporary fix: https://hg.mozilla.org/integration/mozilla-inbound/rev/7876dacf7ee2
Sorry for the regression!
Comment 10•10 years ago
|
||
Botond - Can you file a new bug to fix the "TODO" ?
Flags: needinfo?(botond)
Comment 11•10 years ago
|
||
If you're looking for content to reproduce, http://nightly.mozilla.org
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 12•10 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #10)
> Botond - Can you file a new bug to fix the "TODO" ?
Filed bug 1099298.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(botond)
Comment 13•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Reporter | ||
Comment 14•10 years ago
|
||
On latest Nightly (2014-11-16) about:firefox is aligned to center. Also accessing news.google.com, open an article, zoom in and zoom out, the page is rendered correctly.
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
tracking-fennec: ? → 36+
Updated•10 years ago
|
Reporter | ||
Comment 15•10 years ago
|
||
Based on my comment #14 i will mark status-firefox36 from fixed to 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
•