Opened 3 weeks ago

Last modified 31 hours 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 3 weeks ago by zzz

Component: unspecifiedapps/susimail
Owner: set to zzz

comment:2 Changed 3 weeks ago by zzz

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?

comment:3 Changed 3 days ago by JK

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.

(NOT RELATED: I meant to thank you a few days ago on the i2pForum for pointing me to the susimail on Github but it kept marking me as spam, so in that spirit, thanks zzz.

Last edited 3 days ago by JK (previous) (diff)

comment:4 Changed 31 hours ago by zzz

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.

Note: See TracTickets for help on using tickets.