Closed
Bug 1210807
Opened 10 years ago
Closed 9 years ago
Facebook page is incorrectly displayed when device is turned from portrait to landscape
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox42 unaffected, firefox43 affected, firefox44 affected, firefox45 affected, firefox46 ?, fennec48+)
RESOLVED
FIXED
Firefox 48
People
(Reporter: u549602, Assigned: kats)
References
Details
Attachments
(2 files)
|
144.25 KB,
image/png
|
Details | |
|
1.52 KB,
patch
|
Details | Diff | Splinter Review |
Nightly 44.0a1
Device: Nexus 7(5.1.1), Sony Xperia Z2 (5.0.2)
Steps to reproduce
1.In portrait mode user taps on Awesomescreen
2.User enters Facebook and navigates to Fb "Log-in and Sign up" page
3.User flips device's orientation from portrait to lansdcape
Expected result:
The Facebook log-in page is correctly repainted in landscape mode
Actual result:
The facebook page is incorrectly rendered in landscape mode
Please note that this issue started reproducing with the 25th of August Nightly.
Also please note that before the 25th, on the Nightly builds the rendering was performed but with a minor delay
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8a6045d14d6bd348a3b5bfeb55a9321e680cc93e&tochange=04b8c412d9f58fb6194c58dcaa66bf278bbd53cf
Any ideas?
tracking-fennec: --- → ?
Flags: needinfo?(snorp)
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(snorp)
Resolution: --- → DUPLICATE
Comment 4•10 years ago
|
||
This looks like viewport-related badness, and Kats is in the pushlog there.
Flags: needinfo?(bugmail.mozilla)
Updated•10 years ago
|
tracking-fennec: ? → 43+
| Assignee | ||
Comment 6•10 years ago
|
||
Yeah looks like regression from my stuff. If this is still happening feel free to reassign to me.
Flags: needinfo?(bugmail.mozilla)
Updated•10 years ago
|
Assignee: snorp → bugmail.mozilla
Comment 7•10 years ago
|
||
kats, it looks like this slipped through the cracks. Do you have time to look at this?
tracking-fennec: 43+ → ?
Flags: needinfo?(bugmail.mozilla)
| Assignee | ||
Comment 8•10 years ago
|
||
Hm, I don't have a device that can reproduce this. Does it still happen on Nightly or Aurora? (It might not happen on Nightly because APZ is enabled on Nightly, but if it affects current Aurora we should still fix it). I can put together a try push with extra logging once I know which channel to target.
Flags: needinfo?(bugmail.mozilla) → needinfo?(mihai.ninu)
Comment 9•10 years ago
|
||
This only happens on aurora, beta and release. If you need a secondary testcase https://news.ycombinator.com with request desktop site or reddit.com homepage both reproduce this behavior.
Updated•10 years ago
|
| Assignee | ||
Comment 10•10 years ago
|
||
Ah, thanks. I can repro using news.ycombinator on aurora. I'll look into it.
| Assignee | ||
Comment 11•10 years ago
|
||
So the problem here seems to be the order in which browser.js code gets invoked. On rotation, the MVM code runs and computes the correct resolution. That also triggers a reflow which runs the MozScrolledAreaChanged listener in browser.js, and that updates the displayport but using stale gScreenWidth/gScreenHeight values, and so it clobbers the resolution.
The attached patch is one possible fix, although I'm not sure what other side-effects it'll have.
| Assignee | ||
Comment 12•10 years ago
|
||
I rebased and this patch doesn't fix it any more. Back to the drawing board.
Updated•10 years ago
|
tracking-fennec: ? → 45+
| Assignee | ||
Comment 13•10 years ago
|
||
I spent some more time banging my head against this and not getting anywhere. I'm inclined to just wait until APZ is shipping, since that seems to fix this.
Depends on: fennec-aboard-apz
Updated•10 years ago
|
tracking-fennec: 45+ → 46+
Updated•9 years ago
|
Whiteboard: [platform-rel-Facebook]
Updated•9 years ago
|
platform-rel: --- → ?
Updated•9 years ago
|
platform-rel: ? → ---
Whiteboard: [platform-rel-Facebook]
| Assignee | ||
Comment 16•9 years ago
|
||
Seems to work fine in 48.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
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
•