[toolbar redesign] When the toolbar disappears, the cookies border does not remain stable on the screen and an empty space remains
Categories
(Firefox for Android :: Toolbar, defect)
Tracking
()
People
(Reporter: emanuellclaudiu, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [kitkat banana sprint] )
Attachments
(11 files)
|
8.14 MB,
video/mp4
|
Details | |
|
350.83 KB,
image/jpeg
|
Details | |
|
7.05 MB,
video/mp4
|
Details | |
|
5.54 MB,
video/mp4
|
Details | |
|
5.36 MB,
video/mp4
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
252.38 KB,
image/png
|
Details | |
|
693.22 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
2.28 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Android 11; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0
Steps to reproduce:
When the toolbar disappears, the cookies border does not remain stable on the screen and an empty space remains. It is best observed when the toolbar is placed at the bottom, then we make small movements and you can see empty space between the cookie border and the bottom of the screen. It can be reproduced in the new toolbar in Nightly and in the old toolbar. It can also happen when there is a cookie border at the top of the screen.
Actual results:
Empty space between the cookie border and the bottom of the screen.
Expected results:
Let that empty space not exist.
Comment 2•1 year ago
|
||
Thanks! This bug might be related to cookie banner bug 1908028 or blank space bug 1908639 or bug 1907751.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Tested on https://www.meteoromania.ro and https://www.meteoromania.ro/avertizari and I see the websites cookies banner being correctly placed in the latest Nightly.
@eclaudiu64 Can you confirm the issue seems fixed for you also?
| Reporter | ||
Comment 4•1 year ago
|
||
I can reproduce this in Firefox Nightly 132. In addition, I noticed that the scroll bar, when we zoom in on a site and scroll left - right, the scroll bar is located higher, when the toolbar disappears, I will also attach a video.
| Reporter | ||
Comment 5•1 year ago
|
||
It happens that the cookies dialog is hidden behind the toolbar.
| Assignee | ||
Comment 6•1 year ago
|
||
(In reply to eclaudiu64 from comment #5)
Created attachment 9422164 [details]
Screenshot_20240903-114301_Firefox Nightly.jpgIt happens that the cookies dialog is hidden behind the toolbar.
Thank you for reporting this!
I can't reproduce it though, curious if the QA team can offer more details about the conditions for seeing this, particularly on https://www.meteoromania.ro or other websites with fixed bottom elements, like youtube.
| Reporter | ||
Comment 7•1 year ago
|
||
The fact is that it is not correctly attached to the toolbar and moves incorrectly, when moving and hiding the toolbar bar. I tested on many phones, the same behavior and with fresh installation of the app the error happens.
Comment 8•1 year ago
|
||
I was able to reproduce both issues mentioned, on multiple websites that have a dynamic cookie banner:
- while the nav bar and address bar are hidden, slowly scrolling up then quickly lifting the finger from the screen will cause the empty space between the cookie banner and the bottom of the screen.
- with the empty space displayed, slowly scrolling up will move the cookie banner at the bottom of the screen > slowly scrolling up + lifting the finger from the screen, will then cause the cookie banner to become partially overlapped by the address bar.
Tested with Google Pixel 8 Pro (Android 14) on the latest Nightly 132.0a1 from 09/04.
Updated•1 year ago
|
| Assignee | ||
Comment 9•1 year ago
|
||
Thank you Delia!
Tried on 3 devices but I still can't reproduce on any of the indicated websites
But there is a related issue specific to when using the navbar which I fixed recently - bug 1912988 which solves some other issues also.
Would wait to see if after landing that anything changed.
Comment 10•1 year ago
|
||
I can no longer reproduce this issue on the latest Nightly 132.0a1 from 09/12.
Although the cookie banner does not entirely stick to the top of the screen (it can be seen slightly moving) while scrolling, I believe this will be solved by ticket 1917978.
I'll close this as fixed.
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Comment 11•1 year ago
|
||
I can still reproduce with the latest version of Firefox Nightly, the error is still there, just light taps and it reproduces.
| Assignee | ||
Comment 13•1 year ago
|
||
I still can't reproduce but if the issue is that the fixed element does not follow the dynamic toolbar then this seems like a variation of bug 1917978.
| Reporter | ||
Comment 14•1 year ago
|
||
Try enabling the Remove animations setting in your phone settings and retest.
| Assignee | ||
Comment 15•1 year ago
|
||
(In reply to eclaudiu64 from comment #14)
Try enabling the Remove animations setting in your phone settings and retest.
Thank you!
Seems like this is the detail I was missing.
I can reproduce with both the navbar enabled or disabled and reproduces in the current Release (130) also.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 16•1 year ago
|
||
With animations disabled onDependentViewChanged might not be called when the toolbar is
snapped to a new position.
layoutDependsOn is called though, with the right values which can be used to also update
the engine view based on the new values.
| Assignee | ||
Comment 17•1 year ago
|
||
With animations disabled onDependentViewChanged might not be called when the toolbar is
snapped to a new position.
layoutDependsOn is called though, with the right values which can be used to also update
the engine view's vertical clipping value.
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0c9787ceeda9
https://hg.mozilla.org/mozilla-central/rev/0f1427140c18
| Assignee | ||
Updated•1 year ago
|
Comment 20•1 year ago
|
||
Comment 21•1 year ago
|
||
Comment 22•1 year ago
|
||
Hey Petru, I bisected a problem we were seeing in fullscreen video and these 2 commits were the cause. When going fullscreen I think we want to keep the engine view with translationY of 0 since we are removing the toolbar but it appears in EngineViewClippingBehavior.kt we are now translating it by the size of the toolbar still. I've attached screenshots but we should probably consider backing these out until we make changes.
| Assignee | ||
Comment 23•1 year ago
|
||
Thanks for the ping, was able to reproduce the issue.
Seems like a conflict between us trying to manually setup the engineView and toolbars when entering fullscreen and then the layout behaviour being now more quick and constant in organizing the dependent views.
Conceptually we don't need the behaviour to be active while in fullscreen and we already reinitialize it when exiting fullscreen so a fix/improvement here is simple: disable the behaviour while in fullscreen.
Will work out a patch,
Removing the ask for QE to verify this until that lands also.
| Assignee | ||
Comment 24•1 year ago
|
||
If the toolbar is dynamic we use a CoordinatorLayout behavior to synchronize the
toolbar and the engine view.
In fullscreen the toolbars are hidden so there is no need to continue observing
layout updates and try to synchronize the two views.
The proper behavior is already set again when exiting fullscreen.
Comment 25•1 year ago
|
||
The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox132towontfix.
For more information, please visit BugBot documentation.
Comment 26•1 year ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 27•1 year ago
|
||
Comment 28•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 29•1 year ago
|
||
I can no longer reproduce the issue initially reported, where the cookie banner was partially overlapped by the address bar in the latest Nightly 133.0a1 from 10/03 with Google Pixel 8 Pro (Android 14) and Samsung Galaxy S22 Ultra (Android 14).
Additionally, the issue with a empty toolbar space displayed on a full screen video (shown in Comments 20 and 21) is also no longer reproducible.
I've also tested this with the "Remove animations" option enabled and apart from the issue mentioned in Comment 10, with the cookie banner not sticking to the top of the screen (it can be seen slightly moving) while scrolling, no other issues were observed.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•