Closed
Bug 85588
Opened 23 years ago
Closed 23 years ago
Unread mail status is incorrectly set to Read when mail filtered to local folder
Categories
(MailNews Core :: Database, defect, P2)
MailNews Core
Database
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: jozef.chocholacek, Assigned: Bienvenu)
References
Details
Attachments
(2 files)
2.90 KB,
application/octet-stream
|
Details | |
1.93 KB,
patch
|
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
When messages are moved (using filters) from IMAP Inbox to the apropriate subfolders in "Local Folders", some of them are marked Read although they arent read (e.g. during night when my Mozilla is running and retrieving new messages, but I am sleeping home so I cannot read the messages :).
Comment 1•23 years ago
|
||
Reporter what build are you using? Have you tried 0.9.2 and a new profile does that fix the problem?
Reporter | ||
Comment 2•23 years ago
|
||
Now I am on 0.9.2 and this bug is still there. Build ID is 2001070209. I found out that it is the last received message in the folder, e.g. I have set to connect to IMAP every 15 min. and receive new messages and sort them into local folders - and when there is e.g. 5 new messages, then the newest message (with highest "Date" field) is marked as read. Do you want my configuration?
Comment 3•23 years ago
|
||
yes please
Comment 4•23 years ago
|
||
Assignee | ||
Comment 6•23 years ago
|
||
changing summary; Navin, do you have a bug like this?
Status: NEW → ASSIGNED
Summary: Unread mail status is incorrectly set to Read → Unread mail status is incorrectly set to Read when mail filtered to local folder
Comment 7•23 years ago
|
||
No
Assignee | ||
Comment 9•23 years ago
|
||
This is also true when copying multiple unread messages from imap to pop - the last message gets marked read. So the problem is in the msg copy code, not the filter code.
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → mozilla0.9.4
Assignee | ||
Comment 10•23 years ago
|
||
OK, the problem here is that nsMsgLocalMailFolder::CopyMessagesTo calls StartMessage() for the first local message. However, we don't need this if the src folder is imap because IMAP will do a StartMessage for each message. The fix will probably be to check if the src folder is imap, unfortunately, or some similar hack.
Comment 11•23 years ago
|
||
David I was going to bump this to .9.5 per the triage meeting today but it sounds like you may already have a fix. If you do, go ahead & check it in otherwise feel free to push this off to .9.5.
Comment 12•23 years ago
|
||
bumping to .9.5 per my earlier comment.
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Assignee | ||
Comment 13•23 years ago
|
||
Updated•23 years ago
|
Attachment #50339 -
Flags: superreview+
Comment 14•23 years ago
|
||
Comment on attachment 50339 [details] [diff] [review] proposed fix sr=sspitzer
Assignee | ||
Comment 15•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 16•23 years ago
|
||
OK using nov15 commercial trunk build: win98, mac OS X, linux rh6.2 OK for filtering (multiple messages arriving at a time) IMAP --> local, OK for copying multiple messages IMAP --> local.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•