Closed Bug 103824 Opened 23 years ago Closed 23 years ago

News messages appear marked as unread after re-entering newsgroup

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ericdere, Assigned: Bienvenu)

References

Details

Attachments

(1 file)

When I read a message in a newsgroup, the message is marked as read. When I leave this newsgroup and, after a short while, come back to the same newsgroup, this message appears again as unread. Marking the entire thread as read does not help. Build 2001100803
I have the same problem on both Linux and Win2000.
*** Bug 103839 has been marked as a duplicate of this bug. ***
Seeing this in 2001100908 on Linux as well. Leafnode is the server.
cc'ing bienvenu. This sounds like what we wrote about earlier.
QA Contact: esther → laurel
OK, this is a sign of the success of my code to close db's after selecting a different folder, and exposes a couple other bugs. We're closing the db without committing the db, and we're still not trusting the newsrc file over the db. News should probably commit the db after reading a message, but the catchall fix would be to commit the db before closing it in the code that handles selecting a different folder. I'll attach a patch in a sec.
Assignee: sspitzer → bienvenu
Sounds like this one is well in hand, but I'll add my gripe: I get the same in Win98, with both 2001-09-30-trunk and 2001-10-08-trunk Out of curiosity - why is this Unconfirmed?
Seeing this too on 2001100903 trunk Win2K. Sometimes messages stay marked as read even after restarting Mozilla, but most of the time they come up unread.
turns out to be a little more complicated - the news folder code which manages the read set never expected the underlying db to get closed and never gets the keyset out of it. The fix is going to be to give the db a pointer to the keyset, which it will make changes to, but the folder will still own it, instead of the copying and retrieving that goes on now.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attached patch proposed fixSplinter Review
cc'ing navin for review.
Comment on attachment 52921 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #52921 - Flags: superreview+
r=naving, will this fix that annoying assertions when we search unread news messages in debug build, boy, that is annoying.
No, it won't fix that assertion - that assertion is caused by the way search opens the db for the news folder. I'll try to fix it.
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 104078 has been marked as a duplicate of this bug. ***
*** Bug 104155 has been marked as a duplicate of this bug. ***
*** Bug 104208 has been marked as a duplicate of this bug. ***
ok using oct26 commercial trunk build: win98, linux rh6.2, mac OS X
Status: RESOLVED → VERIFIED
*** Bug 145682 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: