Closed Bug 1738264 Opened 4 years ago Closed 4 years ago

The Open Previous Tabs Infobar is displayed on a Private Browsing window

Categories

(Firefox :: Session Restore, defect)

Desktop
All
defect
Points:
1

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- wontfix
firefox95 --- verified
firefox96 --- verified

People

(Reporter: sbadau, Assigned: Gijs)

References

Details

(Whiteboard: [fidefe-mr11-close-tabs])

Attachments

(2 files)

Affected platforms:
Windows 10 x64
Windows 7x64
Ubuntu 20.04 x64

Affected versions:
Firefox 94
Nightly 95.0a1

Pre-requisites:

  • pin Firefox to the taskbar/dock.

Steps to reproduce:

  1. Launch Firefox with a new profile.
  2. Open a few tabs on various sites.
  3. Close Firefox.
  4. Open Firefox in a private window - right-click the icon in the taskbar and select "New private window".

Expected Results:
The "Open Previous Tabs" Infobar should not be displayed as the "Restore Previous Session" option is grayed out in Private Browsing mode.

Actual Results:
The "Open Previous Tabs" Infobar is displayed.

Notes:
On Ubuntu 20.04 reproduced the issue on the canonical Firefox versions (I could only add these versions to the dock as Favorites).

The above scenario also reproduces with switching from normal mode to persistent private mode (-private startup argument): if first time you go from a multitab normal session to a private session it will be showing the infobar modal, which is not optimal in terms of showing users that they don't have any session to be restored.

Blocks: 1732445
Flags: needinfo?(rtestard)
Flags: needinfo?(gijskruitbosch+bugs)
Hardware: All → Desktop

Since this does not reproduce for users who run in PBM always (set through History settings - this is a user population that is significant) I'm marking as 'won't fix' for 94 (the user population affected is really small per STR).
I don't see it as a blocker for 95 given that most users would have already seen this one time message anyway and the target population would be even smaller as a consequence.

Flags: needinfo?(rtestard)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Flags: needinfo?(gijskruitbosch+bugs)
Severity: S3 → S4
Points: --- → 1
Whiteboard: [fidefe-mr11-close-tabs]
Flags: needinfo?(sfoster)
Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(sfoster)
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/59d5470c86c9 don't show session restore infobar for private browsing windows, r=sfoster
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

Did you want to uplift this to 95?

Flags: needinfo?(gijskruitbosch+bugs)

Comment on attachment 9248520 [details]
Bug 1738264 - don't show session restore infobar for private browsing windows, r?sfoster

Beta/Release Uplift Approval Request

  • User impact if declined: Useless notification bar
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: See comment 0
  • List of other uplifts needed: no
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Very tiny JS-only change that only affects this notification bar
  • String changes made/needed: Nope
Flags: needinfo?(gijskruitbosch+bugs)
Attachment #9248520 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified as fixed using the latest Nightly 96.0a1 on Windows 10 x64 and Windows 7 x64.

Comment on attachment 9248520 [details]
Bug 1738264 - don't show session restore infobar for private browsing windows, r?sfoster

Low risk, approved for our last 95 beta, thanks.

Attachment #9248520 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed on the latest Firefox 95 beta 12 on Windows 10 x64 and on Windows 7 x64.

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

Attachment

General

Created:
Updated:
Size: