[toolbar redesign] The nav bar should automatically appear when closing the keyboard.
Categories
(Fenix :: Toolbar, task, P1)
Tracking
(firefox129 fixed)
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: royang, Assigned: mavduevskiy)
References
Details
(Whiteboard: [fxdroid])
Attachments
(6 files)
Reporter | ||
Updated•7 months ago
|
Reporter | ||
Updated•7 months ago
|
Updated•7 months ago
|
Reporter | ||
Updated•7 months ago
|
Reporter | ||
Updated•7 months ago
|
Reporter | ||
Updated•6 months ago
|
Comment 2•6 months ago
|
||
Setting toolbar redesign's Beta experiment blockers to priority P2 until we finish fixing our Nightly blockers.
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 5•5 months ago
|
||
The function is duplicated in Home and Browser fragments and being used to determine if the address bar is positioned at the bottom. Moving it into an extensions reduces code fragility, as well as allowing other components, not just fragments, to reliably check the address bar position.
Assignee | ||
Comment 6•5 months ago
|
||
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 8•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1bbdbf70ab0
https://hg.mozilla.org/mozilla-central/rev/5b84e9134dc9
Assignee | ||
Comment 9•5 months ago
|
||
found a use case missed:
opening a tab through tabs tray and closing keyboard
Updated•5 months ago
|
Assignee | ||
Comment 10•5 months ago
|
||
A mechanism that prevents the navbar from being drawn in case the home page is opened with intent to focus addressbar automatically (which cases glitching), was setting visibility to the compose view, but BottomToolbarContainerIntegration was managing visibility using the container. Using the container looks more appropriate.
Assignee | ||
Comment 11•5 months ago
|
||
Restricting access to compose view, so that visibility of the container would be managed through container view only.
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 12•4 months ago
|
||
Comment 13•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0937386f87e4
https://hg.mozilla.org/mozilla-central/rev/67d1ccd7b83d
Assignee | ||
Comment 15•4 months ago
|
||
hey, Aarjav!
What's the behaviour that you would expect in this case? The use case you recorded.
From engineering perspective, it works correctly and the issue lies in a different tech realm – it should be fixed here.
In short, it has to do with the way android OS is handling the hiding keyboard. When navigation in OS is set through gestures, not navigation bar, the hide keyboard button hides the keyboard but the focused element still holds the focus. You can see this behaviour across all android apps, except – ironically – Chrome. But other browsers I tested, Google app, gphotos and gmail treat hiding the keyboard just as hiding the keyboard, focused element retains focus.
And that's the bug you noticed – the keyboard is hidden, but the toolbar is still focused (you can see the cursor is still there), and it takes a second back gesture to actually close the toolbar in edit mode and go back to display mode.
The behaviour is different if you switch system navigation to button navigation. It will work as you expect.
Overriding system behaviour here isn't straightforward, but it's something we have as a todo thing.
Description
•