Closed Bug 498343 Opened 15 years ago Closed 15 years ago

Account Central gives unread and total counts in status bar (shows -1 for accounts)

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b4

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Viewing account central used to not display any unread/total counts in the bottom-right of the main mail window. Now these are displayed with values of "-1".
This will probably be fixed by bug 498106 and/or bug 498342
Depends on: 498106, 498342
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Regrettably, neither of those fixed it.
Assignee: bugmail → nobody
Status: ASSIGNED → NEW
No longer depends on: 498106, 498342
Attached patch Possible fix (obsolete) — Splinter Review
What is happening is the folder pane display is now making extra calls to UpdateStatusMessageCounts where I guess that was called with null before for servers (or not at all).

This patch fixes it, but not sure if this is the right check we want to do here and we may want to redo how the status counts work anyway to hook them closer to the new code. Additionally, they aren't non-mail-tab-type aware and hence don't get hidden (but we can always move that bit out to a different bug).
modified summary for improved retrievability (I couldn't find it when I posted the dupe)
Summary: Account Central gives unread and total counts (which show -1) → Account Central gives unread and total counts in status bar (shows -1 for accounts)
Attached patch The fixSplinter Review
Improved fix: This disables the display of unread counts on the account summary pane, as well as for non-folder tabs (e.g. message, content tabs). I've also got rid of the two nasty get functions that didn't really need to try and cache global variables for the elements.
Assignee: nobody → bugzilla
Attachment #385864 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #394809 - Flags: review?(bugmail)
Attachment #394809 - Flags: review?(bugmail) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/eff3d4e64872
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: