Closed
Bug 64480
Opened 24 years ago
Closed 23 years ago
mark all read fails on messages gotten with "Get Next <x> News Messages"
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sspitzer, Assigned: Bienvenu)
Details
(Whiteboard: [Need Impact])
Attachments
(1 file)
6.75 KB,
patch
|
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
get 100 messages from a newsgroup
mark all read, they get marked
get next 100 using "Edit | Get Next 100 News Messages".
those next 100 come is as read. mark a few of then as unread.
mark all read, those last few you marked as unread don't get marked read.
related to what is causing #64476?
QA Contact: esther → stephend
Comment 1•23 years ago
|
||
I still can reproduce this using 2001121103 on W2K.
If I mark a few messages as unread after "get next n news messages"/"mark as
read", the unread message count in the folder pane goes up as it should. If I
now "mark all read", then the folder turns from bold to normal in the folder
pane, unread message count goes to 0 (not displayed anymore), but the messages
in the thread pane remain marked as read. If I now change to another newsgroup
and then go back to the first one, the messages are marked as read.
Assignee | ||
Comment 3•23 years ago
|
||
the problem here is that nsNewsDatabase::MarkAllRead uses the low water mark
for the start of the range, but that's incorrect if you do a Get Next NN
messages. The fix is to use the known arts set to determine the low water mark.
I've also fixed the known arts set to use a cstring since it will always be a c
string. I've also added code to store the current state of the read set for a
news db when a db is commited (this will be used for another bug fix, but it's
harmless for now).
Reporter | ||
Comment 4•23 years ago
|
||
Comment on attachment 82141 [details] [diff] [review]
proposed fix
sr=sspitzer
Attachment #82141 -
Flags: superreview+
Assignee | ||
Comment 5•23 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified FIXED with builds:
Mac OS X 10.1.4 - 2002-05-24-08
RedHat 7.3 - 2002-05-25-07
Windows 2000 - Current self-built trunk
I'd like to see this land on the branch - since I've verified it, and it seems
harmless (no regressions found so far). Nominating.
Keywords: adt1.0.1
Updated•23 years ago
|
Whiteboard: [Need Impact]
Comment 7•23 years ago
|
||
I think we can wait until the next release for this one.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•