Closed
Bug 661239
Opened 14 years ago
Closed 14 years ago
New mail notification shown for autosaved drafts
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 7.0
People
(Reporter: protz, Assigned: mconley)
References
(Blocks 2 open bugs)
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
2.77 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
Sometimes I receive the new mail notification for mails that have been autosaved in my Drafts folder (IMAP) because I have a compose window open and it auto-saves the draft. I don't think these should be shown.
Possible fix, but I don't know if we want to do that: don't show the new mail alert if the folder that contains the message has nsMsgFolderFlags::Drafts (or nsMsgFolderFlags::Junk as well).
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mconley
Updated•14 years ago
|
Blocks: 555536
Keywords: regression
Assignee | ||
Comment 1•14 years ago
|
||
This patch causes the new mail notification system to ignore folders with the following flags: Drafts, Queue, SentMail, Templates and Junk.
I've added some regression tests, and all notification tests still pass.
Attachment #536693 -
Flags: review?(dbienvenu)
Assignee | ||
Comment 2•14 years ago
|
||
I believe this will also fix bug 272125 for Linux.
Comment 3•14 years ago
|
||
Comment on attachment 536693 [details] [diff] [review]
Patch v1
What if the Inbox has one of those flags set? I think you want to make sure that the folder is not the inbox as well.
Assignee | ||
Comment 4•14 years ago
|
||
Thanks for the review, Bienvenu!
We now only filter out the uninteresting folders if the Inbox flag is not set. Regression test added, and all notification tests pass.
Attachment #536693 -
Attachment is obsolete: true
Attachment #536693 -
Flags: review?(dbienvenu)
Attachment #536702 -
Flags: review?(dbienvenu)
Comment 5•14 years ago
|
||
Comment on attachment 536702 [details] [diff] [review]
Patch v2
I forgot that I can't really run this, not having linux installed. But it looks fine.
Attachment #536702 -
Flags: review?(dbienvenu)
Assignee | ||
Updated•14 years ago
|
Attachment #536702 -
Flags: review?(mbanner)
Reporter | ||
Comment 6•14 years ago
|
||
Mike, are you positive that your boolean expression is correct? I think you need parentheses there...
Comment 7•14 years ago
|
||
(In reply to comment #1)
> This patch causes the new mail notification system to ignore folders with
> the following flags: Drafts, Queue, SentMail, Templates and Junk.
What about the Archive folder?
As suggested here: news://news.mozilla.com:119/mailman.261.1307269328.5956.dev-apps-thunderbird@lists.mozilla.org
Assignee | ||
Comment 8•14 years ago
|
||
Protz: thanks for the heads up - I've added the parentheses (I assume we were thinking of the same ones?)
Peter: I've added the Archive folder flag to the list of folders that we don't notify. Thanks!
Attachment #536702 -
Attachment is obsolete: true
Attachment #536702 -
Flags: review?(mbanner)
Attachment #537638 -
Flags: review?(mbanner)
Reporter | ||
Comment 9•14 years ago
|
||
Yes the parentheses are what I had in mind. Thanks!
Comment 10•14 years ago
|
||
Comment on attachment 537638 [details] [diff] [review]
Patch v3
Review of attachment 537638 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #537638 -
Flags: review?(mbanner) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 11•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 7.0
You need to log in
before you can comment on or make changes to this bug.
Description
•