Open
Bug 343777
Opened 18 years ago
Updated 2 years ago
Messages Filtered to Trash confuses the new mail notification
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: mscott, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [patchlove][has draft patch])
Attachments
(1 obsolete file)
If you have a filter that moves messages to the Trash folder, the new mail notification code is getting notified of the new message that is now in your Trash folder. This leaves the mail notification in a 'broken' state: 1) The account has a new mail indicator on it in the folder pane, but none of the imap folders for that account have the indicator. 2) The new mail alert system tray icon is shown in the system tray. (It shouldn't) 3) The new mail alert does not show itself. 1 and 2 are problems, 3 seems like the right behavior.
Reporter | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Summary: Messages Filtered to Trash confuse the new mail notification → Messages Filtered to Trash confuses the new mail notification
Reporter | ||
Comment 1•18 years ago
|
||
Thinking out loud here. One interesting way to solve this problem would be to make GetNumNewMessages ignore the Junk and Trash folders when adding up the number of new messages. Currently, when the filter action finishes, nsImapMoveCoalescer::OnStopRunningUrl ends up calling the PerformBiff code which ends up counting the newly filtered message in GetNumNewMessages on the account.
Comment 2•18 years ago
|
||
that works, except I don't think we should think there are new messages in either of those folders. One thing to be careful of is people who specify other folders as the JUNK folder, so that the folder has flags other than the JUNK folder (e.g., TRASH). But I can't imagine anyone would specify the INBOX as the JUNK folder, and if they do the TRASH, it shouldn't matter.
Comment 3•18 years ago
|
||
I see this also in SeaMonkey 1.1b. You could read the filter file to see where the message is directed and ignore those files too. This is important because my folders often get screwed up so I have to create new ones. I have a sent, sent1, sent 2, for example. Please fix SeaMonkey too.
Comment 4•16 years ago
|
||
Bienvenu, is this patch still relevant?
Updated•16 years ago
|
Assignee: mscott → nobody
Status: ASSIGNED → NEW
Updated•15 years ago
|
Target Milestone: Thunderbird2.0 → ---
Comment 5•14 years ago
|
||
(In reply to comment #4) > Bienvenu, is this patch still relevant? rkent, was it you that was looking into this are recently?
Whiteboard: [patchlove][has draft patch]
Comment 6•14 years ago
|
||
"Recently" is at least a year ago. I've sort of quit looking at new status bugs, because until the refactoring that I proposed is done, any touching of new status is as likely to cause a new problem, as to solve an existing one. I don't currently have any plans to do the refactoring myself, and as far as I can tell new status is not a priority to the Thunderbird drivers.
Comment 7•14 years ago
|
||
(In reply to comment #5) > (In reply to comment #4) > > Bienvenu, is this patch still relevant? > > rkent, was it you that was looking into this are recently? (In reply to comment #6) > "Recently" is at least a year ago. I've sort of quit looking at new status > bugs, because until the refactoring that I proposed is done, any touching of > new status is as likely to cause a new problem, then it was someone else. if someone knows who and can them on the shoulder, or can comment on whether this patch warrants further attention.
Component: General → Backend
Product: Thunderbird → MailNews Core
QA Contact: general → backend
Version: 2.0 → unspecified
Comment 8•14 years ago
|
||
Comment on attachment 228376 [details] [diff] [review] thinking out loud... Patch has obsoleted. $ patch -p0 --dry-run < ~/Desktop/p343777.diff patching file nsMsgDBFolder.cpp Hunk #1 FAILED at 4181. 1 out of 1 hunk FAILED -- saving rejects to file nsMsgDBFolder.cpp.rej
Attachment #228376 -
Attachment is obsolete: true
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•