Closed Bug 2026486 Opened 2 months ago Closed 1 month ago

Usage infobar/warning is displayed in new window ONLY if changing VPN state

Categories

(Firefox :: IP Protection, defect)

Firefox 149
Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
151 Branch
Tracking Status
firefox149 --- wontfix
firefox150 --- wontfix
firefox151 --- verified
firefox152 --- verified

People

(Reporter: vvalentina, Assigned: mhynson)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fx-vpn])

Attachments

(2 files, 1 obsolete file)

[Affected versions]:

  • Firefox Release 149.0;

[Affected Platforms]:

  • desktop;

[Prerequisites]:

  • Have the VPN available and ON;
  • Be logged in with an account that has >75% usage;

[Steps to reproduce]:

  1. Open a new window without changing the VPN state;
  2. Observe the behavior;
  3. In the new window turn the VPN OFF;
  4. Observe the behavior;

[Expected result]:
While opening a new window both infobar and warning are displayed/carried over without the need of changing the VPN state;

[Actual result]:
While opening a new window the infobar and warning are not displayed. Changing the VPN state to OFF/ON will trigger both infobar and warning to be displayed.

[Notes]:

  • In the main window the infobar and warning are always displayed.
  • On Firefox Nightly 151.0a1 (25-03-2026) the warning is carried over.

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

Blocks: 2022013
No longer blocks: 2000045
Assignee: nobody → rking

Pasting here from Slack:

151.0a1
log in with account with 90% usage - VPN OFF - 50GB of 50GB usage
turn ON VPN => 3GB infobar + warning displayed in current window, infobar is not displayed in new window (just the warning)
turning it OFF => triggers the infobar in a new window as well
same applies if I start from VPN OFF in main window
On Raluca's PC this only applies while starting with VPN OFF in main window;

150.0b2
log in with account with 90% usage - VPN OFF - 3GB of 50GB usage infobar and warning displayed in current window;
turning it ON => triggers the infobar in a new window as well
same applies if I start from VPN ON in main window
On Raluca's PC this only applies while starting with VPN OFF in main window;

149.0
log in with account with 90% usage - VPN OFF - 3GB of 50GB usage infobar and warning displayed in current window; both infobar and warning NOT displayed in new window
turning it ON => triggers the infobar/warning in a new window as well
same applies if I start from VPN ON in main window
On Raluca's PC this only applies while starting with VPN OFF in main window;

Summary: Usage infobar/warning is displayed in new window while changing VPN state → Usage infobar/warning is displayed in new window ONLY if changing VPN state

The issue also applies if the infobar is dismissed from the "X" button -> at turn ON it is shown again - let me know if this needs separate tracking.

Flags: needinfo?(rking)
Flags: needinfo?(rking)

Yes, if you could file a separate bug for 'infobar does not stay dismissed after clicking 'X' button' that would be helpful!

Flags: needinfo?(vvirlics)

Tracked the infobar not being dismissed issue here - https://bugzilla.mozilla.org/show_bug.cgi?id=2028819.

Flags: needinfo?(vvirlics)
Assignee: rking → nobody
Assignee: nobody → mhynson

After discussing this with fchasen and rking, we'll update the expected behavior as follows:

  • If an infobar is displayed, it will be dismissed when the VPN panel is open and contains a message bar.
  • If the VPN panel is open with a message bar, an infobar will not be displayed.
Status: NEW → ASSIGNED

New dismissal logic will be added via Bug 2030738

Attachment #9568577 - Attachment description: WIP: Bug 2026486 - Usage infobar/warning is displayed in new window ONLY if changing VPN state → Bug 2026486 - Usage infobar/warning is displayed in new window ONLY if changing VPN state. r=#ip-protection-reviewers

Comment on attachment 9567379 [details]
Bug 2026486 - Dismisses infobars when bandwidth warning message shows in panel. r=#ip-protection-reviewers

Revision D292626 was moved to bug 2030738. Setting attachment 9567379 [details] to obsolete.

Attachment #9567379 - Attachment is obsolete: true
Attachment #9567379 - Attachment is obsolete: false

Comment on attachment 9567379 [details]
Bug 2026486 - Dismisses infobars when bandwidth warning message shows in panel. r=#ip-protection-reviewers

Revision D292626 was moved to bug 2030738. Setting attachment 9567379 [details] to obsolete.

Attachment #9567379 - Attachment is obsolete: true
Pushed by mhynson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f5d4d5666d3d https://hg.mozilla.org/integration/autoland/rev/e01cdcf3d01e Usage infobar/warning is displayed in new window ONLY if changing VPN state. r=ip-protection-reviewers,rking
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

The patch landed in nightly and beta is affected.
:mhynson, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(mhynson)
Flags: needinfo?(mhynson)

Verified this as fixed using Firefox Nightly 152.0a1 (21-04-2026) and Firefox Beta 151.0b1 on Windows 11/macOS 26.
Changing the VPN state does not impact the infobar/warning behavior.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c152/b151]
Whiteboard: [fx-vpn]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: