[toolbar redesign] Navbar divider not hidden when navbar is hidden for webpage interactions
Categories
(Fenix :: Toolbar, defect, P2)
Tracking
(firefox134 wontfix, firefox135 verified)
People
(Reporter: petru, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3][toolbar-redesign-release-blocker] )
Attachments
(7 files, 1 obsolete file)
408.89 KB,
image/png
|
Details | |
901.84 KB,
video/mp4
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1927677 - part 3 - Show the navbar divider in the same layout as the navbar r=#android-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta-
|
Details | Review |
70.87 KB,
image/jpeg
|
Details |
Steps to reproduce
- Ensure the toolbar redesign is enabled in settings
- Ensure the toolbar position is set at top
- Access any website with
input
fields - Focus on an
input
field
Expected behavior
The keyboard appears with nothing on top - the navbar is hidden
Actual behavior
The keyboard appears but shows a divider on top - only the navbar is hidden, not it's divider also
Any additional information?
This is an old bug from the initial implementation of the divider which is separate from the navbar.
As a proposed implementation (mimicking what we do for the addressbar) the divider should be part of the navbar layout.
=========
Another related bug I saw while working on this:
- Ensure the toolbar position is set at top
- Get and close a microsurvey
Expected behavior
The top addressbar has no change
Actual behavior
The top addressbar gets a top divider
Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Comment 2•4 months ago
|
||
initializeMicrosurveyPrompt
is called in scenarios when we won't also show the navbar.
We wanted to show dividers on top of the bottom toolbar.
In this case the divider would be shown below it with no UX reason so it can be avoided.
Assignee | ||
Comment 3•4 months ago
|
||
Assignee | ||
Comment 4•4 months ago
|
||
Treating the navbar and it's divider as a whole will allow to apply changes like
visibility to both of them at the same time.
Comment 6•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5d64beaf4b61
https://hg.mozilla.org/mozilla-central/rev/363f7a1b2f2b
https://hg.mozilla.org/mozilla-central/rev/f49863193c13
Assignee | ||
Comment 7•3 months ago
|
||
This reverts commit 3acb5215f8a2e9addf690b8c04471273fd49cd21
Comment 8•3 months ago
|
||
Comment on attachment 9437707 [details]
Revert "Bug 1927677 - part 3 - Show the navbar divider in the same layout as the navbar r=#android-reviewers
Revision D228989 was moved to bug 1930651. Setting attachment 9437707 [details] to obsolete.
Comment 9•3 months ago
|
||
Reopening this bug because the fix was backed out. Moving from beta blockers to release blockers.
Updated•3 months ago
|
Assignee | ||
Comment 10•3 months ago
|
||
This will allow for the internal functionality of the navbar to be hidden
when the keyboard is opened to also hide the divider.
Adding the divider in the same composable meant also adding the 1dp height
of the divider in the navbar composable.
Comment 11•2 months ago
|
||
Comment 12•2 months ago
|
||
bugherder |
Comment 13•2 months 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. Also, don't forget to request an uplift for the patches in the regression caused by this fix.
- If no, please set
status-firefox134
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•2 months ago
|
Comment 14•2 months ago
|
||
Verified as fixed in Nightly 135.0a1 from 12/13 with Google Pixel 8 Pro (Android 14).
Updated•2 months ago
|
Assignee | ||
Comment 15•2 months ago
|
||
Comment on attachment 9441496 [details]
Bug 1927677 - Show the divider in the same composable as the navbar r=#android-reviewers
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Small bug fix planned to provide a polished UX of the redesigned toolbar when released.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Ensure the toolbar redesign is enabled in settings
Ensure the toolbar position is set at top
Access any website with input fields
Focus on an input field
Verify that there is no divider shown between web content and the keyboard. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small targetted patch verified by QA in Nightly.
- String changes made/needed:
- Is Android affected?: Yes
Comment 16•2 months ago
|
||
Comment on attachment 9441496 [details]
Bug 1927677 - Show the divider in the same composable as the navbar r=#android-reviewers
The patch doesn't graft cleanly to beta and we are past our last beta. This is polish, we can reconsider a rebased patch for the planned dot release (request uplift of a rebased patch to mozilla-release once we have shipped 134.0). Thanks
Assignee | ||
Comment 17•2 months ago
|
||
Thank you!
Was a bit worried about potential conflicts with a few other toolbar redesign related patches being uplifted recently.
It's indeed a small detail, will check in the team (adding myself a NI for that) if we need this uplifted to release or can leave it to ride the trains.
Assignee | ||
Comment 18•2 months ago
|
||
Checked in the team, no need to uplift to 134.
Updated•2 months ago
|
Updated•2 months ago
|
Description
•