[Toolbar redesign] Missing navigation bar in custom tab
Categories
(Firefox for Android :: Toolbar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | unaffected |
| firefox129 | --- | unaffected |
| firefox130 | --- | disabled |
| firefox131 | --- | disabled |
| firefox132 | --- | fixed |
People
(Reporter: tech4pwd, Assigned: skhan)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(6 files, 2 obsolete files)
User Agent: Mozilla/5.0 (Android 14; Mobile; rv:130.0) Gecko/130.0 Firefox/130.0
Steps to reproduce:
Press a link to open a webpage in a chrome tab (Sync for Lemmy for example)
Actual results:
See a white bar instead of second toolbar
Expected results:
The option to open a tab in normal Firefox
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 1•1 year ago
|
||
No issue should be blocking Nightly anymore. (already shipped in Nightly) Moving to a Beta blocker
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•1 year ago
|
||
Can confirm this issue is present in the latest Nightly 139.0a1 from 07/31 with Google Pixel 8 Pro (Android 14), however it was also reproducible when 1909896 and 1908954 were reported. Although the issue was fixed for normal browsing mode, it persists for Private custom tabs.
Additional details to reproduce this issue:
- In Fenix, go to Settings > Private browsing and enable the "Open links in private tab" option.
- Set Fenix as default browser.
- Open an external app (i.e. Gmail, Instagram, Slack) and tap on a link.
- Observe the Navigation bar in the custom tab.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1902798
:mavduevskiy, since you are the author of the regressor, bug 1902798, could you take a look?
For more information, please visit BugBot documentation.
Comment 6•1 year ago
|
||
Set release status flags based on info from the regressing bug 1902798
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Can't reproduce this. :Delia, is this still reproducible on nightly. Thanks
Comment 8•1 year ago
|
||
This is still reproducible on my end on the latest Nightly 132.0a1 from 09/06 with Google Pixel 8 Pro (Android 14) and OPPO A15s (Android 10).
Comment 9•1 year ago
|
||
Additionally, using a different theme in Fenix compared to the system theme, affects the contrast between the navigation arrow buttons and the nav bar background.
Comment 10•1 year ago
|
||
Probably theming related. Check if custom tab is following the private theme.
Updated•1 year ago
|
| Assignee | ||
Comment 11•1 year ago
|
||
Hey Aarjav! Should the navbar here follow the dark/light theme or the private theme? I mean do we expect navbar to be purple here or not?
Comment 12•1 year ago
|
||
- The custom tab toolbar (address bar + nav bar) always follows the same theme as the Firefox App theme.
- If the links are set to open in private mode in custom tab, the entire toolbar (address bar + nav bar) should follow the private theme.
| Assignee | ||
Comment 13•1 year ago
|
||
| Assignee | ||
Comment 14•1 year ago
|
||
I've also found an issue while rotating the device. Attaching a video
Context of the issue: The first time the lastKnownMode is calculated using intent extra in HomeActivity which gives the correct value of isPrivate in FirefoxTheme.
However this value gets updated in BaseBrowserFragment and the value here comes from BrowserStore which returns a false value for isPrivate and hence lastKnownMode gets updated to Normal Mode and in turn light or dark theme.
This is a deeper issue which I intend to talk to squad 4 about and see if this is an actual bug or if it is expected.
Until then I will create a part 2 of the patch to work around this.
| Assignee | ||
Comment 15•1 year ago
|
||
Steps to Reproduce the above issue in the codebase.
- Set Firefox as your default browser.
- Open Settings -> Private Browsing -> Enable open links in a private tab
Monitor lastKnownMode value in Settings.kt of when clicking an external link.
At first it returns the correct value of isPrivate which is true and then it is updated to false as explained in above comment.
| Assignee | ||
Comment 16•1 year ago
|
||
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Comment 19•1 year ago
|
||
Comment on attachment 9426683 [details]
Bug 1910628 - Fix theme issue of navbar on rotation in custom tab
Revision D223253 was moved to bug 1925679. Setting attachment 9426683 [details] to obsolete.
Description
•