URL bar doesn't hide after entering fullscreen
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(firefox63 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 verified, firefox68 verified)
People
(Reporter: xidorn, Assigned: rbarker)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(4 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
application/octet-stream
|
Details | |
(deleted),
application/x-sh
|
Details | |
(deleted),
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details |
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
(In reply to csheany from comment #10)
Ever now and then the button is covered by the toolbar after exiting
fullscreen.
How are you exiting fullscreen? The test page does not provide a way to exit fullscreen.
Comment 16•6 years ago
|
||
The devices back button.
It happens when the page is zoomed in.
Should I clone to discuss?
Comment 17•6 years ago
|
||
(In reply to csheany from comment #16)
The devices back button.
Thanks.
It happens when the page is zoomed in.
Ah, ok. That sounds like it may be bug 1516471, then.
Should I clone to discuss?
Feel free to either mention this behaviour in a comment on bug 1516471, or file a bug that depends on bug 1516471.
Updated•6 years ago
|
Comment 18•6 years ago
|
||
How is this performing for you in Nightly 67.0a1 (2019-03-08)?
Reporter | ||
Comment 19•6 years ago
|
||
With the testcase and steps in comment 2, it's 100% reproducible on my phone.
Comment 20•6 years ago
|
||
Thank you for your response.
Do you mean that it still isn't hiding properly?
Reporter | ||
Comment 21•6 years ago
|
||
Yes, it still isn't hiding properly.
Comment 22•6 years ago
|
||
Have you been keeping an eye on it.
Do you know for how long?
Comment 23•6 years ago
|
||
If you are able to test the previous Nightly is the result the same?
Comment 24•6 years ago
|
||
It used to freeze with the button and toolbar visible at the same time...
But now I am seeing the test page reach the top of the screen under the toolbar.
Reporter | ||
Comment 25•6 years ago
|
||
(In reply to csheany from comment #22)
Have you been keeping an eye on it.
Do you know for how long?
No, I don't know.
(In reply to csheany from comment #23)
If you are able to test the previous Nightly is the result the same?
I am able to do that, but that takes time. Unless you have specific change in mind which may have changed the behavior recently, I'm not going to do that.
Comment 26•6 years ago
|
||
I don't remember the last time I checked but I thought it was happening fever times but now it is more.
Comment 27•6 years ago
|
||
The reason I was asking is...
I was testing Bug 1504865 with Bug 1158392 landed and as you can imagine made that difficult.
I was surprised because I didn't remeber it being so bad.
Yes it still wasn't smooth but it was for as long.
I cleared data for a fresh install and that may have caused Comment 24 but I'm not sure.
Comment 28•6 years ago
|
||
I mean consistent.
Comment 29•6 years ago
|
||
I just tested the second attachment and Bug 1504865 doesn't occur.
I was confused for a minute but looking at the page source it has meta data.
I wonder if that is a factor and may provide a clue as to resolving.
It was thought to be fixed by Bug 1158392 but that doesn't seem the case unless it depends on additonal patches.
I don't know if you have kept up with Bug 1504865 but it may have been cause by Bug 1298218.
Do you have any thoughts about that?
Comment 30•6 years ago
|
||
You don't have to check.
I guess I couldn't believe it was still an issue as the last comment (I made) was 2 months ago.
Do you still not know what caused the regression?
Is it about the unprefixed version of the Fullscreen API?
Reporter | ||
Comment 31•6 years ago
|
||
Thanks. That all makes sense.
So, it seems to me that bug 1158392 (containerless scrolling) is actually the reason which causes the url bar to consistently stay after entering fullscreen (as described in comment 19). If you go to about:config and change layout.scroll.root-frame-containers
to 1 (from 0) and refresh the page, you would see url bar disappears automatically. (Also it seems to me even after doing this, bug 1504865 still doesn't occur for me, so maybe it has been fixed by something else as well.)
I guess maybe previously some mechanism triggers a repaint or something which removes the url bar, but now that is no longer triggered immediately.
Comment 32•6 years ago
|
||
I realize my comments in between Comment 25 were long winded and I was afraid you were in the process of testing the previous Nightly before reading Comment 30.
I also didn't want you to think it was out of the blue given the time frame from Comment 17 it just seemed related.
Would you mind posting your findings in Bug 1504865?
Comment 33•6 years ago
|
||
I think Bug 1528743 is related to the about:config pref.
Reporter | ||
Comment 34•6 years ago
|
||
Oh, well, it seems after changing layout.scroll.root-frame-containers
I can reproduce bug 1504865 with https://bug1493976.bmoattachments.org/attachment.cgi?id=9018847 so it wasn't fixed without containerless scrolling... I guess nothing new worth reporting there, then.
Comment 35•6 years ago
|
||
Would you mind clariying the states in which it is fixed?
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 37•6 years ago
|
||
So, it seems that containerless scrolling makes this issue happen very consistently.
If I disable containerless scrolling (via setting layout.scroll.root-frame-containers
to 1), this bug can reproduce but in a very low frequency.
Comment 38•6 years ago
|
||
This patch fixes the problem for me locally. I'm not familiar enough with the dynamic toolbar code to tell if this is the right approach.
Comment 39•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 40•6 years ago
|
||
:botond I still see the issue intermittently with your fix. Do you know what could have changed? Is the page not getting composited after it goes full screen anymore? I don't see this issue in beta or release so it seems to be a recent regression.
Comment 41•6 years ago
|
||
The page gets composited after it goes full screen, but at that time the compositor toolbar height, as seen in LayerManagerComposite::RenderToolbar()
is still nonzero.
The toolbar height gets set to zero subsequently, and no place in the toolbar animator code is requesting another composite.
I think this is a latent bug that's been around for quite some time (likely since the latest dynamic toolbar rewrite), and it's just been masked by the fact that something else happened to be requesting a composite later. (Most of the time, anyways; if you read the comments further above, the issue is still reproducible at a low frequency on beta/release.)
It seems clear that the toolbar animator code should request its own composites after changing the toolbar height, and not rely on something else to coincidentally request a composite.
The only thing I'm really unsure about, is where in the toolbar animator code we should be requesting the composite - the place where I added it in the patch, or somewhere else in UpdateAnimation()
, or in UpdateCompositorToolbarHeight()
perhaps?
Assignee | ||
Comment 42•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 43•6 years ago
|
||
Comment 44•6 years ago
|
||
Comment 45•6 years ago
|
||
Does this fullscreen issue affect Fenix or just Fennec? If it affects Fenix, we might want to uplift it to GV 67 Beta.
Comment 46•6 years ago
|
||
I believe this is Fennec only.
See also Bug 1517809
Comment 47•6 years ago
|
||
bugherder |
Comment 48•6 years ago
|
||
(In reply to csheany from comment #46)
I believe this is Fennec only.
Thanks. If this bug is Fennec only, then we can let the fix ride with Fennec 68 instead of rushing to uplift to Fennec 67 Beta.
Comment 49•6 years ago
|
||
Uplifting might be worth it given Bug 1158392 which made this worse.
Comment 50•6 years ago
|
||
(In reply to csheany from comment #49)
Uplifting might be worth it given Bug 1158392 which made this worse.
Botond, should we uplift this fullscreen fix to Fenenc 67 Beta? csheany points out that containerless scrolling, which made this problem worse, rode the trains to Beta with Fennec 67 (bug 1137890).
Comment 51•6 years ago
|
||
The relationship to containerless scrolling is incidental, but given that this is a very low risk one-line patch, I support uplifting it to 67. Randall, any objection?
Assignee | ||
Comment 52•6 years ago
|
||
I don't think it can do any harm in uplifting it.
Updated•6 years ago
|
Comment 53•6 years ago
|
||
Comment on attachment 9052552 [details]
Bug 1500719 - Ensure toolbar is hidden when going fullscreen
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1335895
- User impact if declined: When user enters fullscreen mode, the URL bar can remain visible until the user taps the page.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a very low risk patch, as all it does is request a composite at the end of a toolbar animation.
- String changes made/needed:
Comment 54•6 years ago
|
||
Comment 55•6 years ago
|
||
Comment on attachment 9052552 [details]
Bug 1500719 - Ensure toolbar is hidden when going fullscreen
Low risk patch for a visible Fennec regression, uplift approved for 67 beta 7, thanks.
Comment 56•6 years ago
|
||
bugherder uplift |
Comment 57•6 years ago
|
||
Verified as fixed in Beta 67.0b7 build 1 on Android 6.0.1.
Comment 58•6 years ago
|
||
Also verified on the latest Nightly 68.0a1 (2019-03-31) on Galaxy S6 - Android 6.0.1.
Comment 59•6 years ago
|
||
Updated•4 years ago
|
Description
•