Closed Bug 502370 Opened 15 years ago Closed 15 years ago

reading message or marking message as read leaves the message unread in another folders

Categories

(MailNews Core :: Networking: IMAP, defect)

1.8 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: qwiglydee, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Build Identifier: 2.0.0.21 (20090409)

A message can be placed in several imap folders,

e.g. in GMail "incoming" and folder related to tag.
reading or marking message as read in folder, does not marks it as read in "incoming", and it stays indicating unread messages.

Reproducible: Always

Steps to Reproduce:
1. on gmail.com tag some messages and mark it as unread
2. setup imap account for gmail and subscribe to folder related to that tag
3. move to tag-folder and mark message as read
Actual Results:  
the message stays marked as 'new'/'unread' in folder 'inbox'

Expected Results:  
the same message should be marked as read in all folders
> A message can be placed in several imap folders,

For IMAP client like Tb, mail in different IMAP folder is absolutely different mail. How can IMAP client know that different mail in different Gmail IMAP folder is same mail(single instance of mail data) of Gmail?

> Expected Results:  
> the same message should be marked as read in all folders

IMAP client can know "a mail in Inbox is marked as Read" only when Gmail IMAP says "the mail in Inbox doesn't have \Seen flag".
So, even if Gmail IMAP sets \Seen flag of the mail in Inbox when original mail in "All Mail" of Gmail("[Gmail]/All Mail" folder of Gmail IMAP) is flagged as \Seen, Tb can't know it(change from Unread to Read) until Tb checks flags of all mails in Inbox again or until Gmail IMAP notifies "change of flag of the mail" via IDLE.
And, as I wrote in Bug 402793 Comment #12, Gmail IMAP still has next issue.
> http://mail.google.com/support/bin/answer.py?answer=96926&topic=12922
> Updates not reflected in multiple clients, 
Please note that "Tb via Gmail IMAP" and "Gmail via Web Interface" is same situation as "two different clients for Gmail IMAP". Update via Gmail Web Interface is not always reflected to Gmail IMAP which Tb is using immediately.

Please read at least Bug 402793 Comment #0, please.
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Version: unspecified → 1.8 Branch
It seems like this misbehaviour dissapeared recently.
Looks like Gmail fixed it when goes out of beta.
Per comment #2
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
(In reply to comment #2)
> It seems like this misbehaviour dissapeared recently.

Really? I still saw problem in next case some times.
 1. Add Gmail Label of F0 to a conversation(3 mails in it), mark it Unread.
 2. View F0 by Tb via Gmail IMAP. 3 unread mails. (mail-1, mail-2, mail-3)
    View [Gmail]/All Mail. Confirm that these 3 mails are unread.
 3. Copy mail-1 to F1, mail-2 to F2, mail-3 to F3.
    Change mail in F1, F2, F3 to read.
 4. Check mail in F0, [Gmail]/All Mails.
    Read status of mail-1, mail-2, mail-3 which is set via F1/F2/F3
    is not always reflected to same mail in F0, [Gmail]/All Mail.
I'm currently seeing this when deleting an unread message from the inbox. The message remains in [All Mail], but I want it to be marked read there. My guess is that this is an issue GMail should fix, but it would be nice if Thunderbird could mark it read before deleting the message.
(In reply to WADA from comment #4)
> (In reply to comment #2)
> > It seems like this misbehaviour dissapeared recently.
> 
> Really? I still saw problem in next case some times.
>  1. Add Gmail Label of F0 to a conversation(3 mails in it), mark it Unread.
>  2. View F0 by Tb via Gmail IMAP. 3 unread mails. (mail-1, mail-2, mail-3)
>     View [Gmail]/All Mail. Confirm that these 3 mails are unread.
>  3. Copy mail-1 to F1, mail-2 to F2, mail-3 to F3.
>     Change mail in F1, F2, F3 to read.
>  4. Check mail in F0, [Gmail]/All Mails.
>     Read status of mail-1, mail-2, mail-3 which is set via F1/F2/F3
>     is not always reflected to same mail in F0, [Gmail]/All Mail.

wada was your issue perhaps different from reporter's? do you still see this?
Flags: needinfo?(m-wada)
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #6)
> wada was your issue perhaps different from reporter's? do you still see this?

Yes of course, because bug 693204 is not resolved yet.
i.e. Phenomenon like comment #0 can still occur on any IMAP server who doesn't send unsol flag state change notification via IDLE, if Tb user enables IDLE commsand use.
Flags: needinfo?(m-wada)
You need to log in before you can comment on or make changes to this bug.