Ticket #1486438 (closed Bugs: fixed)

Opened 8 months ago

Last modified 6 months ago

Use message index for sorting by date: Wrong default value displayed

Reported by: XTaran Owned by:
Priority: 3 Milestone: 0.4-beta
Component: User Interface Version: 0.3.1
Severity: minor Keywords: imap sort settings date
Cc:

Description

Our 0.3.1 installation seems to date sort by default via the IMAP SORT feature, but virgin users see an unchecked checkbox "Use message index for sorting by date".

If I check that check box and hit save, it (of course) still sorts by IMAP SORT. If I uncheck the check box and hit save again, it finally sorts locally (on the web server) instead of using IMAP's SORT feature despite the settings display says otherwise.

(The annoying thing is that you try to change the sorting and it changes only if you change it a second time. You just don't expect that so you usually don't try it on purpose. :-)

Change History

Changed 8 months ago by XTaran

  • summary changed from Use message index for sorting by date: Wrong default value not displayed to Use message index for sorting by date: Wrong default value displayed

Changed 8 months ago by alec

  • milestone changed from later to 0.4-beta

Confirmed. Actually we plan to remove this option.

Changed 8 months ago by XTaran

Will there be another option to use either IMAP server or local sorting? If not: which one will be used in future? Hopefully local (PHP) sorting.

BTW: I stumbled upon this bug while investigating unexpected (but as it seems valid) IMAP server sorting. A user moved all her mails from an Exchange server to our IMAP server via drag and drop in Outlook. Afterwards the arrival date was (IMHO correctly) set to the date of moving the mails to the IMAP server, and no more to the original SMTP arrival date. The user was totally confused by that, because the date column was highlighted/chosen as sort criteria, but it wasn't sorted by the dates being displayed in that column.

So offering only local sorting IMHO would make the user interface way more consistent with regards to sorting.

Changed 8 months ago by alec

It's already implemented in devel-threads branch.

Changed 7 months ago by EdRoxter

  • priority changed from 5 to 3

For me, it's the other way round, but still a very similar issue, I think:

A virgin user's folders are sorted via index sorting instead of IMAP SORT altough the checkbox is unchecked by default. In the user's database entry, index_sort isn't set at all - which apparently leads RC to use the system's default value which is true (see program/include/rcube_imap.php line 53).

Only when I check, save, uncheck, save again, index_sort is set as false in the user's database entry and IMAP SORT is used (which was my goal, eventually).

Changed 6 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r3367. Option removed.

Note: See TracTickets for help on using tickets.