Closed Bug 303948 Opened 19 years ago Closed 19 years ago

Sometimes, thunderbird has trouble with grouped sort

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mailbox, Assigned: Bienvenu)

References

Details

(Keywords: fixed1.8)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050808 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050808 Firefox/1.0+

Sometimes, thunderbird has trouble with "grouped sort".

It shows false descriptions ("yesterday" instead of "today"), so "yesterday" is
displayed twice...

or the + to expand a group isn't visbile or the + is on a message instead of the
description of that group (e.g. "Yesterday") 

or sometimes, it shows some strange characters in descriptions (e.g.: %§$%§"=(=)
In this case, I must restart thunderbird...

I'm sorry, but I can't reproduce this... it happens only sometimes in all
Deerpark builds.

Reproducible: Sometimes
Related to bug 287181 and bug 269199?

*** This bug has been marked as a duplicate of 287181 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Attached patch proposed fixSplinter Review
this could fix a whole raft of problems that are reported when the day changes.
Basically I rebuild the view when the day changes, and a header is
added/changed/deleted (the only notifications I was brave enough to rebuild on
- rebuilding the view during a paint call is probably a bad idea :-) )
Assignee: mscott → bienvenu
Status: RESOLVED → ASSIGNED
Attachment #192263 - Flags: superreview?(mscott)
Resolution: DUPLICATE → ---
Comment on attachment 192263 [details] [diff] [review]
proposed fix

Should we be checking rv a lot sooner here. like right after calling
openWithHdrs?

+    nsresult rv = OpenWithHdrs(headers, m_sortType, m_sortOrder, m_viewFlags,
&count);
+    EnableChangeUpdates();
+    if (mTree) 
+      mTree->RowCountChanged(0, GetSize());
+
+    NS_ENSURE_SUCCESS(rv,rv);


I think this is going to fix some of the problems I've had with grouped by sort
too (I filed a bug somewhere a while ago). Sometimes you can even crash when
the grouped view gets out of whack after a day change. I suspect this will fix
that crash too.
Attachment #192263 - Flags: superreview?(mscott) → superreview+
no, that was intentional - I wanted to turn back on updates for sure (on the off
chance the view was somehow salvagable).
Attachment #192263 - Flags: approval1.8b4?
Attachment #192263 - Flags: approval1.8b4? → approval1.8b4+
Status: ASSIGNED → RESOLVED
Closed: 19 years ago19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: