Comment 41 for bug 322256

Revision history for this message
In , Lorenzo Bettini (bettini) wrote :

Are you sure the problem is in the .rc file?
As far as I can see, those files are updated correctly, in fact, if I use "show unread messages" I actually see only the messages that are not read.

The problem is when I use "view thread with unread", and I think the problem is due to the fact that thunderbird uses the .msf and .dat files instead of actually inspecting all messages in a thread (e.g., compare the message id against the ids of the .rc file).

This happens to me since I read newsgroups from the same server on different machines and I always use the same .rc files (I keep them synchronized), while the .msf and .dat files are different on the different machines.

Thus, if I mark all messages of a thread on a machine, copy the .rc file onto another machine and reopen the newsgroup, the same thread is shown even if all of its messages are read.

I don't know about the internals of thunderbird on this subject, but I suspect that this is the problem...

you may also reproduce this behavior by simply remove the .msf and .dat file of a newsgroup, then reopen thunderbird, reopen that newsgroup, choose "view threads with unread" and see this wrong behavior...

This bug makes thunderbird very hardly usable for reading newsgroup, and it's quite astonishing it hasn't been fixed yet...

if, at least, someone could provide information about the part of code responsible for dealing with threads with unread one could try to fix the problem...

thanks in advance