Open Bug 513054 Opened 15 years ago Updated 2 years ago

(IMAP) marking a message as not junk triggers new e-mail notification

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows Vista
defect

Tracking

(Not tracked)

People

(Reporter: brandt24, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090827 Shredder/3.0b4pre

When marking a message in the Junk folder as not Junk, it get's put to the original? (don't know if that's really the case) folder with the new e-mail notification being shown.

Reproducible: Always

Steps to Reproduce:
1. See if there's a message in the Junk folder.
2. Mark it as not Junk.
3. You should see a new e-mail notification appear.


Expected Results:  
I would have expected not to receive the new e-mail notification.
Component: General → Mail Window Front End
QA Contact: general → front-end
Version: unspecified → 3.0
(In reply to comment #0)

> 3. You should see a new e-mail notification appear.

What it is this for you? a bolded folder that pinted (1) new mail or new mail alert in systray?
Both.
I cannot see new mail alert with steps in STR in comment #0.

Bolded folder it is deliberate.

Can you try in safe-mode?
Tried it in safe mode, same story. Using IMAP.
(In reply to comment #4)
> Tried it in safe mode, same story. Using IMAP.
Here pop3.
Summary: marking a message as not junk triggers new e-mail notification → (IMAP) marking a message as not junk triggers new e-mail notification
Reporter, could be related or better dupe of bug #272125?
I am not quite sure if it is really the same issue? I'd like to have a second opinion. :)
Anybody?
I think for IMAP it shows up as an unread header we haven't seen before, so we treat it as new. We could probably fix this by setting a pending attribute on the header to indicate that it should not be flagged as new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: junktracker
Checked with next build.
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091129 Shredder/3.0.1pre

1. A mail in Junk is marked as Junk => store Junk flag.
   The mail with \Deleted flag doesn't exist in Inbox at this step.
2. The mail un Junk is unmarked Junk => store NonJunk flag, remove Junk flag.
3. copy to Inbox => \Seen is not stored by Tb.
   Gmail IMAP doesn't look to copy \Seen flag when copy between IMAP folders.
   store \Seen \Deleted for mail in Junk.
4. fetch the copied mail from Inbox => mail is marked as Unread
FYI.
This bug is request of "mark as Read upon move by unjunk".
Bug 423143 is for opposite request, "don't mark as Read upon unjunk".
xref Bug 272125 - Junk mail should not show in new message alert
Severity: normal → minor
A workaround.
  When \Deleted flag is stored, Gmail IMAP ignores other flag change and doesn't store other flags.
  If [Gmail]/All Mail, nothig is done by Gmail IMAP.
  If [Gmail]/Spam, \Deleted flag is kept.
  If [Gmail]/Trash, the mail is removed permanently.
  If Gmail Label, Gmail IMAP simply removes Gmail Label(Junk etc.) if auto-expunging=On,
  and any flag of corresponding mail in [Gmail]/All is unchnged. 
  So, if "Mark Folder Read" is executed at your Junk Folder,
  if [Gmail]/Spam, \Seen is held at [Gmail]/Spam, and if Gmail Label, \Seen is held at [Gmail]/All Mail.
  Then, when "move from Junk folder to Inbox" is requested,
  \Seen flag is probably inherited from [Gmail]/Spam or [Gmail]/All Mail.
  If \Seen flag is set in Unjunk'ed mail in Inbox, it doesn't invoke new mail alert because it's Unread mail.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: