thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Unread message count wrong for filtered Unified Inbox

Open fnxweb opened this issue 1 year ago • 6 comments

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

12.1

Where did you get the app from?

F-Droid

Android version

16

Device model

Google Pixel 6 Pro

Steps to reproduce

  1. Click the hamburger menu to see the account list
  2. Check the unread email count for each account vs the Unified Inbox

Expected behavior

UN icon for Unified Inbox count reports unread count for only “opted-in” accounts.

Actual behavior

UN icon shows unread messages for all accounts.

I have 4 accounts set up, and have removed two from the unified inbox. However, the new Unified Inbox pseudo-account icon “UN” seems to show the sum of all account unread inbox emails, not just those attached to the unified inbox.

I have all emails read apart from several in one of the accounts that is not attached to the unified inbox. The unread count on the UN icon shows the same number that is also on the icon for said unread account.

[Unrelated to this issue, largely, is that I'm not quite sure what the use case is for the new UN icon, it seems to just make it necessary to have one more click to access non-Inbox folders in my “main” account, which previously sat “under” the unified inbox. It's not needed to return to the unified inbox as back already (and still) does that.)l]

Logs

No response

fnxweb avatar Sep 10 '25 20:09 fnxweb

Image

Screenshot of counts

fnxweb avatar Sep 10 '25 20:09 fnxweb

Thank you for taking the time to report this issue. It looks like we haven't heard back in a while, therefore we're closing this issue. If the problem persists in the latest version please open a new issue and reference this one so we can follow up more effectively.

thunderbird-botmobile avatar Oct 11 '25 00:10 thunderbird-botmobile

Wut? It's only been a month, and 12.1 is still the current version‽

fnxweb avatar Oct 11 '25 07:10 fnxweb

I can also replicate the reported issue.

SETUP

  1. Have a minimum of two accounts.
  2. Have the "Show Unified Inbox" setting enabled.
  3. Account 1 (Gmail): ENABLE "Unify" on the inbox folder (Manage folders).
  4. Account 2 (Hotmail): DISABLE "Unify" on the inbox folder (Manage folders).
  5. Disable "Unify" for all other folders.

REPLICATION STEPS

  1. Mark 1 message in each account as "unread". (Total 2 unread messages).
  2. Select the Unified account.
  3. Press hamburger menu icon to show account list.
  4. Observe the unread count shown next to "Unified Inbox" versus "Unified Account". The values should match in this case, but differ.

a. Value next to "Unified Inbox" correctly displays 1 unread message. b. Value next to "Unified Account" wrongly displays 2 unread message. It's still totalling unread messages from account 2 where "Unify" has been DISABLED.

Image

platform34 avatar Oct 11 '25 10:10 platform34

So, as far as I understood from the issue, the Unified Inbox counter is displaying correctly, however the counter over the Account icon isn't matching correctly.

In the following screenshots, I have disabled the inbox from my test account, so it should show only 1, instead of 41 as it shows in the second screenshot

Unified Inbox showing the correct counter Account List showing the wrong counter
Image Image

rafaeltonholo avatar Oct 20 '25 20:10 rafaeltonholo

Hi, I’d like to work on this. I plan to make the Unified Account unread badge consume the existing filtered unified-inbox count instead of summing every account’s total, and add a focused regression test. If that approach fits, could you assign this issue to me?

arpitagarwal1301 avatar Jul 26 '26 09:07 arpitagarwal1301