If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

.newsrc overrides the .msf file

VERIFIED FIXED

Status

SeaMonkey
MailNews: Message Display
--
major
VERIFIED FIXED
17 years ago
13 years ago

People

(Reporter: esther, Assigned: Bienvenu)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: perf)

(Reporter)

Description

17 years ago
Using perf build 3-12-01 on windows (mac and linux still need to be tested)
verify that .newsrc overrides the .msf file
Steps to be added soon.

Updated

17 years ago
QA Contact: esther → stephend
Whiteboard: perf

Updated

17 years ago
Blocks: 72338
Is this just that on launch, we the RC file should overwrite any old (IE, 
unsubscribed) entries in the .msf file?
the newsrc file keeps track of the read / unread state of messages.

when we landed I think bienvenu made it so the newsrc file would over rule the
.msf file.

so if I marked a message as read in mozilla, exited.  edited my newsrc file to
make it unread, and started mozilla up again, it should show up as unread.

this is important, as newsrc files can be shared between news clients.
Okay, I'll need to have a sanity check, to make sure I'm doing the right thing.

With build 2001-05-22-04 on Windows 2000,
poisonivy.mcom.com.rc contains:

xrated: 1-112

All of the messages have read status 

When I change this to:

xrated: 1-68

I get those messages now with unread status (although the status bar doesn't
recognize them as such, but that's another bug).

Assignee: sspitzer → bienvenu
Summary: verify that .newsrc overrides the .msf file → .newsrc overrides the .msf file
over to bienvenu, I think he already fixed this.
(Assignee)

Comment 5

16 years ago
yes, this has been fixed for a while.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
So on the latest win32 trunk, if my .rc file looks like this:

netscape.public.mozilla.test: 1-15,17-24

my messages are like so:

unread: 0 total: 23

if I change the line to be:

netscape.public.mozilla.test: 1-5

my messages in the thread pane become:

unread: 8 total: 23


Is the unread portion correct?  It's visually correct, but I'm not sure about
the math and the grouping of the rc file's entries.

For instance:

15==15 entries? (Are these just the message ids?)
17-24==8 entries?

(Assignee)

Comment 7

16 years ago
the numbers in the .newsrc file are just article numbers/keys. So, 1-15,17-24
means articles 1 thru 15, and articles 17 thru 24 are read. If article 16 is not
expired, then it would unread (but it might be expired). Also, any of them in
the range 1-15 and 17-24 might also be expired. Which makes it a bit tricky to
count the unread ones.
verified, then.  I've verified that changing that file takes precedence over the
.msf, which is what this whole bug was about.  If I'm wrong, re-open.  (Thanks
for the explanation, David.)
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.