thunderbird / thunderbird/thunderbird-android

Crash resulting from possibly failed "account import"

Open
#10,300 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

unconfirmed
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

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

14.0

Where did you get the app from?

F-Droid

Android version

14 (Xiaomi MiUI)

Device model

No idea

Steps to reproduce
  1. Change the email password of your provider
  2. Change the password in thunderbird desktop under the very hidden settings
  3. Use TB Android, add an account using the QR code scan import method
  4. Try sending an email, an error should show that the password is wrong
  5. Change the password in that popup to the new one
Expected behavior

The existing account should be changed to use the new password

Actual behavior

Without the user noticing, there are now 2 accounts for the same email. When trying to do any action on an email (delete, swipe left, swipe right, select), Thunderbird crashes.

Opening the settings reveals that there are 2 accounts for the same email.

Logs

I was not able to get logs as this Xiaomi thing blocks the adb command needed to enable LogFox.

Could try reproducing on a normal OS but the reason should be clear.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the QR-code account import flow after changing the provider password, then follow the password update shown when sending fails. Check how the existing account is updated and why a second account appears, and observe the delete, swipe, and select actions. Done means the existing account uses the new password, no duplicate account is created, and those actions no longer crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.