Switched to home when reopening through launcher
Categories
(Firefox for Android :: Homepage, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | unaffected |
| firefox141 | --- | verified |
| firefox142 | --- | verified |
People
(Reporter: royang, Assigned: gl)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [fxdroid][group2])
Attachments
(4 files)
Steps to reproduce
With PBM lock feature disabled:
- Open a private tab
- Switch to Android OS home screen
- Tap on the Firefox Nightly icon in launcher to go back into Firefox Nightly.
Expected behavior
- See the last opened private tab.
Actual behavior
- Flashes and see private tab home.
- Doing the same thing one more time then see normal home.
Device information
- Firefox version: v141
- Android device model:
- Android OS version:
Any additional information?
| Reporter | ||
Comment 1•4 months ago
|
||
:Gela This is found on v141.0a1-20250617143356. Not sure if this is already fixed by in progress reviews but thought I'll open the bug just in case.
Updated•4 months ago
|
Thanks for filing this. I gave it a go on different builds and here are the results:
- Can reproduce on the Nightly from Play Store
- Can reproduce on the most recent Main if I set the build variant to Nightly
- Cannot reproduce on Beta
After further discussions, we don't think it's related to the PBM changes for the following reasons:
- This happens regardless of whether or not PBM lock is enabled
- This does not reproduce on Beta where we have all the PBM related changes uplifted to, only happens on Nightly.
- There are other similar bugs related to this already filed for Homepage/Toolbar here and here.
So I'm going to move this to the appropriate component and move out of the PBM lock meta.
Possibly related to changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1968048
| Reporter | ||
Comment 5•4 months ago
|
||
Confirmed reverting the change in https://bugzilla.mozilla.org/show_bug.cgi?id=1968048 the issue is resolved. Marking this as the regressor.
| Reporter | ||
Updated•4 months ago
|
| Reporter | ||
Updated•4 months ago
|
| Reporter | ||
Updated•4 months ago
|
Comment 6•4 months ago
|
||
:gl, since you are the author of the regressor, bug 1968048, could you take a look?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 7•4 months ago
|
||
| Assignee | ||
Comment 8•4 months ago
|
||
- Refactors
HomeActivity.getModeFromIntentOrLastKnownintoBrowsingModeManger. This moves more of the logic related to computing the browsing mode from the provided intent, last known mode settings and number of private tabs opened into BrowsingModeManger and out of the HomeActivity. - Introduces a public
BrowsingModeManager.updateModefunction for updating the browsing mode with a new Intent.
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/974534c78831
https://hg.mozilla.org/mozilla-central/rev/370ef56195ba
Comment 11•4 months ago
|
||
The patch landed in nightly and beta is affected.
:gl, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox141towontfix.
For more information, please visit BugBot documentation.
Comment 12•4 months ago
|
||
Verified as fixed in the latest Nightly build (142.0a1 from 2025-07-01);
The last opened tab is displayed when going back to the app with a page open in PB.
Device used: Samsung Galaxy S23 Ultra (Android 15).
Marking as verified on 142.
Updated•4 months ago
|
| Assignee | ||
Comment 13•4 months ago
|
||
Comment on attachment 9497543 [details]
Bug 1973324 - Part 1: Persists private mode when the user is still in private mode and has private tabs opened on warm start
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: This will persist private mode when the user reopens Fenix when they in a warm start, which would otherwise restart user back in normal browsing mode.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk because it is covered by tests and QA has verified in Nightly.
- String changes made/needed:
- Is Android affected?: Yes
| Assignee | ||
Updated•4 months ago
|
Comment 14•4 months ago
|
||
Gabriel, you requested uplift in the bug only for part 1 of the fix, does part 2 also needs to be uplifted? Thanks
| Assignee | ||
Comment 15•4 months ago
|
||
Part 2 is not needed for the fix in the uplift. Thanks!
Updated•4 months ago
|
Comment 16•4 months ago
|
||
| uplift | ||
Updated•4 months ago
|
Comment 17•4 months ago
|
||
Verified as fixed in the latest Beta build as well (141.0b6);
The last opened tab is displayed when going back to the app with a page open in PB.
Device used: Samsung Galaxy S23 Ultra (Android 15).
Marking as verified on 141.
Updated•4 months ago
|
Comment 18•4 months ago
|
||
Verified as fixed in Firefox 141.0b7 with Asus Zenfone 9 (Android 13).
Description
•