Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR-Code doesn't work #8520

Open
2 tasks done
batty-h opened this issue Nov 6, 2024 · 31 comments
Open
2 tasks done

QR-Code doesn't work #8520

batty-h opened this issue Nov 6, 2024 · 31 comments
Labels
status: answered The issue was answered and is waiting for maintainer review. type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation

Comments

@batty-h
Copy link

batty-h commented Nov 6, 2024

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App

Thunderbird for Android

App version

8.0

Where did you get the app from?

Google Play

Android version

15

Device model

Google Pixel 7

Steps to reproduce

Start Thunderbird for Android for the first time
Choose "Import Settings" via QR-Code
Scan QR-Code from the Desktop computer

Expected behavior

Thunderbird for Android import the settings via QR-Code

Actual behavior

If the destktop settings include an POP3-Gmail-Account with a "recent:" in front of the name ("Recent Mode"), Thunderbird for Android want read the QR-Code (no reaction / Information / Failure code)

note: The QR-Code is readable by another QR-Code-Scanner

Logs

No response

@batty-h batty-h added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Nov 6, 2024
@TerryJColes
Copy link

I too have this problem on two Android devices. Some additional details:

  1. Desktop TB version 128.4.1esr (64-bit) on Kubuntu Linux.
  2. Android OS Version 13 on OnePlus Nord2 phone and Blackview Active 8 tablet.
  3. After the step 'Select Import settings' the camera opens, with no opportunity to 'Tap Scan QR code and hold your phone over this code'. The image is not recognised.
  4. Also, normal QR Code readers do not seem to recognise the image as a valid code.

@umgpy
Copy link

umgpy commented Nov 7, 2024

Same issue, although I could 'scan' one of the QRs (1 of 2) by simply clicking done button. However, after this step one has to again start the process to read the other QRs following the same method.

Note: it seems one does not have to align the code instead take it from a little bit far.

@MartinMaier
Copy link

I too can't import via QRs.
TB Desktop 128.4.2esr (64-bit) with 44 mailaccounts (IMAP/POP3 mixed) running on Windows 11 Pro (build 22631.4317).
The generated QRs are not recognized by Thunderbird for Android Version 8.0 running on

  1. Samsung Galaxy S24, Android Version 14, One UI-Version 6.1
  2. Lenovo Yoga Tab 13 , Android Version 13
    note: The QR-Code is readable on both devices by another QR-Code-Scanner -- text will be shown

@Bungeefan
Copy link

I noticed a similar problem while exporting an Outlook account from desktop, the resulting QR Code contained the following snippet:

[[[0,"smtp.office365.com",587,2,6,"[email protected]",""],[null,""]]]

I compared it with similar accounts and noticed that this seems to be the sender name and email address.
After filling these empty fields in Thunderbird Desktop, I was able to import it without problems on mobile.

@ecollart2
Copy link

Same for me using Fairphone FP4 with e-OS 2.4.1 and TB Desktop 128.4.2esr on Ubuntu 24.04...

Scanning starts but doesn't scan the QR code (being 2 QR codes or 1 displayed by TB Desktop)

Another QRcode scanner can read the QRcode (QR scanner from Privacy Friendly Apps using ZXing library)

Eric Collart

@gitrazorhub
Copy link

Same issue for me on Android.

-Desktop TB version 128.4.1esr (64-bit) Ubuntu Mate.
-Android 14
-Pixel 5

After the step 'Select Import settings' the camera opens and a DONE button is shown but pressing it does nothing but move to the next page without any settings transferred.

@TerryJColes
Copy link

I'm not sure what resolved this for me, but I was notified by my Linux desktop of a Thunderbird update (together with quite a few possibly unrelated updates), and subsequent to this I was able to export / import my settings to my phone.

@TerryJColes
Copy link

Just tried to import settings onto my Blackview Active 8 tablet, this time with no success.

So it's not all good news.

@Ghosty01
Copy link

same

@ironhak
Copy link

ironhak commented Nov 24, 2024

Temporary fix: switch to light theme on the desktop application.

@MartinMaier
Copy link

hi ironhak .. same behaviour as with dark theme .. no import!

@ironhak
Copy link

ironhak commented Nov 24, 2024

hi ironhak .. same behaviour as with dark theme .. no import!

Did you set desktop thunderbird app to light theme?

@MartinMaier
Copy link

Yes .. but this doesn't change the colors of the QR-Code and it's background.

@ironhak
Copy link

ironhak commented Nov 24, 2024

Yes .. but this doesn't change the colors of the QR-Code and it's background.

I know background color of the QR does not change, but to me setting Thunderbird desktop theme to Light fixed the import. Other than that I'm afraid I can't help

@weslleyramos
Copy link

changing app to light theme fixed for me also

@ironhak
Copy link

ironhak commented Dec 22, 2024

I learned that this is not a problem of thunderbird, but most qr codes wont be read properly when the background (not just the background of the code, i mean the vast majority backlground of what the camera see) is dark. An easy fix would be to let have thunderbird page background to white on the qr code section, even if the app is in dark mode.

@MAWSpitau
Copy link

Same here - would be great to have that issue fixed.

@manikandancode
Copy link

Not Working in light mode also.

@kewisch
Copy link
Member

kewisch commented Jan 2, 2025

The QR code spec defines a "quiet area" around the QR code where we're already using the recommended amount of white. There are a number of reasons scanning could fail, it is hard to focus on them all in this issue.

  • Make sure you are on the latest Thunderbird Desktop version
  • Check if it work in light mode
  • Scan the QR code with another app, view the text. If it contains a null anywhere we'll want to know some more details about that account. See https://bugzilla.mozilla.org/show_bug.cgi?id=1934323 which has some troubleshooting steps from our Desktop developers.

For this issue let's maybe focus on the original reporter - @batty-h is this issue resolved for you?

@kewisch kewisch added the status: needs information Needs more information to proceed label Jan 2, 2025
@mikaelfritts
Copy link

Updated desktop client, set everything to light mode and no results. I cannot scan the QR codes.

@github-actions github-actions bot added status: answered The issue was answered and is waiting for maintainer review. and removed status: needs information Needs more information to proceed labels Jan 8, 2025
@kewisch
Copy link
Member

kewisch commented Jan 9, 2025

We're going to need a little more detail to be able to reproduce or troubleshoot. That third bullet point above is the next step for you.

@MartinMaier
Copy link

After spending a lot of time in tests, I've recognized that a QR transfer of data is only possible with a maximum of three email accounts ( only 1 QR code). In my case I have 55 accounts. So In my case I would have to select the transferpage, deselect 52 accounts manually (a deselect of all isn't possible) and do the transfer. That's not the way to transfer many accounts especially considering that the export/import in the android-app also doesn't work.

@cketti
Copy link
Member

cketti commented Jan 9, 2025

Please consult the support page for details on how to import accounts from Thunderbird for desktop: https://support.mozilla.org/en-US/kb/thunderbird-android-import

@MartinMaier: Exporting 55 accounts at once should be possible, although it will lead to a lot of QR codes being generated. You'll have to press the "Next" button to display the next QR code in the sequence.

If there's a problem with one of the accounts, the QR code containing the data for that account most likely won't be recognized by the Android app. In that case we need a dump of the data in that QR code (the QR code scanner "Binary Eye" works well for this) or a screenshot of it. Make sure to disable exporting passwords when generating the QR code to be shared for debugging!

@MartinMaier
Copy link

As I already described ... as soon as the export QR exeeds the quantity of 1 .. the app will not start to import. What I can do is ... select 3 accounts then export ... import will be ok ... select another 3 accounts then export ... import will be ok .... and so on ... and so on ...

@cketti
Copy link
Member

cketti commented Jan 9, 2025

As I already described ... as soon as the export QR exeeds the quantity of 1 .. the app will not start to import. What I can do is ... select 3 accounts then export ... import will be ok ... select another 3 accounts then export ... import will be ok .... and so on ... and so on ...

Each QR code contains information about how many QR codes are part of the series. The app will automatically start the import once all of the QR codes in a series have been scanned. However, you can also trigger the import with the data from the QR codes scanned so far by pressing the "Done" button in the Android app.

@kewisch
Copy link
Member

kewisch commented Jan 9, 2025

For those of you who are having issues where it works in light mode but not in dark mode, could you install this extension and see if it works better? It increases the quiet zone around the QR code, though as a side effect the QR code also gets a bit smaller.

mobile_export_qr_tweak-1.0.0.zip

@cketti
Copy link
Member

cketti commented Jan 9, 2025

@MartinMaier: The data for the outgoing server mx2ef6.netcup.net with the usernames amazon@mmaier…, aqara@mmaier…, blink@mmaier…, broadlink@mmaier…, delonghi@mmaier…, and disney@mmaier… all use an authentication type of null. This is not allowed and probably a bug in the desktop app. Can you please take a screenshot of the outgoing server settings for one such instance in Thunderbird desktop?

@MartinMaier
Copy link

Hi cketti,
so ... I've added all missing authentication types. After that the import of all acounts are Ok.
by the way .... is it possible to remove my zip file?

@thunderbird thunderbird deleted a comment from MartinMaier Jan 9, 2025
@kewisch
Copy link
Member

kewisch commented Jan 9, 2025

I've removed the comment with the file, though GitHub may still retain the file information separately which we cannot control.

@cketti
Copy link
Member

cketti commented Jan 9, 2025

@MartinMaier: It's great that export and import now works for you. But it would help other users if we could track down the bug in Thunderbird desktop. Do you remember what the authentication type was set to before you changed it?

@MartinMaier
Copy link

@cketti : the authentication type was "empty" .... blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: answered The issue was answered and is waiting for maintainer review. type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation
Projects
None yet
Development

No branches or pull requests