Open Bug 594757 Opened 14 years ago Updated 7 months ago

Unnecessary blue highlighting of folders without new mail

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

People

(Reporter: kyrimis, Unassigned, NeedInfo)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 GTB7.1
Build Identifier: 3.1.3

Whenever I receive an e-mail message, the name of the e-mail account, to which the e-mail message is addressed, is highlighted in blue, to indicate that there is a new message. However, if that message is moved from that filter, upon reception, either by the spam filter or by one of my custom filters, the highlighting remains, even if there is no longer any new message for that account.

I am using the "All Folders" view.

Reproducible: Always

Steps to Reproduce:
1. Set up a filter that will move a certain kind of message to another folder.
2. Send yourself a message that will be filtered by the above filter.

Actual Results:  
The name of your e-mail account's folder will turn blue, even though there are no new messages in your inbox.

Expected Results:  
The name of the account folder should remain black.
I'm finding this behavior quite distracting, as it keeps misleading me into checking Inbox folders that don't actually have anything new in them.
Severity: trivial → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Kriton, do you still see this problem?

Jonathan, are these subfolders of Inbox?  Or just Inboxes in multiple accounts?  imap?
(In reply to Wayne Mery (:wsmwk) from comment #2)
> Kriton, do you still see this problem?

Yes.
(In reply to Wayne Mery (:wsmwk) from comment #2)

> Jonathan, are these subfolders of Inbox?  Or just Inboxes in multiple
> accounts?  imap?

Inboxes in multiple accounts, using POP3. The Inbox remains highlighted even if all the incoming mail was immediately filtered to local folders.
Sorry this is repetitious, but do you see this in version 17?
In 24? http://www.mozilla.org/en-US/thunderbird/all-beta.html
Flags: needinfo?(kyrimis)
Flags: needinfo?(jfkthame)
Summary: Unnecessary highlighting of folders without new mail → Unnecessary blue highlighting of folders without new mail
(In reply to Wayne Mery (:wsmwk) from comment #5)
> Sorry this is repetitious, but do you see this in version 17?
> In 24? http://www.mozilla.org/en-US/thunderbird/all-beta.html

I just tried it with version 17.0.8, and the problem is still there.
I haven't checked withe version 24; as it is still in beta, you can understand that I am reluctant to try it.

Quick way to verify for yourself:
* Define a filter in your main account that moves messages, containing a specific keyword in the Subject field, to a folder under Local Folders.
* Send yourself a message with that keyword as a subject.
* Hit the "Get Mail" button. Your account name will turn blue, even if there are no new messages in your inbox.
Flags: needinfo?(kyrimis)
Same here: confirmed to still happen as described in 17.0.8, but I have not risked exposing my mail account to the beta release yet.
Flags: needinfo?(jfkthame)
the beta is fully tested, and near release
It still happens with the release version of Thunderbird 24. The only difference from the previous version is that the highlight is a lighter shade of blue.
In my experience, this is typically caused by broken folder, or folder operation (filters for example) not successfully completing and leaving folder object in memory in some strange state.

Do this reproduce immediately after restarting thunderbird, where thunderbird did not get new mail?
Flags: needinfo?(kyrimis)
Flags: needinfo?(jfkthame)
No; if it's in the state of showing a blue-highlighted inbox that does not in fact contain any new mail (because the mail was filtered to a different folder), and I restart TB, then the spurious blue highlighting is gone (until the next time new mail arrives and is filtered aside).
Flags: needinfo?(jfkthame)
(In reply to Jonathan Kew (:jfkthame) from comment #11)
> No; if it's in the state of showing a blue-highlighted inbox

Sorry, that's a slight mis-description; it's not the Inbox that is blue; it's the account name (whether it's in "collapsed" or "expanded" state) that is highlighted in blue, even though all the new mail was filtered to local folders by my rules.
Same thing here; after restarting thunderbird, the account name is no longer highlighted.

Tested with Thunderbird 31.
Flags: needinfo?(kyrimis)
Here also in Thunderbird 31.7.0 for 4 of 12 IMAP accounts (all 12 from same host).  I'll check 38 when I have a chance.

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Application Build ID 	20150507114201
I'm not seeing this with Thunderbird 38. Gone.

Anyone still seeing this with 38?
Is it only with pop?
Flags: needinfo?(tjjfv)
Flags: needinfo?(kyrimis)
Flags: needinfo?(jfkthame)
On 38.4.  I just observed it, restarting TB addressed it, After waiting a short while I checked on it again and two other folders were exhibiting it, but restarting addressed it.
Flags: needinfo?(tjjfv)
Yes, it still happens with 38.4.0. I don't think that this has ever stopped happening, even though I've long become used to it and rarely notice it any more.

I use pop3, and have multiple accounts. The problem just occurred, and it was with one of my other e-mail accounts, not the first one in my list of accounts.
Flags: needinfo?(kyrimis)
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #15)
> I'm not seeing this with Thunderbird 38. Gone.
> 
> Anyone still seeing this with 38?
> Is it only with pop?

I can confirm I'm still seeing this with 38.4.0 on a POP account.
Flags: needinfo?(jfkthame)
The blue is set in the OS specific CSS file at:

treechildren::-moz-tree-cell-text(folderNameCol, isServer-true, biffState-NewMail),
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {

So, the folder name becomes blue if biffState-NewMail and newMessages-true is set, which is the responsibility of folderUtils.jsm. For the biffState there is also a biffState-NoMail, which is completely unused (?).
http://mxr.mozilla.org/comm-central/search?string=biffState-NoMail&find=&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=comm-central

Maybe we could fix this bug, if we set the biffState to biffState-NoMail after moving the mail by a filter or after deleting it?
Blocks: 1283485
See Also: → 573158
Severity: normal → S3

Doe this happen for you with 115, due out shortly?

Flags: needinfo?(kyrimis)
Flags: needinfo?(jfkthame)

Yes, it still happens.

(In reply to Wayne Mery (:wsmwk) from comment #21)

Doe this happen for you with 115, due out shortly?

Yes, just updated to 115, and still seeing this.

Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.