thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/
Apache License 2.0
10.43k stars 2.49k forks source link

App crashes when I tap on "show accounts" in sidebar #8301

Closed Chartman123 closed 21 hours ago

Chartman123 commented 6 days ago

Checklist

App version

8.0b2

Where did you get the app from?

Google Play

Android version

14 (patch level 09-24)

Device model

Oneplus Nord 3 5G

Steps to reproduce

  1. Go to "show accounts" in sidebar
  2. See that app crashes

Expected behavior

Account menu should be shown

Actual behavior

App crashes

Logs

log_2024_10_10_10_19_11.log

wmontwe commented 5 days ago

Thanks for reporting this issue. I was able to reproduce it.

wmontwe commented 5 days ago

@Chartman123, I was wondering why this was happening and I thought it might be due to one of your accounts having no email set up or a format that our current code can't understand. We attempt to split the email at the @ sign and use the first 2 characters of the domain name. I added a fix, but I'd love to know what actually caused the issue, was it indeed an empty email field or an unexpected domain format? Maybe you could report back and let me know what you've found out?

Chartman123 commented 5 days ago

Yes, this might be the reason... I edited one of my accounts and removed the mail address and name as I wanted to only use my created Identities. After that change the app worked still fine until the next start of the app

wmontwe commented 5 days ago

Thanks, the fix should work for your specific use case.

cketti commented 5 days ago

I've created issue #8303 for the bug that allowed removing the email address from the default identity.

cketti commented 5 days ago

@Chartman123: You can remove an identity completely by going to Settings → [Account] → Sending mail → Manage identities. Long-press the identity you want to remove and select Remove from the popup menu.

Chartman123 commented 5 days ago

@cketti yes, but I wanted to use it the other way round because in the Identities dialog you have more options than in the default settings of the account.

cketti commented 5 days ago

I don't understand. Can you elaborate?

Chartman123 commented 5 days ago

Not at the moment as I can't show you the screenshots because of the bug ;) But I'll post them as soon as possible :)