Closed Bug 1511820 Opened 6 years ago Closed 6 years ago

Update language in session restore quit prompt to be precise about private browsing windows (which won't be restored)

Categories

(Firefox :: General, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 66
Tracking Status
firefox65 --- wontfix
firefox66 --- fixed
firefox67 --- verified
firefox68 --- verified
firefox69 --- verified

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(1 file)

(In reply to Amy Lee [:amylee] UX from bug 1506173 comment #33)
> (In reply to :Gijs (he/him) from comment #32)
> > 2) The language for the sessionrestore + quit case implies all windows will
> > be restored. We don't restore private windows. Should we add a variant to
> > that dialog that says "(except tabs from private windows)" (only when the
> > user has private windows open) ? (Ni for this).
> > Note: I don't think this is critical and I think landing this fix before
> > Monday's soft freeze (because l10n changes) *is*, so if I don't hear in time
> > I might land in the current form and move the private browsing issue to a
> > separate follow-up bug.
> 
> An alternative is to mention that session restore is not enabled in private
> browsing when the user opens a private window instead of having more copy in
> preferences. NI Meridel for her input.

That would also be helpful, but I'm worried that the positive assertion in the dialog ("You are about to close 2 windows with 4 tabs. These tabs will be restored when you restart. Are you sure you want to continue?") would still be confusing - the private tabs/windows are included in the count, and even if they weren't, I wouldn't expect users to do the counting and realize we don't restore private tabs.
Flags: needinfo?(mwalkington)
Priority: -- → P2
Current copy:

Quit and close tabs?

You are about to close 3 windows with 17 tabs. These tabs will be restored when you restart. Do you want to continue?


*New copy: How about either of these?*

Option A:

Quit and close tabs?

You are about to close 3 windows with 17 tabs. Tabs in non-private windows will be restored when you restart. Do you want to continue?


Option B:

You are about to close 3 windows with 17 tabs. Tabs (except those in private windows) will be restored when you restart. Do you want to continue?
Flags: needinfo?(mwalkington)
(In reply to Meridel from comment #1)
> *New copy: How about either of these?*
> 
> Option A:
> 
> Quit and close tabs?
> 
> You are about to close 3 windows with 17 tabs. Tabs in non-private windows
> will be restored when you restart. Do you want to continue?
> 
> 
> Option B:
> 
> You are about to close 3 windows with 17 tabs. Tabs (except those in private
> windows) will be restored when you restart. Do you want to continue?

Either of these wfm, though I'd lean to the former because it avoids the (nested subsentence). Amy, sound OK?
Flags: needinfo?(amlee)
(In reply to :Gijs (he/him) from comment #2)
> (In reply to Meridel from comment #1)
> > *New copy: How about either of these?*
> > 
> > Option A:
> > 
> > Quit and close tabs?
> > 
> > You are about to close 3 windows with 17 tabs. Tabs in non-private windows
> > will be restored when you restart. Do you want to continue?
> > 
> > 
> > Option B:
> > 
> > You are about to close 3 windows with 17 tabs. Tabs (except those in private
> > windows) will be restored when you restart. Do you want to continue?
> 
> Either of these wfm, though I'd lean to the former because it avoids the
> (nested subsentence). Amy, sound OK?

Agree, I like option A as well to avoid the ( ). Thanks!
Flags: needinfo?(amlee)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Priority: P2 → P1
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/e3d27539c265
clarify private browsing tabs for quit warning, r=flod
https://hg.mozilla.org/mozilla-central/rev/e3d27539c265
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Flags: qe-verify+
Whiteboard: [qa-triaged]
QA Whiteboard: [qa-triaged]
Whiteboard: [qa-triaged]

These are my steps that I understood I should use to verify the bug:

  1. open browser.
  2. make sure you have one non-privat browsing windows with multiple tabs and one privet browsing windows with multiple tabs.
  3. Click on the "hamburger menu" (3 horizontal lines on the right of the menu bar
  4. Click on "Exit"

Expected: (Option A)
"
Quit and close tabs?
You are about to close 3 windows with 17 tabs. Tabs in non-private windows will be restored when you restart. Do you want to continue?
"

I have tested the following versions: Release v67.0, Beta v68.0b4, Nightly v69.0a1 and the last Nightly v66.0a1.
The same message is displayed:
"
Exit and close tabs?
You are about to close 2 windows with 4 tabs. Are you sure you want to continue?
"

This bug seems not to be fixed. Am I verifying correctly?
Thanks.

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Bodea Daniel [:danibodea] from comment #7)

These are my steps that I understood I should use to verify the bug:

  1. open browser.
  2. make sure you have one non-privat browsing windows with multiple tabs and one privet browsing windows with multiple tabs.
  3. Click on the "hamburger menu" (3 horizontal lines on the right of the menu bar
  4. Click on "Exit"

You need to also enable session restore - open the options/preferences, tick "Restore previous session" in the Startup section under General.

Otherwise, of course no tabs at all are restored so there is no message about which tabs will (not) be restored.

Flags: needinfo?(gijskruitbosch+bugs)

I have retested this with the information provided above and with these steps:

  1. Start the browser.
  2. Open a non-private window with several tabs and a private window with several tabs.
  3. Check the "Restore previous session" and "Warn you when quitting the browser" preferences in browser's options/preferences.
  4. Quit the browser and observe the warning pop-up.
    The result is as expected, the warning pop-up is displayed with text, Option A:
    "Quit and close tabs?
    You are about to close 3 windows with 17 tabs. Tabs in non-private windows will be restored when you restart. Do you want to continue?"

Versions verified: Nightly v69.0a1, Beta v68.0b5 and Release v67.0.
OSes verified: Windows 10, Ubuntu 18 and Mac OS 10.14.

Thank you.

QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: