Built-in QR scanner never detects QR codes
Checklist
- [x] I have used the search function to see if someone else has already submitted the same bug report.
- [x] I will describe the problem with as much detail as possible.
App
Thunderbird for Android
App version
20.1
Where did you get the app from?
Google Play
Android version
16
Device model
Samsung S22 Ultra
Steps to reproduce
- Installed the latest Thunderbird for Android from Google Play on a Samsung Galaxy S22 Ultra running Android 16.
- Started Thunderbird for the first time.
- Selected the option to import settings from Thunderbird Desktop using a QR code.
- Granted camera permission.
- Pointed the built-in QR scanner at the QR code displayed by Thunderbird Desktop.
Expected behavior
The built-in QR scanner should immediately detect and decode the QR code generated by Thunderbird Desktop and continue the account import process.
Actual behavior
The camera preview opens correctly and the scan frame is displayed.
However, the built-in QR scanner never starts scanning. There is no scan animation, no attempt to detect or decode the QR code, and no error message.
The scanner remains completely inactive regardless of the QR code size or distance.
The same QR code is immediately recognized by the Samsung Camera application, confirming that the QR code is valid.
I have already:
- granted camera permission;
- cleared cache and app data;
- uninstalled and reinstalled Thunderbird;
- restarted the phone;
- tried different QR code sizes;
- used Thunderbird Desktop in light theme.
The problem appears to be in Thunderbird's built-in QR scanning engine.
Logs
No response
same issue, seems like its a bug for years now...
If you open your phone's camera and scan it with that, does it read anything? What about other QR codes? Does your camera app work on those from other sources?
I've been able to successfully test it with two phones, a Motorola phone (Android 16) and an AOSP phone (Sidephone, Android 12). Both were able to pick up the account details and start the sign-in process.
Does this happen with any other QR codes? I'm trying to narrow down if this is a specific Android version or manufacturer we may have to test against. Thanks! And sorry this has been such a pain. We want this to be as seamless as possible and want to get this right.
In my case (Samsung S25 Android 16 OneUI 8.5) I can scan the QR just fine with a scanner and it has my account and server details in format that looks similar to csv but not Thunderbird, it just does nothing when I point it at QR code and all I can do is press done to close scanner.
I encounter the same issue with QR code importing to the Thunderbird app, the camera starts on the Samsung Galaxy S10, but no scanning took place. Also I'm suspecting the issue to be related to the QR code type support, where if the profile is too large and has to split across multiple QR codes, this would not work. Maybe we can do export config file and import to the app instead?
App version 20.1, desktop version 152.0.1, both were latest at of the time of writing.
This is a duplicate of #8520.