unread counter wrong for "after displaying for n seconds" where n>4, until click away and back



7 years ago
3 years ago


(Reporter: kevinjamesfield, Unassigned)


8 Branch
Windows XP

Firefox Tracking Flags

(Not tracked)




7 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

Note: This has been reproducible since Thunderbird 3.  I just haven't had a chance to report it.

Go to Tools->Options->Reading and Display.  Enable "Automatically mark messages as read" and choose "After displaying for n seconds".  Set n to 5.  (I've tried n=1..4 without trouble.  5 breaks every time.)  Hit OK.

Click an unread message and wait 5 seconds.

Actual results:

The message becomes marked as read; however, the inbox count does not decrement, and more annoyingly, the new mail notification icon in the Windows Tray does not go away.

Expected results:

The count should have gone down, and the tray icon should disappear, as with n<5.

You can force these things to happen by clicking some other folder, for example, your mailbox name, and then clicking back to the inbox.


7 years ago
Component: Mail Window Front End → Folder and Message Lists

Comment 1

7 years ago
Also, even on n=4, which I've switched to for now, the count goes down but the mailbox parent item in the listview stays highlighted in blue, and the tray notification doesn't go away.  This behaviour is only reproducible on mail that's brand new--i.e., if you mark something that's previously been read as unread again, you can't get it to mess up/it works as it should.

But the count-not-going-down behaviour is reproducible still for n>4.

Comment 2

7 years ago
(In reply to Kevin Field from comment #1)
Works for me (setting it to 5 seconds).
User agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111105 Thunderbird/8.0
Build ID: 20111105021619

Comment 3

7 years ago
Perhaps it's just in Windows, or just in XP?  Anyone else confirm?
QA Contact: front-end → folders-message-lists
Kevin does it happens too if you start in -safe-mode (see http://support.mozillamessaging.com/en-US/kb/Safe-Mode).

Comment 5

7 years ago
Between my last comment and your question, I had set mail.biff.show_tray_icon to false, set it to mark as read immediately, and switched to IMAP.  So for the safe mode test, I reverted the first two changes, but I do not have time to switch back to POP.  Now, it appears to work fine, both in safe mode and regular mode.  Maybe it's a POP-specific bug.  Can anyone who has a POP account handy running XP confirm this?

Comment 6

7 years ago
Actually, I have noticed this problem with the unread count happen now (even with the tray icon disabled) on an RSS feed as well.  I clicked away and then back to the RSS feed within the left-hand list view, and the count immediately went down to the correct number.

Comment 7

7 years ago
(The RSS incident wasn't in safe mode.)

Comment 8

7 years ago
I just reproduced the problem on RSS in safe mode as well.
You need to log in before you can comment on or make changes to this bug.