Open Bug 523159 Opened 15 years ago Updated 2 years ago

SeaMonkey needs a startup event to trigger initial unread count for OS X dock badge

Categories

(MailNews Core :: Backend, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: humph, Unassigned)

Details

Spin-off from bug 509163 comment 29.  Follow-up conversation from irc:

14:20 <%Standard8> humph: so SM has a way that you can start up just the browser in SM, and it will still check for mail.
14:21 <%Standard8> humph: so if it checks for new mail and there is some, then it will show the unread count
14:22 < humph> Standard8: what should it show?
14:22 <%Standard8> humph: if it checks for new mail and there isn't some, then it won't show the unread count
14:22 < humph> so without a stable event to hook into earlier, I don't know how you solve this
14:24 <%Standard8> humph: exactly why I said it would be worth moving out to a separate bug

We currently use "mail-startup-done" which was added in bug 487820.  It is supposed to indicate the right time to do initial counts of unread mail in mailboxes for the dock icon badge.  However, as bug 509163 (and bug 516477) indicate, new mail events can arrive before this happens.  We really need a reliable, early startup event that will allow us to traverse the accounts/folders in order to do an initial count of unread messages.
When in startup should this occur, and is this considered a SM only bug, or a bug for all of mailnews/ ?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.