I can confirm this. It seems that the counter of the "smart folder" `inbox` is not properly updated. It seems that the `deep` count of unread messages doesn't account for Smart Unified folders containing root folders: https://searchfox.org/comm-central/rev/9c4c4ecfa55c31819010a40648601c61222e380e/mailnews/base/src/nsMsgDBFolder.cpp#3868-3893 Specifically this condition: ``` int32_t total = isServer ? 0 : mNumUnreadMessages + mNumPendingUnreadMessages; ``` So, a Smart folder `Inbox` containing multiple server too folders stops the count and doesn't sum it.
Bug 1777606 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I can confirm this. It seems that the counter of the "smart folder" `inbox` is not properly updated. It seems that the `deep` count of unread messages doesn't account for Smart Unified folders containing root folders: https://searchfox.org/comm-central/rev/9c4c4ecfa55c31819010a40648601c61222e380e/mailnews/base/src/nsMsgDBFolder.cpp#3868-3893 Specifically this condition: ``` int32_t total = isServer ? 0 : mNumUnreadMessages + mNumPendingUnreadMessages; ``` So, a Smart folder `Inbox` containing multiple server root folders stops the count and doesn't sum it.