Closed
Bug 1153841
Opened 9 years ago
Closed 8 years ago
Navigation bar on ESPN jumps around while panning
Categories
(Firefox for Android Graveyard :: Toolbar, defect, P1)
Tracking
(firefox41 fixed, fennec41+)
RESOLVED
FIXED
Firefox 41
People
(Reporter: blassey, Assigned: kats)
References
()
Details
Attachments
(1 file)
8.30 KB,
patch
|
mattwoodrow
:
review+
BenWa
:
review+
|
Details | Diff | Splinter Review |
If it's fixed position, we need to fix this. If not, we should reach out
Reporter | ||
Updated•9 years ago
|
tracking-fennec: --- → ?
Web compat issue here: https://github.com/webcompat/web-bugs/issues/836
Mike do you have a bug for this other than the github issue? Do you want to close it/dup it?
Flags: needinfo?(miket)
Comment 3•9 years ago
|
||
We can dupe either this one or the other--I don't have a preference. By the sound of webcompat@836, their engineers are at least aware of our suggested workaround. On one hand, position:sticky fixes the issue. On the other hand, Chrome Mobile performs wayyyy better than us with just position:fixed. Your call. :)
Reporter | ||
Comment 4•9 years ago
|
||
So this is not a web compat bug just because they can work around it. Kevin, can you check quickly if this has regressed in the last 4 releases?
Flags: needinfo?(kbrosnan)
Updated•9 years ago
|
Blocks: position-fixed
Comment 5•9 years ago
|
||
From user feedback on ESPN: * 37+ - we have reports that the menu bar is jittery. It manifests worse on some pieces of hardware (cwang's N5 was far worse than my M8 or glind's cheap Samsung) * 36 - we have a single report of "scrolling issues" * pre-36 - we have reports that the menu is completely unresponsive and/or renders strangely. Users are often not able to scroll at all. Some users report that the page has a ton of excess scrollable space in the right margin. This could either be correlated to dates or versions, I don't have enough data to make a strong claim. Here's a link to some of the ESPN data on Input: https://input.mozilla.org/en-US/?q=espn+%2B+%28scroll+bar+menu%29&date_start=2014-01-01&product=Firefox%20for%20Android
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → bugmail.mozilla
tracking-fennec: ? → +
Priority: -- → P1
Comment 6•9 years ago
|
||
Regression in 30.0a1 23:29.97 LOG: MainThread Bisector INFO Narrowed nightly regression window from [2014-02-25, 2014-02-28] (3 days) to [2014-02-27, 2014-02-28] (1 days) (~0 steps left) 23:29.97 LOG: MainThread Bisector INFO Got as far as we can go bisecting nightlies... 23:29.97 LOG: MainThread Bisector INFO Last good revision: a98a1d78817f 23:29.97 LOG: MainThread Bisector INFO First bad revision: 58eca03214a6 23:29.97 LOG: MainThread Bisector INFO Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a98a1d78817f&tochange=58eca03214a6
Comment 7•9 years ago
|
||
Tried bisecting via hg but I don't seem to have a working 30.0a1 build environment. If it is really needed I can spend some time on this.
Flags: needinfo?(kbrosnan)
Reporter | ||
Comment 8•9 years ago
|
||
kats, is it useful to bisect this further?
Flags: needinfo?(bugmail.mozilla)
Assignee | ||
Comment 9•9 years ago
|
||
Probably not. It's old enough that the code is going to be quite different now.
Flags: needinfo?(bugmail.mozilla)
Assignee | ||
Comment 10•8 years ago
|
||
I took a quick look at this; there is a 3D transform on the fixed-pos item which is causing the problem (because our code in AsyncCompositionManager that deals with keeping fixed-pos items fixed doesn't deal with 3D transforms). The CSS for the page has a perspective:800px on the fixed-pos item, and if I remove that it works fine.
Assignee | ||
Comment 11•8 years ago
|
||
I don't really see any reason to restrict the handling to 2D transforms, and dealing with 3D transforms as well fixes the issue on this page.
Attachment #8624838 -
Flags: review?(matt.woodrow)
Attachment #8624838 -
Flags: review?(bgirard)
Comment 12•8 years ago
|
||
Comment on attachment 8624838 [details] [diff] [review] Deal with 3D transforms for fixed-pos layers as well Review of attachment 8624838 [details] [diff] [review]: ----------------------------------------------------------------- This looks like a good candidate to add a test. I can see us regressing this quite easily. Consider adding a test if-and-only-if it's pragmatic. Patch looks good but I'm a bit surprised there are not any tricky cases to handle for 3D. This patch just removes the 2d checks essentially.
Attachment #8624838 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 13•8 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #12) > This looks like a good candidate to add a test. I can see us regressing this > quite easily. Consider adding a test if-and-only-if it's pragmatic. So I thought it would be pretty straightforward to write a test for this. I copied layout/reftests/async-scrolling/position-fixed-1*.html to -3*.html and modified it so that the fixed-pos element had a 3D transform. On desktop however, the layout.scroll.root-frame-containers pref is set to false by default and on Fennec it's true (until bug 1158392 lands anyway), and that affects the structure of the layer tree that results. On desktop the fixed-pos layer ends up being a sibling of the async-scrolled layer whereas on Fennec it's a child, and that's relevant to the bug. This also implies that fixing bug 1158392 will fix this issue as well. Also, the 3D transform that I induced caused assertion failures in layout (which is bad, I filed bug 1176355 for it) and I'm not sure how else to induce a 3D transform on layer. I tried copying the CSS properties from the ESPN page but it didn't work - I must be missing something (and I don't really understand the world of 3D CSS transforms enough to figure it out). > Patch looks good but I'm a bit surprised there are not any tricky cases to > handle for 3D. This patch just removes the 2d checks essentially. I'm sure there are some tricky cases, but again I don't know enough about the world of 3D to really say. Hopefully mattwoodrow can chime in on that.
Assignee | ||
Updated•8 years ago
|
Updated•8 years ago
|
Attachment #8624838 -
Flags: review?(matt.woodrow) → review+
Comment 15•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/07e102889997
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Assignee | ||
Comment 16•8 years ago
|
||
Is this something we want to uplift?
Assignee | ||
Updated•8 years ago
|
tracking-fennec: + → ?
tracking-fennec: ? → 41+
Updated•3 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
•