Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
468 stars 20 forks source link

"Unread Mail" tray icon does not appear for any folder other than Inbox #197

Closed dark-penguin closed 1 year ago

dark-penguin commented 1 year ago

This is very simple to reproduce:

I have it configured to display "Unread" mail rather than "New" mail.

Betterbird commented 1 year ago

Set pref mail.notification.count.inbox_only to false and restart.

dark-penguin commented 1 year ago

Ohh, thanks, this helped!

Betterbird commented 1 year ago

There are still mailboxes in which unread messages aren't counted. The code is rather twisted: https://searchfox.org/comm-central/rev/7340134fa7d638f1a580c7855e33a66a27d9c94a/mailnews/base/src/MailNotificationService.jsm#122

Most heavy users don't count unread messages since they have thousands of them, They are interested in keeping up with new stuff.

dark-penguin commented 1 year ago

I have hundreds per day. I automatically mark most of them as read and move them to another folder, so that I don't miss the important ones. Those are moved to the "Important" folder and left unread, and "Inbox" contains stuff that didn't pass any filter.

My folders are nothing special, judging by that code, so the edge case won't concern me. Thank you!