[GH-ISSUE #424] Inbox sort order keeps resetting #350

Closed
opened 2026-02-25 21:34:49 +03:00 by kerem · 6 comments
Owner

Originally created by @drboom on GitHub (Aug 27, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/424

Originally assigned to: @jasonmunro on GitHub.

🐛 Bugreport

In the upper, right corner of the inbox page, there is a drop-down that lets me choose a sort order.
Choices include "Arrival [ascending]" and "Arrival [descending]"
Selecting descending sorts the emails in the requested order with the most recent email at the top of the list.
Refereshing the mailbox by using the refresh icon or by the periodic automatic page reload,
causes the sort order to revert to ascending. But the dropbox still shows descending so,
in order to get it back to descending, I have to change the dropbox to something other than descending
and then change it back to descending.

Version & Environment

Rev: [github.com/jasonmunro/cypht@0c7a095ec0]
OS: [Ubuntu 7.5.0-3ubuntu1~18.04]

Steps to reproduce

  1. Navigate to inbox screen
  2. Select sort by arrival, descending. This means most recent email first.
  3. Wait for page to refresh.
  4. Observe that sort order is by arrival, ascending. Meaning oldest email first.
Originally created by @drboom on GitHub (Aug 27, 2020). Original GitHub issue: https://github.com/cypht-org/cypht/issues/424 Originally assigned to: @jasonmunro on GitHub. ## 🐛 Bugreport In the upper, right corner of the inbox page, there is a drop-down that lets me choose a sort order. Choices include "Arrival [ascending]" and "Arrival [descending]" Selecting descending sorts the emails in the requested order with the most recent email at the top of the list. Refereshing the mailbox by using the refresh icon or by the periodic automatic page reload, causes the sort order to revert to ascending. But the dropbox still shows descending so, in order to get it back to descending, I have to change the dropbox to something other than descending and then change it back to descending. ### Version & Environment Rev: [https://github.com/jasonmunro/cypht/commit/0c7a095ec0819fa7094d5c9af9191dc945b251f5] OS: [Ubuntu 7.5.0-3ubuntu1~18.04] ### Steps to reproduce 1. Navigate to inbox screen 2. Select sort by arrival, descending. This means most recent email first. 3. Wait for page to refresh. 4. Observe that sort order is by arrival, ascending. Meaning oldest email first.
kerem 2026-02-25 21:34:49 +03:00
Author
Owner

@drboom commented on GitHub (Aug 27, 2020):

Actually, it appears that when the refresh happens, the messages aren't sorted in ascending order. They appear in the order they come in from the POP3 server. Not sorted at all.

<!-- gh-comment-id:682228537 --> @drboom commented on GitHub (Aug 27, 2020): Actually, it appears that when the refresh happens, the messages aren't sorted in ascending order. They appear in the order they come in from the POP3 server. Not sorted at all.
Author
Owner

@marclaporte commented on GitHub (Sep 3, 2020):

Related: https://github.com/jasonmunro/cypht/pull/418

<!-- gh-comment-id:686712141 --> @marclaporte commented on GitHub (Sep 3, 2020): Related: https://github.com/jasonmunro/cypht/pull/418
Author
Owner

@jasonmunro commented on GitHub (Sep 17, 2020):

Just to confirm this is also POP3 specific I think as I don't see this happening with IMAP folder sorting

<!-- gh-comment-id:694491559 --> @jasonmunro commented on GitHub (Sep 17, 2020): Just to confirm this is also POP3 specific I think as I don't see this happening with IMAP folder sorting
Author
Owner

@richardneish commented on GitHub (Sep 21, 2020):

I'm seeing this or something similar happening with IMAP accounts. I have three IMAP mail accounts and they don't seem to be sorted per the sort dropdown when I first log in. Changing the sort order and then changing back produces the sorted result.

<!-- gh-comment-id:696111926 --> @richardneish commented on GitHub (Sep 21, 2020): I'm seeing this or something similar happening with IMAP accounts. I have three IMAP mail accounts and they don't seem to be sorted per the sort dropdown when I first log in. Changing the sort order and then changing back produces the sorted result.
Author
Owner

@marclaporte commented on GitHub (Oct 29, 2020):

@richardneish @drboom Please retest with latest code as it has changed significantly. Ref.: https://github.com/jasonmunro/cypht/issues/378

<!-- gh-comment-id:718285192 --> @marclaporte commented on GitHub (Oct 29, 2020): @richardneish @drboom Please retest with latest code as it has changed significantly. Ref.: https://github.com/jasonmunro/cypht/issues/378
Author
Owner

@marclaporte commented on GitHub (Feb 2, 2021):

Proposal: Deprecate POP3 support if no one steps up to maintain it
https://github.com/jasonmunro/cypht/issues/452

<!-- gh-comment-id:771266095 --> @marclaporte commented on GitHub (Feb 2, 2021): Proposal: Deprecate POP3 support if no one steps up to maintain it https://github.com/jasonmunro/cypht/issues/452
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#350
No description provided.