Closed Bug 259578 Opened 20 years ago Closed 20 years ago

display anomalies when switching to threaded view in a folder opened with a flat sort

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(2 files, 1 obsolete file)

If you open a folder with a flat sort, e.g., by date, and then click the thread icon, there can be various display and selection anomalies. Some messages are showed indented under messages that are not their parents; selecting what looks like a thread can select more messages than appear in the thread, etc. This is a regression from bug 243281 - I'm not sure why that code doesn't work, but I have a patch that fixes it.
Attached patch proposed fix (obsolete) (deleted) — Splinter Review
the problem was that the levels array had non-zero entries in it, and we were leaving those alone. I think the reason that was broken was because nsMsgDBView::Sort doesn't touch the levels array, so it gets out of sync with the keys and flags array. Another fix would be to just zero out the levels array up front - I'll test that out...
Attached patch proposed fix (deleted) — Splinter Review
this is simpler, and nearly as efficient as zeroing out the array all at once.
Attachment #158979 - Attachment is obsolete: true
Comment on attachment 158980 [details] [diff] [review] proposed fix making sure this is OK with Neil, since it's his optimization I'm mucking with :-)
Attachment #158980 - Flags: superreview?(mscott)
Attachment #158980 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch alternate fix (deleted) — Splinter Review
fixed, r=neil, sr=sspitzer over aim
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 158980 [details] [diff] [review] proposed fix clearing out my review reqeust since this has been fixed
Attachment #158980 - Flags: superreview?(mscott)
Comment on attachment 158980 [details] [diff] [review] proposed fix plusing for Neil (r=over aim)
Attachment #158980 - Flags: review?(neil.parkwaycc.co.uk) → review+
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: