Closed
Bug 51813
Opened 25 years ago
Closed 25 years ago
New threaded messages aren't marked read when displayed.
Categories
(SeaMonkey :: MailNews: Message Display, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
M18
People
(Reporter: scottputterman, Assigned: waterson)
Details
(Whiteboard: [nsbeta3+] FIX IN HAND)
Attachments
(1 file)
|
9.21 KB,
patch
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. make sure the folder is in threaded mode.
2. Send yourself a message.
3. Get that message and reply to it.
4. Get that message and display it.
5. Notice that it isn't marked read, the New status stays and it is still bold.
You can't even click the green diamond to change the state.
| Reporter | ||
Comment 1•25 years ago
|
||
nominating for beta3. It seems like it would be hard to use threads if this is
the case. I noticed this on Imap.
Keywords: nsbeta3
Comment 2•25 years ago
|
||
[nsbeta3+]
Priority: P3 → P2
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
| Reporter | ||
Comment 3•25 years ago
|
||
cc'ing waterson.
I think this may be happening in RDF code. I've stepped through the code and it
looks like it's notifying the RDF observers correctly of any changes.
The bug is this:
If you are in threaded mode and have a message:
A
and then reply to A such that when you do GetMessage you have
A
B
then when you click on B, it will not become marked read. The status won't
change, the boldness won't change, you can't click on the green diamond or on
the flag. The mailnews backend seems to be working fine at the db level and the
notifications to make these changes seem to make their way fine to the RDF level
at which point RDF says there are no modifications after trying to find a Match.
| Assignee | ||
Comment 5•25 years ago
|
||
Yes, this was a bug in nsXULTemplateBuilder; more problems from the menu hackery
that hyatt and I put in back in r1.196 or so. Attaching a patch...
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•25 years ago
|
||
| Assignee | ||
Comment 7•25 years ago
|
||
What hyatt and I did in r1.194 or so was wrong: we messed around with a MatchSet
directly. I've re-constified a bunch of methods to make it harder for me to mess
up like that again.
The meat of the fix here is to realize that InstantiationNode::Propogate()
doesn't need to remember the "new" keys. It is only called in one of two ways:
1. By nsXULTemplateBuilder::CreateContainerContents(), which will "seed" the
rule network with the container element and expect *all* matches related to that
container to be returned, or
2. By nsXULTemplateBuilder::Propogate(), which will seed the rule network with
the new RDF assertion that's arrived, and will thus only instantiate matches
related to that assertion.
rjc, putterman: I'm a bit scared by this change, so if you guys could try it out
and let me know if you see anything weird, I'd appreciate it!
| Assignee | ||
Updated•25 years ago
|
Whiteboard: [nsbeta3+] → [nsbeta3+] FIX IN HAND
| Reporter | ||
Comment 8•25 years ago
|
||
Thanks for fixing this. I need to update my tree but I'll try to either try it
out tonight or tomorrow morning.
| Reporter | ||
Comment 9•25 years ago
|
||
I played around with this yesterday and it seemed to be working.
Comment 10•25 years ago
|
||
r=rjc too
| Assignee | ||
Comment 11•25 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 12•25 years ago
|
||
Linux (2000-09-18-06 M18)
Win32 (2000-09-18-08 M18)
Mac (2000-09-18-08 M18)
This problem has been fixed.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•