Closed Bug 1969252 Opened 1 year ago Closed 15 days ago

Private Browsing toggle button opens a new homepage tab when Homepage as a New Tab is enabled

Categories

(Firefox for Android :: Homepage, defect)

Firefox 141
All
Android
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- affected

People

(Reporter: klint, Assigned: gl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [group5])

Attachments

(2 files)

STR:

  1. Enable "Homepage as a new tab" secret setting in latest Nightly 141.0a1.
  2. Open a new private window by long pressing on the Firefox icon in the phone launcher and by selecting the right option there .
  3. Search from the address bar.

Expected:
Search performed in a private tab.

Actual:
Switches to non-private homepage and the search is performed in a non-private tab in the background.
'

Summary: Performing search from private tab open by shortcut changes it to non-private and shows the homepage → Performing search from private tab opened by shortcut changes it to non-private and shows the homepage

The severity field is not set for this bug.
:Gela, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gmalekpour)
Severity: -- → S2
Flags: needinfo?(gmalekpour)
Component: Privacy → Homepage

Moving this to Homepage and notifying squad 5 to determine priority

I was not able to reproduce this issue on the latest Firefox for Android Nightly 141.0a1 from 6/19 with a Samsung Galaxy S24 (Android 15).
Could you please retry on the latest Nightly build?
Thank you!

Has STR: --- → yes
QA Whiteboard: [qa-triaged]
Flags: needinfo?(klint)

The browser needs to be started in private mode for it to occur, not necessarily from a shortcut.

STR:

  1. Enable "Homepage as a new tab" secret setting in latest Nightly.
  2. Switch to private mode.
  3. Close the browser (swipe away from recents).
  4. Start the browser (should start in private mode).
  5. Search from the address bar.

Expected:
Search performed in a private tab.

Actual:
Search performed in a normal tab and switches to homepage.

Blocks: 1914852
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Performing search from private tab opened by shortcut changes it to non-private and shows the homepage → First search when starting in private mode changes tab to non-private and shows the homepage
Whiteboard: [fxdroid] [group5]
Assignee: nobody → gl
Status: NEW → ASSIGNED
  • When Homepage as a New Tab is enabled, clicking on the Private Browsing Mode toggle button on the homepage will always create a new homepage tab in the new browsing mode.
Pushed by gluong@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d1e463570ffa https://hg.mozilla.org/integration/autoland/rev/3192711610d2 Private Browsing toggle button opens a new homepage tab when Homepage as a New Tab is enabled r=android-reviewers,devota
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Flags: qe-verify+

I just verified the bug on a Google Pixel 9 Pro XL running Android 15 with the latest Nightly build from 2025-08-27, and the issue is still reproducible for me. I will also attach a screen recording.

Status: RESOLVED → REOPENED
Flags: qe-verify+
Resolution: FIXED → ---
Duplicate of this bug: 2003193
Duplicate of this bug: 1991243
Duplicate of this bug: 2000754
No longer duplicate of this bug: 1991243

Since we have previous landed something in Fx144 that was only partially related about ensuring that a private tab is available when toggling between normal and private browsing mode. We are gonna move to using Bug 1991243 to resolve the remaining issue around the first search in private browsing mode when the app is opened in cold start in private mode.

Status: REOPENED → RESOLVED
Closed: 11 months ago15 days ago
Flags: needinfo?(klint)
Resolution: --- → FIXED
Summary: First search when starting in private mode changes tab to non-private and shows the homepage → Private Browsing toggle button opens a new homepage tab when Homepage as a New Tab is enabled
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: