Pairing flow opens in normal browsing mode when scanning the QR code via the URL bar QR Scanner
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
(2 files, 2 external files)
Preconditions
- Firefox mobile app installed and open.
- User not signed into sync.
Steps to reproduce
- Navigate to Homepage and focus the URL bar.
- Select the QR scanner icon.
- Scan the unified QR code shown on desktop.
Expected behavior
Sign-in flow is opened in a Custom Tab.
Actual behavior
Sign-in flow is opened in Normal browsing.
Device information
- Firefox version: Firefox for Android Nightly 162 (2026-11-19)
- Android device model: Samsung S24 Ultra (Android 16), Lenovo tab P11 Pro (Android 14), Poco X6 Pro (Android 14)
Additional information
This is a follow-up issue for Bug 2068241.
| Assignee | ||
Updated•4 days ago
|
Comment 1•4 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•4 days ago
|
Updated•4 days ago
|
Comment 3•2 days ago
|
||
| bugherder | ||
Comment 4•2 days 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•1 day ago
|
||
Once an URL is scanned using the QR code scanner, a confirmation dialog appears. Then the URL is loaded in a regular tab. There was no exception for pairing links, they were also opened in a regular tab.
QrScanFenixFeature.handleToolbarQrScanResults now detects pairing links and opens them in the auth custom tab without showing the confirmation dialog. It also records pairing_link_opened.
Pull request: https://github.com/mozilla-firefox/firefox/pull/465
(cherry picked from commit b58734f33af76f6d5b52d896724d4210ea09644b)
Updated•1 day ago
|
Comment 6•1 day ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Users scanning a pairing QR code using the URL bar QR scanner will go through the sign-in flow in a regular browsing tab instead of the dedicated authentication custom tab, resulting in an inconsistent pairing experience depending on which QR scanner is used.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: 1. Navigate to Homepage and focus the URL bar.
- Select the QR scanner icon.
- Scan the unified QR code shown on desktop.
Expected behavior: Sign-in flow is opened in a Custom Tab.
- Risk associated with taking this patch: low
- Explanation of risk level: The patch reuses the existing pairing link detection and authentication custom tab logic to handle pairing links scanned from the URL bar QR scanner. The existing behavior for non-pairing links remains unchanged. The changes are covered by unit tests.
- String changes made/needed?: No
- Is Android affected?: yes
| Assignee | ||
Comment 7•1 day ago
|
||
(In reply to BugBot [:suhaib / :marco] from comment #4)
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.
Thanks, I requested an uplift
Updated•1 day ago
|
Updated•1 day ago
|
Comment 10•1 day ago
•
|
||
Backed out of beta due to test failures
Push
Example log
| Reporter | ||
Comment 11•14 hours ago
|
||
This issue was verified as fixed on Firefox for Android Nightly 163 (2026-11-26) using a Samsung S24 Ultra (Android 16) and Lenovo tab P11 Pro (Android 14). Confirming that the pairing flow is opened in custom tab when scanning the QR code with the QR scanner from the Url bar.
| Reporter | ||
Updated•14 hours ago
|
Description
•