Open Bug 1097149 Opened 10 years ago Updated 1 month ago

Add option to warn on closing Private Window with multiple tabs

Categories

(Firefox :: Private Browsing, enhancement)

33 Branch
enhancement

Tracking

()

People

(Reporter: beneficentone, Unassigned)

References

Details

(Keywords: ux-undo)

The warning that the user is about to close a window with multiple tabs has been suppressed for Private Windows.  As discussed in Bug 854926 (see in particular Bug 854926 Comment 16) and elsewhere this is a data loss issue because the contents of a Private Window cannot be restored and the window could be closed by a single off-target click (or screen tap).

However this behaviour has existed for some time and is preferred by some.

I’m suggesting an additional checkbox under ‘Warn me when closing multiple tabs’ – a nested (indented) checkbox called something like ‘Warn me when closing multiple tabs (Private Window)’*.  Being nested prevents the user being overwhelmed by lots of options.  (It could also be grayed out and unchecked if the parent checkbox is unchecked.)  It would default to false.

A slight complication: the warning dialog contains the checkbox “Warn me when I attempt to close multiple tabs”.  Suggest adding “(Private Window)” to the end and having this checkbox control the new pref rather than the old one.

NB. ‘Warn me when opening multiple tabs might slow down Firefox’ has, as far as I’m aware, not worked for years, and could be removed to reduce clutter.

* This has the advantage of not requiring translation, being made up of existing text strings, ie ‘[Warn me when closing multiple tabs] + [(] + [Private Window] + [)].
Private Browsing or Preferences component?
Blocks: PBnGen
Component: Menus → Private Browsing
Keywords: ux-undo
See Also: → 854926
Gavin, I've always been of the opinion that closing private windows as fast as possible overrides other concerns. Not everybody agrees. Who's the right person to make a call on this? Is it worth adding another preference to make this behaviour optional?
Flags: needinfo?(gavin.sharp)
I don't think adding a preference is the right choice here.

I don't think we need to optimize for "ability to close window as fast as possible" here. I think it likely that accidental data loss is a bigger problem than "accidental couldn't close window fast enough".
Flags: needinfo?(gavin.sharp)
(In reply to :Gavin Sharp [email: gavin@gavinsharp.com] from comment #3)

> I don't think we need to optimize for "ability to close window as fast as
> possible" here. I think it likely that accidental data loss is a bigger
> problem than "accidental couldn't close window fast enough".

I agree. Anyway, even the removal of the dialog when closing a private window with multiple tabs makes no guarantee of safeguarding privacy in 1 click when someone is passing by. There can be 2 other private windows behind and so 3 clicks might be needed anyway.
(In reply to :Gavin Sharp [email: gavin@gavinsharp.com] from comment #3)
> I don't think we need to optimize for "ability to close window as fast as
> possible" here. I think it likely that accidental data loss is a bigger
> problem than "accidental couldn't close window fast enough".

I disagree.  We typically choose the privacy side when there is a privacy vs data loss trade-off in the design of PB mode.
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #5)
> I disagree.  We typically choose the privacy side when there is a privacy vs
> data loss trade-off in the design of PB mode.

This is a UX call, not a fundamental PB data privacy call - we can't treat this as black and white as you seem to be.
Closing a private window with multiple tabs can lose a lot of data with no possibility of recovery so it shouldn't be treated lightly. Currently it is too easy to accidentally all your data.
This issue is reproducible on:

FF 40 
Build id:  20150423030204
Status: UNCONFIRMED → NEW
Ever confirmed: true
I have installed Firefox 57 beta and there's no workaround for this. The workaround used to be to use the Tab Mix Plus add-on. This doesn't work in Firefox 57 so I need this option to warn.
Severity: normal → S3
Duplicate of this bug: 1714557

Any progress on this topic?

Feel free to share this bug and bring more visibility to it. Voting on this would help as well.
Since this behavior is currently by design, I'm setting this bug as an enhancement.

Type: defect → enhancement
See Also: → 1884019
You need to log in before you can comment on or make changes to this bug.