Open Bug 1884019 Opened 2 months ago Updated 1 month ago

"confirm before closing multiple tabs" should apply to private browsing mode

Categories

(Firefox :: Private Browsing, enhancement)

Firefox 122
enhancement

Tracking

()

Tracking Status
firefox124 --- affected
firefox125 --- affected

People

(Reporter: avarner9, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 11.0; Win64; x64; rv:122.0) Gecko/20240101 Firefox/122.0

Steps to reproduce:

  1. Enable the "Confirm before closing multiple tabs" option
  2. Open a private browsing window
  3. Open two tabs in that window
  4. Accidentally close the window
  5. All the tabs are lost

Actual results:

All the tabs are lost

Expected results:

Firefox should prompt first, as per the "Confirm before closing multiple tabs" setting. This setting is especially important (and possibly ONLY important) in private browsing because private browsing windows are the only type of window where the close operation doesn't have any Undo function.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Managed to reproduce this issue on:

  • Firefox Nightly 125.0a1;
  • Firefox 124.0;

Tested and reproduced on:

  • macOS 12;
  • Windows 10;
  • Ubuntu 22;

Setting as NEW so the developing team can have a look.

Status: UNCONFIRMED → NEW
Ever confirmed: true

This has been the intended behavior for private windows, to make it easier to quickly get rid of a private window when needed, but we may want to reconsider this given the work that has happened in bug 1846495.

There seems to be some broader interest in changing this according to https://connect.mozilla.org/t5/ideas/warn-when-closing-multiple-tabs-in-private-window/idi-p/34865.

Component: Tabbed Browser → Private Browsing
Depends on: 1846495
See Also: → 1097149
Type: defect → enhancement
Summary: "confirm before closing multiple tabs" is broken in private browsing → "confirm before closing multiple tabs" should apply to private browsing mode
Duplicate of this bug: 1891297
You need to log in before you can comment on or make changes to this bug.