Closed Bug 1934942 Opened 11 months ago Closed 9 months ago

Dismissing Edit Profile page closes Firefox window

Categories

(Toolkit :: Startup and Profile System, defect)

Firefox 135
Desktop
All
defect

Tracking

()

VERIFIED FIXED
137 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox133 --- unaffected
firefox134 --- unaffected
firefox135 --- disabled
firefox136 --- disabled
firefox137 --- verified

People

(Reporter: sbadau, Assigned: niklas)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-profile-management])

Attachments

(1 file)

Found in

  • Nightly 135.0a1

Affected versions

  • Nightly 135.0a1

Tested platforms

  • Affected platforms: Windows 11, macOS 15

Preconditions

  • Set the pref "browser.profiles.enabled" to "true" in about:config and create Profile 1.

Steps to reproduce

  1. Open the Profiles Panel and click the Edit button.
  2. Close all other tabs, except for the "Edit profile" one.
  3. On the Edit Profile page, change the theme and click the Done Editing button.

Expected result

  • The Edit Profile page should close, but Firefox itself should remain open.

Actual result

  • Clicking the Done Editing button closes the entire Firefox window. This is unexpected behavior, as the user only intended to dismiss the Edit Profile page, not to close Firefox.

Regression range

  • This is not a regression; it's introduced with the Profile switcher feature.

It should be pretty easy to instead navigate to about:home if we're in the only tab / only window.

Jared, I noticed that the Firefox window is also dismissed when clicking on a profile card in the about:profilemanager tab (if it’s the only open tab). Should I file a new bug to cover this, or will it be addressed with this one?

Flags: needinfo?(jhirsch)
Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e548825f91f0 Create new tab when closing a profiles tab if it is the only tab. r=profiles-reviewers,jhirsch
Regressions: 1950795
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Verified as fixed using Firefox 137.0b2 and Nightly 138.0a1 on macOS 15 and Windows 11 - a new tab is opened instead of the dismissed about page.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(jhirsch)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: