The homepage is briefly displayed while redirecting from the sync card to the 'Sign in via email' screen
Categories
(Firefox for Android :: Accounts and Sync, defect)
Tracking
()
People
(Reporter: vtamas, Assigned: corentin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [android-activation-trust])
Attachments
(1 file, 2 external files)
|
2.47 MB,
video/mp4
|
Details |
Steps to reproduce
- Install the Firefox app on Android by scanning the QR code from desktop.
- Open the app and go through the first 2 onboarding cards.
- Tap on "Sign in with email" button from Consolidated Sync card.
Expected behavior
The user is automatically redirected to Sign in page.
Actual behavior
The homepage is displayed for a few seconds while redirecting from the sync card to the 'Sign in via email' screen.
Device information
- Firefox version: Firefox for Android Nightly 162 (2026-11-19)
- Android device model: Samsung S24 Ultra (Android 16)
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Updated•5 days ago
|
Comment 1•5 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•1 day ago
|
Updated•1 day ago
|
Comment 3•17 hours ago
|
||
| bugherder | ||
Comment 4•16 hours ago
|
||
The patch landed in nightly and beta is affected.
:corentin, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox162towontfixif the fix can wait for the next release.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 5•16 hours ago
|
||
Selecting "Sign in via email" on the onboarding pairing sync card started the authentication and also called scrollToNextPageOrDismiss() immediately. Since this was the last page of the onboarding, the onboarding completed and the homepage was displayed for a short period before the sign in page opens.
The email button no longer advances the onboarding. Instead, the signed in LaunchedEffect in OnboardingScreen advances only when the account is authenticated.
That effect used to observe SyncState.account, which is only sets once the profile is returned from the server. Bug 2031498 changed when the authenticated state is dispatched: AccountState.Authenticated used to be dispatched with the account after the profile request. It is now dispatched before this network call. Observing AccountState.Authenticated instead navigates the user to the homepage as soon as authentication completes, removing a delay after every onboarding sync call coming from the profile fetch.
Because the signed in state is also read when signing in through the old sign in card and the new pairing card, the OnboardingSyncFlowResult added in bug 2092151 and bug 2092623 is no longer needed and has been removed. As a result, scanning a QR code now advances the onboarding once the authentication completes, rather than as soon as the QR code is scanned.
Pull request: https://github.com/mozilla-firefox/firefox/pull/459
Updated•16 hours ago
|
Comment 6•16 hours ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Firefox 162 for Android users who reach the Consolidated Sync card during onboarding can briefly see the homepage before the email sign-in screen opens (Bug 2095146). If they cancel email sign-in or QR pairing, they land on the homepage and lose their place in onboarding (Bug 2095528). Uplifting fixes both issues in Firefox 162 so users can return to the sync card and retry or skip sign-in.
Fixing both in the same patch wasn't intentional. The fix for Bug 2095146 fixed Bug 2095528 as a side effect.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Bug 2095146:
- Install the Firefox app on Android by scanning the QR code from desktop.
- Open the app and go through the first 2 onboarding cards.
- Tap on "Sign in with email" button from Consolidated Sync card.
Expected behavior: The user is automatically redirected to Sign in page.
- Install the Firefox app on Android by scanning the QR code from desktop.
- Open the app and go through the first 2 onboarding cards.
- Tap on "Sign in with email" button from Consolidated Sync card.
- Tap "X" button to closed the custom tab.
Expected behavior: The user is automatically redirected to Sign in page.
- Risk associated with taking this patch: low
- Explanation of risk level: The patch changes when Android onboarding advances past a sync card. It uses the existing authenticated account state to advance after sign-in succeeds. Automated tests cover the auto-advance logic, and manual QE will check the email and QR pairing flows end to end.
- String changes made/needed?: No
- Is Android affected?: yes
Updated•12 hours ago
|
Updated•12 hours ago
|
Comment 8•1 hour ago
|
||
Clearing the uplift needinfo request since an uplift has been requested for all the affected channels.
For more information, please visit BugBot documentation.
Description
•