Closed
Bug 263678
Opened 20 years ago
Closed 19 years ago
Sort by Date, Grouped by Sort results in wrong partitioning of messages into groups
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: palmer, Assigned: Bienvenu)
References
Details
(Keywords: fixed-aviary1.0)
Attachments
(12 files)
|
54.42 KB,
image/jpeg
|
Details | |
|
23.08 KB,
image/jpeg
|
Details | |
|
4.85 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
|
42.03 KB,
image/jpeg
|
Details | |
|
6.33 KB,
image/jpeg
|
Details | |
|
809 bytes,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
|
5.50 KB,
image/png
|
Details | |
|
13.87 KB,
image/gif
|
Details | |
|
106.68 KB,
image/png
|
Details | |
|
49.01 KB,
image/png
|
Details | |
|
144.81 KB,
image/jpeg
|
Details | |
|
21.25 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Setting Sort by Date, Descending, Grouped by Sort. Today is Oct 10 (important to understand the following lines) and I see the following in my INBOX: Today 01:52 mail.... Last Week 04.10.2004 mail .... [should be This Week?] Yesterday 08.10.2004 mail... [should be Day Before Yesterday or This Week] Two Weeks Ago 01.10.2004 It seems that there is a group missing: Where does a date between Yesterday and Last Week go? How is Last Week defined? Is this the current week or the week before the current week? Shouldn't that be Today Yesterday This Week = dates between Yesterday and Last Week !!! missing !!! Last Week Two Weeks Ago [IMO this could be dropped and corresponding mails grouped in Older] Older Reproducible: Always Steps to Reproduce: 1. 2. 3. It seems that there is a group missing: Where does a date between Yesterday and Last Week go? How is Last Week defined? is this the current week or the week before the current week? Shouldn't that be Today Yesterday This Week !!! missing !!! Last Week Two Weeks Ago [IMO this could be dropped and corresponding mails grouped in Older] Older
| Assignee | ||
Comment 1•20 years ago
|
||
today is today (the current day, not the last 24 hours, if that makes sense) last week is really the current week, or messages that arrived in the last week, except for messages that arrived today. 2 weeks are message the remaining messages that arrived in the last two weeks, that don't fall into the first two categories.
| Assignee | ||
Comment 2•20 years ago
|
||
is this bug basically about changing the labels? I think the labels I used are similar to what Outlook uses...
In reply: Problem of terminology I guess, but not very intuitive. Let's take an example: Today = Wednesday - Messages dated Tuesday (the previous day) will be grouped in Yesterday - Messages dated Monday (the day before yesterday) will be grouped in Last Week??? Shouldn't that be Current Week? Messages dated Friday of the previous week will be Two Weeks Ago? Although this is in fact the Previous Week. Enclosed is a screenshot comparing with Outlook. You will notice that TB puts 04.10.2004 into Two Weeks Ago. I noticed that TB uses the Sent date for grouping, but displays the Received date. That's confusing. Outlook uses (in descending order): Today eg. let's say onThursday Yesterday eg. Wednesday Tuesday Monday ... Last Week
(In reply to comment #4) Also, the sort order within the groups should correspond to the group sort order, i.e. descending in the example shown.
(In reply to comment #2) > is this bug basically about changing the labels? I think the labels I used are > similar to what Outlook uses... Not really, more a question of definition. For me, Last Week is the week which ends witht the past weekend. It seems to me that that between Yesterday and Last Week, something like Current Week is missing. Outlook groups the current week into its weekdays: Today (eg. Thursday), Yesterday, Wednesday, Tuesday,..., Last Week (in descending order). I'd rather prefer: Today, Yesterday, Current Week, Last Week
(In reply to comment #2) > is this bug basically about changing the labels? I think the labels I used are > similar to what Outlook uses... The attached screenshot shows the confusion: While 07.10 to 10.10 (green) rightly belong to Last Week, 11.10 (yellow)doesn't fit and should be listed under a new group labeled This Week.
(In reply to comment #8) > Created an attachment (id=161956) > Last Week contains element from the current week > Assuming that "Week" is defined as "from Monday to Sunday"
| Assignee | ||
Comment 10•20 years ago
|
||
I switched to 32 bit int math, and adjusted for GMT. I also fixed a leak, removed some unused code, and fixed a problem where headers were out of date order in the underlying folder.
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
| Assignee | ||
Updated•20 years ago
|
Attachment #162013 -
Flags: superreview?(mscott)
Updated•20 years ago
|
Attachment #162013 -
Flags: superreview?(mscott) → superreview+
| Assignee | ||
Comment 11•20 years ago
|
||
I've fixed the categorization to do what I intended, but that's not what you wanted, I don't think... It's true we're not doing what Outlook does. Outlook does: today yesterday Tuesday Monday Sunday Last Week (which is previous Sunday - Saturday) I'm not sure what Outook does if today is Monday - does it say: today yesterday Last Week? or if today is Sunday, does it say: today yesterday Friday ... Monday Sunday Last Week? I could try to duplicate that - it would be a little bit of work (I'm not even sure how to figure out what ordinal day of the week it is with our date/time library...). What do you think, Scott?
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 12•20 years ago
|
||
(In reply to comment #11) > I've fixed the categorization to do what I intended, but that's not what you > wanted, I don't think... > > It's true we're not doing what Outlook does. Outlook does: > > today > yesterday > Tuesday > Monday > Sunday > Last Week (which is previous Sunday - Saturday) > > I'm not sure what Outook does if today is Monday - does it say: > > today > yesterday > Last Week? > I don't know either, you would have to wait until next Monday when I can try. > I could try to duplicate that - it would be a little bit of work (I'm not even > sure how to figure out what ordinal day of the week it is with our date/time > library...). What do you think, Scott? IMO, I don't think this is too useful, something like Current Week should do for the days preceding Yesterday back until Sunday of the current week. It's probably not going to be much easier, because you would have to take into consideration that the week starts on Monday in Europe, while in the US it starts on Sunday. Sorry about that ;-). I hope there is no country where the week starts on Saturday....
| Reporter | ||
Comment 13•20 years ago
|
||
The attached screenshot still shows the wrong order. In addition, the individual dates within each group should be sorted in descending order.
| Assignee | ||
Comment 14•20 years ago
|
||
that's a separate issue, having to do with the order of the groups themselves, as opposed to which buckets each message goes into. I've seen that problem too, but don't have a reproducible case.
| Reporter | ||
Comment 15•20 years ago
|
||
(In reply to comment #14) > that's a separate issue, having to do with the order of the groups themselves, > as opposed to which buckets each message goes into. I've seen that problem too, > but don't have a reproducible case. I have also noticed an error in the submenu (see screenshot) "Grouped by Sort G". Branch 2004-10-17 crashes when successively and randomly selecting messages in different groups. I don't know if this is related.
| Reporter | ||
Comment 16•20 years ago
|
||
> Branch 2004-10-17 crashes when successively and randomly selecting messages in
> different groups. I don't know if this is related.
Seems to be resolved after restart of system.
| Reporter | ||
Comment 17•20 years ago
|
||
You might be interested in the fact that the same mail account which showed the wrong sort order on Sunday shows the correct sort order on Monday. See screenshot.
| Assignee | ||
Comment 18•20 years ago
|
||
we were sorting the date categories by the date of the newest message in the thread containing the first message to be grouped instead of the date of the message itself - that usually worked out to be right, but not always...
| Assignee | ||
Updated•20 years ago
|
Attachment #162864 -
Flags: superreview?(mscott)
Updated•20 years ago
|
Attachment #162864 -
Flags: superreview?(mscott) → superreview+
| Assignee | ||
Updated•20 years ago
|
Comment 19•20 years ago
|
||
I have my mails order by date descending. If I select "group by sort" than TB group the mails and order it ascending in the groups.
Comment 20•20 years ago
|
||
(In reply to comment #17) > Created an attachment (id=162453) > 2004-10-17 correct order > > You might be interested in the fact that the same mail account which showed > the wrong sort order on Sunday shows the correct sort order on Monday. See > screenshot. Um, no; that screenshot continues to show the groups ordered by Date, Descending while the messages within the group are sorted by Date, Ascending. (In reply to comment #14) > that's a separate issue, having to do with the order of the groups themselves, > as opposed to which buckets each message goes into. I've seen that problem > too, but don't have a reproducible case. Groups by Date, Descending is the only case where this seems to be actually a problem. Bug 267754 has been opened about this issue.
Comment 21•20 years ago
|
||
*** Bug 271179 has been marked as a duplicate of this bug. ***
Comment 22•20 years ago
|
||
using 200411220x-0.9 tbird bits (the three main platforms), message grouping by descending date (most recent at top of thread pane) is now: - today (0 days old) - yesterday (1 day old) - last week (2-6 days old) - two weeks ago (7-13 days old) - old mail (14+ days old) if this is expected now, I'll verify this bug as fixed.
OS: Windows XP → All
Hardware: PC → All
Comment 23•20 years ago
|
||
Except that doesn't address the problem of the sort order of messages within the group not honouring the selected order. eg Date, Descending applies to the grouping but the messages within the groups always appear as date Ascending.
Comment 24•20 years ago
|
||
(In reply to comment #23) > Except that doesn't address the problem of the sort order of messages within the > group not honouring the selected order. eg Date, Descending applies to the > grouping but the messages within the groups always appear as date Ascending. But this wasn't the error described in this bug. For your error see bug 267754
| Reporter | ||
Comment 25•20 years ago
|
||
(In reply to comment #24) > (In reply to comment #23) > > Except that doesn't address the problem of the sort order of messages within the > > group not honouring the selected order. eg Date, Descending applies to the > > grouping but the messages within the groups always appear as date Ascending. > > But this wasn't the error described in this bug. > For your error see bug 267754 It was, though: "Grouped by Sort results in wrong order of groups *and* mails". Whatever, just make sure one of the two bug reports 263678 or 267754 take care of it.
Comment 26•20 years ago
|
||
Some messages are still not being put in the right buckets on group-by-date. The attached image shows a TB 1.0 screenshot taken about five minutes ago (that is, about 1:00PM locally, 9-Dec-2004). Note one 3-Dec message appearing in the "two weeks ago" and two 3-Dec messages appearing in the "last week" bucket. The reason the one message is shown in "two weeks ago" is because the actual Date header is: Thu, 2 Dec 2004 23:05:59 -0800 I'd say the timezones should be taken into account when making these partitions -- the dates displayed are relative to my timezone, and the partioning should follow those. (Altho ISTR there is a hidden preference that allows the date header to be displayed as received without adjusting; and there is the bug for displaying mail by Date Received instead of the Date header...)
Comment 27•20 years ago
|
||
Updating summary to avoid further confusion with bug 267754.
Summary: Sort by Date, Descending, Grouped by Sort results in wrong order of groups and mails → Sort by Date, Grouped by Sort results in wrong partitioning of messages into groups
Comment 28•20 years ago
|
||
*** Bug 273472 has been marked as a duplicate of this bug. ***
Comment 29•20 years ago
|
||
As new emails come overnight a new group is created for the AM ones but is always named Yesterday instead of Today (see attachment). As soon as I refresh the list, by a re-sort or just moving to another folder and back again, it is corrected.
| Assignee | ||
Comment 30•20 years ago
|
||
if you leave a folder open for hours, we don't migrate messages from today to yesterday, when the day changes. Would that explain the issues people are seeing?
Comment 31•20 years ago
|
||
Not really. It appears that messages are going to Yesterday as appropriate and new messages (todays) get a new group but the group is named Yesterday. Otherwise the behaviour seems correct. The attachment shows how I found it first thing this morning. the lower group named Yesterday does contain yesterdays mail. The top group though is actually todays mail. So it is really just that I have to two groups named Yesterday.
Comment 32•20 years ago
|
||
(In reply to comment #30) > if you leave a folder open for hours, we don't migrate messages from today to > yesterday, when the day changes. Would that explain the issues people are > seeing? No, not in my case -- I don't normally use grouped mode, I was just testing something when I saw that symptom and remembered this bug.
Comment 33•20 years ago
|
||
OK, ran into another situation with this. Unfortunately, I didn't grab a screenshot during the critical period. I had left the Inbox in Group, By Date overnight (computer on standby) and when I dialed in this morning, a few messages arrived, most actually dated yesterday. I looked at the grouping to see how they'd fared; I didn't see any "Today" group (because the Today messages were both spam) but in the Yesterday, one of the older (read) messages had a twisty, as if there was threading going on. I opened the twisty and several more messages became visible, altho none shared the same sender or subject. Unfortunately, I did not get a screenshot at this point -- however, my recollection is that this pseudo-thread of messages consisted of messages I received two days ago -- that is, by this point, they ideally would have been in the "last week" bin. (I'm not complaining that they weren't automatically moved to that bin, just that the display got weird.) However, the current behavior is definitely wrong: all the messages from yesterday (5) *and* two days ago (3) appear in the "Yesterday" group -- after not only reselecting the folder, not only leaving and re-entering group mode, but even after exiting, deleting the .MSF file, restarting TB and re-grouping. Lately arrived new mail appears in the Today group as expected.
Comment 34•20 years ago
|
||
*** Bug 279159 has been marked as a duplicate of this bug. ***
Comment 35•20 years ago
|
||
I see the behavior described in comment #33 almost daily; I usually leave Thunderbird open at night and in the morning, it typically seems very confused about where it wants to put messages. It does not seem 100% consistent. Mail from today sometimes shows up in "Yesterday" or vice versa, and sometimes there's a "Today" group with no contents even though there's mail from today in the "Yesterday" group. When I delete one of the new messages, Thunderbird sometimes fails to advance to the next message. For me, though, switching to another folder then back to my inbox fixes the problem, and I've gotten in the habit of always doing that first thing in the morning to make the groupings correct. Since I'm doing that anyway, it'd sure be nice if Thunderbird would save me the effort and just recompute the groups when it gets the first new message on a given day, or maybe at the stroke of midnight. I wouldn't mind things shuffling around onscreen -- I'd rather the display always show the correct grouping than try to remain consistent at the cost of putting messages in the wrong place. In fact, it'd be kind of reassuring to see messages migrate from "Yesterday" to "Last Week" on their own. I guess the thought experiment is, if you left Thunderbird open while you went on vacation for two weeks, would you be satisfied seeing week-and-a-half-old mail piled up in the "Today" group when you got back? That's probably what you'd see with the current behavior.
Comment 36•20 years ago
|
||
A message dated the previous day arrived shortly after midnight, and this is how Thunderbird displayed it. This screenshot was taken at 12:15AM on 2005/02/04, so in theory the 2005/02/02 message ought to be in a "Last Week" group rather than in the same "Yesterday" group as a message from the next day. The last message in the list was, I believe, listed under "Today" until the moment the previous message (the one selected in the screenshot) arrived shortly after midnight, at which point the display changed to what you see here.
Comment 37•20 years ago
|
||
Here's another one I've seen several times. My header pane had a bunch of messages in "Old Mail" and one message each in "Two Weeks Ago", "Last Week", and "Today". I read the "Today" message and deleted it. Thunderbird deleted the message and the message pane displayed the "Last Week" message, as expected. However, that message's entry in the header pane vanished, leaving an expanded but empty "Last Week" group heading, as you can see in the screenshot. When I collapse that group heading by clicking on its "-" button, it vanishes too, as does the message in the message pane. Switching to a different folder and back again makes everything look like it should.
Comment 38•19 years ago
|
||
(In reply to comment #37) I have a similar failure. I had my emails sorted by "date" and "descending" and group by sorting. Today I got a spammail with the date 01.01.1970 (dd.mm.yyyy) it was right sorted at the end of my main window. And a other email from yesterday (I download them all today, not yesterday) was always false sorted. With a group (I think also a second one) "yesterday" at the end of the main window. And that is not a descending sorting. I will attach now a picture explaining it (similar to the other attached one).
Comment 39•19 years ago
|
||
(In reply to comment #38) > (In reply to comment #37) > I have a similar failure. > I had my emails sorted by "date" and "descending" and group by sorting. > Today I got a spammail with the date 01.01.1970 (dd.mm.yyyy) it was right sorted > at the end of my main window. > And a other email from yesterday (I download them all today, not yesterday) was > always false sorted. With a group (I think also a second one) "yesterday" at the > end of the main window. > > And that is not a descending sorting. > I will attach now a picture explaining it (similar to the other attached one). Sorry ... I forgot to say: I use Win XP + SP2 (with the newest patches and updates) with Thunderbird 1.0.6 with this extensions: Enigmail, AttachmentToosl, ContactsSidebar, HeaderScrollExtension, Quote Collapse, QuoteCOllors, Remove Duplicate Messages, Sender Verification, Show SMTP Username and Minimize to tray.
Comment 40•19 years ago
|
||
Shows the false sorting by Thunderbird 1.0.6 in the main window (I explained it in a answer at the bottom of the site). Ulf: thrash@gmx.net
Comment 41•19 years ago
|
||
(In reply to comment #40) > Created an attachment (id=192828) [edit] > Shows the false sorting of one email in the main window > > Shows the false sorting by Thunderbird 1.0.6 in the main window (I explained it > in a answer at the bottom of the site). Ulf: thrash@gmx.net I saw this behavior, too. But it's very difficult to reproduce and it only occurs rarely
| Assignee | ||
Comment 42•19 years ago
|
||
there are several fixes for problems like this in trunk builds...and an other fix will go in tomorrow.
Comment 43•19 years ago
|
||
(In reply to comment #42) > there are several fixes for problems like this in trunk builds...and an other > fix will go in tomorrow. Maybe it work with the trunk. I use the trunk since 2 or 3 weeks and I didn't saw this problem again. But before it appears not often.
Comment 44•19 years ago
|
||
Still problems, both with getting the date bucket right and also what the buckets should be. Using 1.0.7 (20050923).
| Assignee | ||
Comment 45•19 years ago
|
||
has anyone tried a 1.5beta 2 or rc1 build?
Comment 46•19 years ago
|
||
(In reply to comment #45) > has anyone tried a 1.5beta 2 or rc1 build? > Yes, I use the trunk respectively beta 1 and beta 2 since august and I couldn't reproduce the problem anymore.
| Assignee | ||
Comment 47•19 years ago
|
||
ok, thx, marking wfm.
Status: NEW → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → WORKSFORME
Comment 48•19 years ago
|
||
The date grouping appears to be working correctly for me, too (1.5 Beta 2 under Windows XP) but I still think the date grouping labels are confusing. Specifically "Last Week" and "Two Weeks Ago". "Last Week" implies an email that was received in the previous calendar week, rather than in the past 7 days. Something more like "Within the last week" or "Within the last 7 days" seems more appropriate. The same goes with "Two Weeks Ago". I don't particularly like my ideas alternatives, but I think the current labels should be tweaked a bit to be clearer. What do you guys think?
Comment 49•19 years ago
|
||
(In reply to comment #48) > The date grouping appears to be working correctly for me, too ... > but I still think the date grouping labels are confusing. > Specifically "Last Week" and "Two Weeks Ago". > > "Last Week" implies an email that was received in the previous calendar week, > rather than in the past 7 days. Something more like "Within the last week" > or "Within the last 7 days" seems more appropriate. The same goes with "Two > Weeks Ago". Bug 315114
You need to log in
before you can comment on or make changes to this bug.
Description
•