Closed
Bug 1898604
Opened 6 months ago
Closed 5 months ago
[toolbar redesign] With tab strip enabled in tablet toolbar is not hiding correctly
Categories
(Fenix :: Toolbar, defect)
Tracking
(firefox129 fixed)
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: royang, Assigned: mavduevskiy)
References
Details
(Whiteboard: [fxdroid])
Attachments
(3 files)
With tabs strip enabled, scroll smoothly in sites like Wikipedia.
The expected behaviour is that the toolbar and tab strip will hide while scrolling up. However, when toolbar redesign is enabled the hiding behaviour is incorrect.
Reporter | ||
Updated•6 months ago
|
Severity: -- → S2
Whiteboard: [fxdroid]
Updated•6 months ago
|
Reporter | ||
Updated•6 months ago
|
Blocks: android-toolbar-phase-1-nightly
Assignee | ||
Updated•5 months ago
|
Assignee: nobody → mavduevskiy
Assignee | ||
Comment 1•5 months ago
|
||
The problem was caused casting in EngineViewClippingBehavior. It assumed that ToolbarContainerView could be only at the bottom, but Tabstrip added one on top as well. Removed casting from onDependentViewChanged, now it calculates the dependant position with a simple equasion.
Assignee | ||
Comment 2•5 months ago
|
||
Tests became quite verbose, refactored repeated object creation into class parameters and helper functions.
Updated•5 months ago
|
Attachment #9404632 -
Attachment description: Bug 1898604 - Refactor tests → Bug 1898604 - Refactor EngineViewClippingBehaviorTest tests to be more concise
Pushed by mavduevskiy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/87287ee27746
Fix tabstrip scrolling for tablets r=android-reviewers,Roger
https://hg.mozilla.org/integration/autoland/rev/9587f4babf2e
Refactor EngineViewClippingBehaviorTest tests to be more concise r=android-reviewers,gl,harrisono
Comment 4•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/87287ee27746
https://hg.mozilla.org/mozilla-central/rev/9587f4babf2e
Status: NEW → RESOLVED
Closed: 5 months ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•