Menu's "Move to non-private tab" functionality is broken with HNT
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | verified |
People
(Reporter: petru, Assigned: npoon)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [group5])
Attachments
(2 files, 1 external file, 2 obsolete files)
Steps to reproduce
- Enable "Homepage as a New Tab"
- Create a new private tab and visit a webpage
- Open the browser menu and select "More -> Move to non-private tab"
Expected behavior
The private tab should now be a normal tab and the user should remain viewing this tab, without any glitches.
Actual behavior
Sometimes the private tab is converted to a normal tab but the user is brought to HNT instead.
| Reporter | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
- Fixes a race condition between HomepageTabBinding and migratePrivateTabUseCase when there is only a homepage tab in PBM (and no normal tab) and homepage as new tab is enabled
- If HomepageTabBinding won, the bug's actual result reproduces
- If migratePrivateTabUseCase won, the bug's expected result reproduces
| Assignee | ||
Comment 3•1 month ago
|
||
Moving the only private tab to a normal tab selects the new normal tab, then removes the private tab. The browsing mode used to follow the selected tab through an async flow collector. HomepageTabBinding could see the new state while the mode was still private, find no private tabs, and open a private homepage tab over the migrated tab.
The browsing mode is now updated from a plain store observer, which runs during the dispatch. Other async observers then see a browsing mode that matches the selected tab. The rest of the tab-selection handling stays in observeTabSelection.
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Comment 5•1 month ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 month ago
|
Comment 6•29 days ago
|
||
Verified as fixed on the latest Nightly 161.0a1 from 11/04 with Motorola Moto G72 (Android 13) and Honor Magic V2 (Android 14).
Updated•29 days ago
|
Description
•