Closed Bug 1764428 Opened 3 years ago Closed 3 years ago

I can't move between different google accounts I'm signed in to, the toggle button just keeps going back to the first account I'm signed into.

Categories

(Web Compatibility :: Site Reports, defect)

Firefox 99
Desktop
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tarinihardikar, Unassigned)

References

()

Details

(Whiteboard: [webcompat:sightline])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

Click on google icon in top right of gmail, click on secondary or tertiary account to open that gmail page.

Actual results:

Opens the same account's gmail page again.

Expected results:

Opened secondary or tertiary account's gmail.

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

Component: Untriaged → DOM: Navigation
Product: Firefox → Core

Having exactly the same problem

Debian 11 / Firefox 91.8.0esr (64 bits)

The issue is also reproducible using a Windows 10 device. Cycling accounts do not switch as expected, as most of the time the account does not switch, remaining in the same account.

Tested with:

Browser / Version: Firefox Release 99.0.1 (64-bit)/ Firefox Nightly 101.0a1 (2022-04-12) (64-bit) /Chrome Version Version 100.0.4896.88 (Official Build) (64-bit) /
Operating System: Windows 10 PRO x64

Notes:

  1. Reproducible regardless of the status of ETP.
  2. Reproducible on the latest build of Firefox Nightly.
  3. Works as expected using Chrome.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop

I have the exact same issue.

Tested with :

  • FF : 99.0.1 (64 bits
  • OS : Windows 10

Given that this happens on old build too (comment 2 hints about that), this sounds like a GMail issue.
But, could anyone still verify that this isn't a regression in Firefox? https://mozilla.github.io/mozregression/ can be a useful tool for that.

Flags: needinfo?(raul.bucata)

I've inspected the link to switch inboxes and it appears normally. So it might not be a Gmail problem. But again, it works normally after I inspect the link.

I can't test this atm but for someone this bug is occuring to, try inspecting the link? Does it show the correct URL? If it does show correctly, try clicking on the button/link you inspected. Does the bug occur then?

The issue reproduces randomly, as it seems the only difference is, that Firefox stays on the same URL of the account I am currently on when requesting the secondary account switch and does not pass the URL of the secondary account. For example, if the first account has the URL: https://mail.google.com/mail/u/0/#inbox, the second account has the URL: https://mail.google.com/mail/u/1/#inbox. Once the second account is loaded, requesting the first account works. But from the first account (https://mail.google.com/mail/u/0/#inbox), I can not switch to the second account (https://mail.google.com/mail/u/1/#inbox), as the URL stays unchanged( https://mail.google.com/mail/u/0/#inbox)>

Chrome works as expected 10/10 times. Firefox fails 8/10 times.

Flags: needinfo?(raul.bucata)

The same issue is happening to me - but only for the Gmail pages.

Firefox: 99.0.1
Mac OS

Also happens to me with Google calendar and drive.

But is this a Firefox regression or not?
Since if this is not a Firefox regression, we'll need to contact Google and ask them to fix their regression.

Flags: needinfo?(raul.bucata)

This doesn't seem to be a recent Firefox regression, I can reproduce the issue as far as in 2021-01-01 build. I agree with Raul that it is pretty random.

There are two accounts that I'm testing with, the one I've logged in first is accessible by https://mail.google.com/mail/u/0/#inbox and the second one is https://mail.google.com/mail/u/1/#inbox.

In cases where the switch doesn't happen the link to the account I'm about to switch is just https://mail.google.com/ (when I hover over it). Clicking or going to this url directly always redirects to the account I've logged in first, the default one (https://mail.google.com/mail/u/0/#inbox).
So the id of an account is missing in the link, therefore it always proceeds to the account with 0. Not sure what's causing it, could be a timing issue given random results.

Since this is nearly impossible to debug, I'll reach out to Google to see if someone can look into this. Until this is resolved, switching could be performed by just going directly to the url of the second account, i.e. https://mail.google.com/mail/u/1/#inbox.

Flags: needinfo?(raul.bucata)

I can confirm, this is a Google regression. I was able to reproduce the issue on Safari. Granted, it's version 12.0.3 (I'm running on MacOS 10.14.3), but if this exact problem is happening on that version, it's not a Firefox regression.

The problem seems to only occur on non-Chromium browsers. I'm unable to reproduce the issue on either Brave or Chrome. I could probably confirm with Edge.

Ksenia reached out to Google.
It's difficult to test the difference of behaviors for Google properties across browsers, because Google is not sending the same version to each browsers.

It was informed that the bad build on Google side was rolled back. And at least locally things work normally again.

Status: NEW → RESOLVED
Closed: 3 years ago
Component: DOM: Navigation → Desktop
Product: Core → Web Compatibility
Resolution: --- → FIXED

FWIW I just hit this again.

I've just checked and was able to reproduce in Firefox Nightly after about 25-30 tries. Tried in Chrome and it happened on the 19th try. In Safari on about 4th try.. So looks like it happens in all browsers. I'll follow up with Google.

Whiteboard: [webcompat:sightline]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: