[toolbar redesign] Implement long press tab tray button
Categories
(Firefox for Android :: Toolbar, task, P2)
Tracking
()
People
(Reporter: royang, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid])
Attachments
(7 files)
Implement the same behaviour as the current toolbar when user long press on the tab tray button.
Figma
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Comment 1•1 year ago
|
||
Setting toolbar redesign's Beta experiment blockers to priority P2 until we finish fixing our Nightly blockers.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
A fully Compose implementation that would use a DropdownMenu would not allow positioning
the menu to the bottom of the screen because DropdownMenu use hardcoded margins and paddings.
Following community requests this shortcoming is to be fixed in
https://github.com/JetBrains/compose-multiplatform/issues/1878 after which we can migrate
to a fully Compose implementation.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
| Assignee | ||
Comment 6•1 year ago
|
||
| Assignee | ||
Comment 7•1 year ago
|
||
Showing what using app's ContextualMenu or Compose's DropdownMenu would give us: a menu opened very high up from the toolbar button, so much so that the relation between the two may be lost and would get to be an ugly visual bug.
This happens because Compose hardcodes a margin and padding to ensure menus do not appear right to the edge of the screen even though that is what we need/want.
Fortunately by popular request this is considered to be fixed - https://github.com/JetBrains/compose-multiplatform/issues/1878 and after this change we'll be able to go with a full Compose implementation.
Comment 8•1 year ago
|
||
UX approved
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/64d8e75c61fa
https://hg.mozilla.org/mozilla-central/rev/8e3ded3d44c5
https://hg.mozilla.org/mozilla-central/rev/9332e4041b45
Comment 11•1 year ago
|
||
Verified as fixed on the latest Nightly and an earlier (129 cycle one to confirm on the version where the fix was made) Nightly builds (129.0a1 and 130.0a1 from 2024-07-12). with Navigation Toolbar enabled from Secret Settings on 129.
Devices used:
- Samsung Galaxy S23 Ultra (Android 14).
- Samsung Galaxy Fold 5 (android 14).
- Google Pixel 7 (Android 15 Beta 3).
Marking the ticket as verified on 129 and 130.
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Description
•