Closed
Bug 275561
Opened 20 years ago
Closed 18 years ago
New mail icon remains when filters have marked all new mail as read
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: simon, Assigned: Bienvenu)
References
(Depends on 1 open bug)
Details
(Keywords: fixed1.8.1.2)
Attachments
(1 file)
3.89 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
If I have a some filters which filter mail and mark it as read and only they are
triggered during a routine check for mail, the new mail icon will appear in the
system tray even though no mail needs to be read.
Reproducible: Always
Steps to Reproduce:
1. Set up one or more filters which mark some mail read
2. Download a batch of mail of which all is covered by the filters
Actual Results:
The new mail icon appears. On mouse-over it says the number of new messages
downloaded. eg "Local Folders has 21 new messages".
Expected Results:
If all the downloaded mail has be marked read, the icon shouldn't appear.
Comment 2•20 years ago
|
||
(In reply to comment #0)
> Actual Results:
> The new mail icon appears. On mouse-over it says the number of new messages
> downloaded. eg "Local Folders has 21 new messages".
Local Folders? That implies you are using the Global Inbox feature. Do you
have the filter defined for Local Folders, or for the particular account?
Did you verify that there were in fact no unread messages in the Local Folders
Inbox? Does the Local Folders Inbox appear bolded? Does the folder have the
little orange "new" indicator?
Setting up a Global Inbox filter -- on the account, not the Local Folders --
that marks the messages read, I am not getting a notification. TB 1.0, Win2K.
Severity: trivial → minor
![]() |
Reporter | |
Comment 3•20 years ago
|
||
(In reply to comment #2)
> Local Folders? That implies you are using the Global Inbox feature. Do you
> have the filter defined for Local Folders, or for the particular account?
The particular account; Local Folder filters don't ever seem to trigger to the
best of my knowledge.
> Did you verify that there were in fact no unread messages in the Local Folders
> Inbox?
Yes.
> Does the Local Folders Inbox appear bolded?
Yes - but then it always is.
> Does the folder have the
> little orange "new" indicator?
Nope.
Comment 4•20 years ago
|
||
(In reply to comment #3)
> (In reply to comment #2)
> > Local Folders? That implies you are using the Global Inbox feature. Do you
> > have the filter defined for Local Folders, or for the particular account?
>
> The particular account; Local Folder filters don't ever seem to trigger to the
> best of my knowledge.
Quite right.
> > Does the Local Folders Inbox appear bolded?
>
> Yes - but then it always is.
Oh? Do you have subfolders with unread messages for the Inbox?
I spent some time trying to reproduce this today with no luck. When the filters
mark all the incoming messages as read, I do not get the notification icon in
the tray. I have two account, each deferring to the global (Local Folders)
Inbox, and filters set up for each account to mark messages read. When the
messages arrive, they are marked read, no indication of new mail anywhere.
I also tried marking as read and moving to a different folder -- same thing.
Tested with 1.0 and today's trunk build, Win2K.
Simon Austin, can you provide any additional information on how to duplicate
this problem?
Comment 5•20 years ago
|
||
I have a similar problem: I use a message filter to move mails from an IMAP to a
POP account. After I read a mail - even if all new mails are read in the POP
inbox to which the mails were moved - the new mail icon does not disappear. It
only disappears after clicking on the Inbox of the IMAP account.
Furthermore, the orange star that indicates new mail stays at both accounts
until I click on the Inbox of the IMAP account. Interestingly, the Inbox of the
IMAP account is not drawn bold. (This is the correct behaviour.) However, the
Inbox of the POP account is drawn bold (even if there are no more unread
messages) until I click on the Inbox of the IMAP account.
This bug is possibly related to bug 277205.
![]() |
||
Comment 6•20 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 7•20 years ago
|
||
(In reply to comment #6)
I can still reproduce the issue described in comment #5. However, it might be a
different bug. If this is the case, we should open a new bug for that.
![]() |
||
Comment 8•19 years ago
|
||
There is another apparent bug that may be the same as this:
When filters have moved all mail out of a folder, the new mail icon remains.
![]() |
||
Comment 9•18 years ago
|
||
I'm experiencing the exact same thing (and its really really annoying). Create a filter to move some mail to another folder. New mail come in, its moved to the right folder. I click on that folder, read my mail, mark all read, but the new mail icon remains until I click on the original folder (the one from which the moved mail came, the one the filter applies to).
![]() |
||
Comment 10•18 years ago
|
||
I am having the same issue as the original poster. Comment #9 is a different problem.
Steps to reproduce:
1) Set up a new mail filter to (a) Move Message To another folder and (b) Mark As Read.
2) Send yourself some mail that will trigger the filter.
Actual Results:
- Mail is correctly moved and marked as read. HOWEVER, the new mail icon remains in the taskbar, and the folder the message was moved to still shows that it contains unread mail (folder name is bold with a little orange star on the folder icon), even though all mails are marked as read.
Expected Results:
- Mail is moved and marked as read. In addition, all new mail notifications go away.
The whole point of setting up a filter such as this is to not be bothered with new mail notifications, or at least have them go away after the filter is done processing.
![]() |
Assignee | |
Updated•18 years ago
|
Assignee: mscott → bienvenu
Status: UNCONFIRMED → NEW
Ever confirmed: true
![]() |
Assignee | |
Comment 11•18 years ago
|
||
keep track of how many messages we've marked read, or moved to an imap account, and adjust the really_new_messages account by that amount, when deciding to put up the biff alert or not.
The new mail parser is created and destroyed every time we get new mail so we're ok in just clearing that counter in the constructor.
Attachment #255120 -
Flags: superreview?(mscott)
![]() |
||
Comment 12•18 years ago
|
||
![]() |
||
Comment 13•18 years ago
|
||
Comment on attachment 255120 [details] [diff] [review]
proposed fix
should it be m_notNewMessages
or
m_seenMessages
Attachment #255120 -
Flags: superreview?(mscott) → superreview+
![]() |
Assignee | |
Comment 14•18 years ago
|
||
I'll change it to m_numNotNewMessages...
![]() |
Assignee | |
Comment 15•18 years ago
|
||
fixed on trunk and branch. I suspect there are lots of dups of this...
Comment 16•18 years ago
|
||
David, what are the steps to reproduce what you've fixed? I was never able to reproduce reporter's problem.
![]() |
Assignee | |
Comment 17•18 years ago
|
||
With 2.0,
1. Add a filter to a pop3 account that marks a message read, and moves it to an other local folder in the pop3 account.
2. Send mail that matches that filter
3. Wait for new mail to arrive (best if that's the only new mail that arrives - I have my biff interval set to 1 minute, so it's generally the only new mail)
Comment 18•18 years ago
|
||
(In reply to comment #17)
> With 2.0,
> 1. Add a filter to a pop3 account that marks a message read, and moves it to
> an other local folder in the pop3 account.
> 2. Send mail that matches that filter
> 3. Wait for new mail to arrive (best if that's the only new mail that
> arrives - I have my biff interval set to 1 minute, so it's generally the
> only new mail)
Well, OK: I can reproduce that with 2b2-0210, but not with 1.5. 2b2-0215 also does not generate the problem, so your fix works.
Happy for the patch, of course, but it's not really this bug (which was opened either before or just after TB 1.0 was released).
Comment 19•18 years ago
|
||
(In reply to comment #5 [Lorenz Freihofer])
> I use a message filter to move mails from an IMAP to a
> POP account. After I read a mail - even if all new mails are read in the POP
> inbox to which the mails were moved - the new mail icon does not disappear.
> It only disappears after clicking on the Inbox of the IMAP account.
That part is bug 222068.
> Furthermore, the orange star that indicates new mail stays at both accounts
> until I click on the Inbox of the IMAP account.
You're talking about the New flag on the *account* (not the folder) in the Folder pane? When you see both flags at this point, which folder is selected -- the POP Inbox? Unless the POP account received new mails on its own, it should not have a New flag; and even if it *did* get a new flag, that should clear as soon as you do anything with the POP account, such as read a message or select a folder in it. (The POP *Inbox* should have a New flag if there are any New messages in it.) Bug 116181 is about the account's New flag persisting until a folder in that account is clicked, and that problem is very closely tied to bug 222068.
> [T]he Inbox of the POP account is drawn bold (even if there are no more
> unread messages) until I click on the Inbox of the IMAP account.
>
> This bug is possibly related to bug 277205.
I don't know about that -- the POP Inbox is *bold* until you click the IMAP Inbox? If this is still happening for you, please open a new bug for that.
Bug 277205 was, I believe, only about marking messages read in an IMAP account, not moving them to any other folder.
You need to log in
before you can comment on or make changes to this bug.
Description
•