Open Bug 1900622 Opened 5 months ago Updated 1 month ago

Fenix should react to Gecko's requests to hide the dynamic toolbar, to allow revealing text fields that are covered by the dynamic toolbar

Categories

(Core :: Panning and Zooming, defect, P2)

Unspecified
Android
defect

Tracking

()

ASSIGNED
Tracking Status
firefox130 --- wontfix
firefox131 --- wontfix
firefox132 --- affected

People

(Reporter: ajakobi, Assigned: ajakobi)

References

(Depends on 1 open bug)

Details

(Keywords: leave-open)

Attachments

(7 files, 1 obsolete file)

After closing bug 1855990, follow up by implementing means to hide the dynamic toolbar on Fenix.
Involve QA for testing this.

Attached file 1900622-testpage.html
Flags: qe-verify+
OS: Unspecified → Android

Steps to test for QA:

  1. Load attached testpage with Android device with pref. dynamic toolbar enabled.
  2. Tap into the input field at the bottom of the page, which will cause the keyboard to be shown and scroll the now focused input field into view

Expected result:

  • The dynamic toolbar gets hidden such that the input field is fully visible
  • No other changes to the dynamic toolbar behavior
Attached image Untitled.png

Hi, Alex,
I tried to reproduce this issue with Samsung Galaxy A53 5G (Android 14) and Google Pixel 8 Pro (Android 14) in latest Nightly 129.0a1 from 07/03 and GVE, but the input field is not displayed when loading the attached testpage in Fenix.

I was however able to reproduce this using the test pages provided in this comment, moreover with Input field too low. This is reproducible with all latest releases (Nightly 129.0a1, Beta 129.0b9, RC 129.0 build 1).

Is there something I'm missing in order to reproduce this issue with the attached testpage? Thank you!

Flags: needinfo?(ajakobi)
Attached file The correct one

Alex somehow attached an HTML showing the source HTML. This one should work.

Flags: needinfo?(ajakobi)

Thanks Hiro!
Delia, my apologies, it's my first time adding QA flags to a bug. The change for this bug is not yet landed, I'll let you know as soon as it has landed.

Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/331cc5c5a9d9 Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Regressions: 1908553

Hi Alex! It looks like the new expand collapse expand test is a high-frequency intermittent (bug 1908553). I've seen it pop up in a couple of my Try runs, and quite a few failures on Autoland. Could you have a look, please? ☺️ Thanks!

Flags: needinfo?(ajakobi)

Lina, Norisz, thanks for reporting an backing this out. I will take a look.

Flags: needinfo?(ajakobi)

Hi Alex,
I'm removing the qe-verify+ label for now, as the change is not landed yet.
Please add it again when QA can test the change.
Thank you

Flags: qe-verify+ → needinfo?(ajakobi)

Understood, thanks for taking care of this.

Flags: needinfo?(ajakobi)
Pushed by ajakobi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7e422af6bf16 Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud
Pushed by ajakobi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e90d4466e409 Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud

Linting error should be fixed now.

Flags: needinfo?(ajakobi)

Adding qe-verify+ label again. Please let me know should you need more information or face any issues.

Flags: qe-verify+

Verified on the latest Fenix Nightly 131.0a1 build from 8/23 with a Google Pixel 6 (Android 15), and a Samsung Galaxy S24 (Android 14).
As it can be seen in the short video attached:

  • on Nightly when the field is tapped, the toolbar is dynamic,
  • on RC when the field is tapped, the toolbar is displayed above it.

Tested on this test page: https://bugzilla.mozilla.org/attachment.cgi?id=9412359

Alex, should any pref be modified in the about:config page, or is the scenario above suffice?

Flags: needinfo?(ajakobi)
Flags: qe-verify+

Hi Mira, thanks for checking! The change is not behind any pref. I just checked on Fenix Nightly 131.0a1 with a Google Pixel 8 (Android 14) and see the same result as shown in the video you've attached.

The dynamic toolbar gets hidden when the input field is focused, that's good. However, when the dynamic toolbar comes back into view, its content is not shown, only a very thin line is seen where the top of the dynamic toolbar should be. That is definitely not intended.

I'll check.

Flags: needinfo?(ajakobi)

Back out due to regression found by QA in comment #21.

Attachment #9420830 - Attachment description: WIP: Backed out changeset e90d4466e409 (Bug 1900622) → Backed out changeset e90d4466e409 (Bug 1900622)
Backout by ajakobi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bef0c84e402b Backed out changeset e90d4466e409 r=botond,android-reviewers,tthibaud

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)

Reopening since the fix was backed out.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

If the dynamic toolbar feature is enabled then these two will be scrolled together.
If the addressbar is permitted to also be scrolled independently then it would be scrolled
two times.

If the dynamic toolbar feature is enabled then these two will be scrolled together.
If the addressbar is permitted to also be scrolled independently then it would be scrolled
two times.

Attachment #9422469 - Attachment is obsolete: true
Pushed by plingurar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/351de2a3a578 Avoid individually scrolling addressbar if shown together with the navbar r=android-reviewers,harrisono
Status: REOPENED → RESOLVED
Closed: 4 months ago2 months ago
Resolution: --- → FIXED

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

The patch landed in nightly and beta is affected.
:ajakobi, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval. Also, don't forget to request an uplift for the patches in the regression caused by this fix.
  • If no, please set status-firefox131 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(ajakobi)

(Reopening since the patch that landed is just part of the fix.)

Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Target Milestone: 130 Branch → ---

Working on getting the necessary change re-landed.

Flags: needinfo?(ajakobi)
Depends on: 1920019

Due to updates to interactive-widget, hiding the toolbar in resizes-visual does not work and is not the right approach to begin with. See discussion in bug 1920019 for details.

Apart from that, refactoring the dynamic toolbar behavior is an initiative in the making, this will likely implement a different approach to hiding the toolbar and resolve this bug.

Until then, we will pause work on this bug.

Changes in D213962 are complete.

@Alex @Hiro
Asked Channing on whether we still need to have this block the navbar release.
Curious about your opinion also and if you know how big of an issue this is in real world - are you aware of any website that is affected?

Flags: needinfo?(hikezoe.birchill)
Flags: needinfo?(ajakobi)

I personally don't think this should be a blocker to the Navbar release. I don't know of any production websites that trigger this bug. It's rather an edge case with pages being vertically larger than 100svh but smaller than 100lvh and those must have 'interesting' elements (e.g. input field) close enough to the bottom for the toolbar to overlap it when you want to interact with it. You can work around it by scrolling so that the dynamic toolbar hides. Additionally, this bug is part of production code for an unknown time already and we're not seeing outside reports of this as far as I'm aware.

Flags: needinfo?(ajakobi)

Thank you for the updates
Based on Channing's input also

I'm fine with not making this a release blocker but we should keep an eye to see if we get any user complaints.

I will remove this from the list of navbar blockers.

Flags: needinfo?(hikezoe.birchill)
Summary: Means to hide dynamic toolbar on Fenix → Fenix should react to Gecko's requests to hide the dynamic toolbar, to allow revealing text fields that are covered by the dynamic toolbar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: