Opened 6 months ago
Last modified 6 months ago
#2763 new defect
Susimail: Date-based ordering of unread messages seems occasionally unordered
Reported by: | JK | Owned by: | zzz |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | apps/susimail | Version: | 0.9.46 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
When I logged into susimail after some time, I had many unread emails. Although the emails were supposedly ordered by Date, with the most recent first in the list, the emails were actually disordered. The information in each row was correct, but the ordering was wrong. The only thing that did make sense was that all the new (unread) message were above the read messages.
After about 5 page refreshes and half an hour, the emails were ordered.
Subtickets
Change History (4)
comment:1 Changed 6 months ago by
Component: | unspecified → apps/susimail |
---|---|
Owner: | set to zzz |
comment:2 Changed 6 months ago by
comment:3 Changed 6 months ago by
If you re-sort immediately (click on some other sort, then back to date sort) instead of refreshing, does that fix it?
I noticed that this happened again recently and I remembering your question I tried doing as suggested. Yes, the above does work but its sub-optimal.
comment:4 Changed 6 months ago by
wasn't suggesting the re-sort as a workaround, just as a part of the diagnosis. thanks for testing. No ideas yet but will keep looking.
There's a couple of possibilities here - maybe the Date header was missing for an email (even though RFC requires it) or couldn't be parsed, in which case we use the date we received it…
The other thing could be as you suggested, that the new emails aren't being sorted in correctly. If you re-sort immediately (click on some other sort, then back to date sort) instead of refreshing, does that fix it?