[HNT] Closing all open tabs directly from the Tab Strip leaves app on Homepage in invalid 0-tab state with toolbar rendered
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
People
(Reporter: apetridean, Assigned: npoon)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [group5])
Attachments
(2 files, 1 external file)
Steps to reproduce
- Go to Settings -> Customize and enable Show tab bar.
- In Normal Browsing, open a few web tabs (e.g., Google, Amazon, Wikipedia, Homepage).
- Switch to Private Browsing via homescreen and open a private tab.
- Open the Tabs Tray, switch back to the Normal Browsing section, and tap on "+" to turn to the normal browsing homescreeen.
- In the Tab Strip, sequentially tap the "x" button on each tab to close them.
- Observe the tab counter and the UI layout.
Expected behavior
Either the Homepage tab should remain open/persistent (tab counter stays at 1), OR closing it should properly transition Fenix to the Tabs Tray empty state. The toolbar should never be rendered on top of a Homepage view with 0 open tabs.
Actual behavior
Fenix remains on the Homepage view with a tab count of 0. The address bar / toolbar remains fully visible and active despite 0 tabs being open.
Device information
- Firefox version: Firefox version: Nightly 158.0a1 - 24.09.2026
- Android device model: Google Pixel 3 XL (Android 9), Samsung S23 Ultra (Android 14), Xiaomi Pad5 (Android 13)
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
The if statement in TabManagementFragment.onDestroyView keeps a configuration change that happens when the tabs tray is still open to be treated as leaving the tabs tray. This was added as a part of the PBM lock feature.
Due to theming changes, when switching from a private tab to a normal tab, a configuration change also happens but this is also when the tabs tray gets dismissed. As a result, the if statement catches this configuration change and doesn't update the tabs tray visibility
| Assignee | ||
Comment 3•1 month ago
•
|
||
Can QA also confirm no regression with PBM lock, specifically try to see if this reproduces the expected result?
Comment 4•1 month ago
|
||
| bugherder | ||
Comment 5•1 month ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 6•1 month ago
|
||
The patch landed in nightly and beta is affected.
:npoon, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox159towontfixif the fix can wait for the next release.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•1 month ago
|
| Reporter | ||
Comment 7•1 month ago
|
||
Verified as fixed on the latest Nightly 161.0a1 from 26.10.2026 with Pixel 7 PRO (Android 17) and Samsung S25 (Android 15).
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Comment 8•1 month ago
|
||
(In reply to Nicholas Poon [:Nick] from comment #3)
Can QA also confirm no regression with PBM lock, specifically try to see if this reproduces the expected result?
Verified this scenario as well; behavior is as intended.
Description
•