Opened 4 years ago

Closed 4 years ago

#1486905 closed Feature Requests (fixed)

Empty messages list on servers with disabled THREAD command

Reported by: SKaero Owned by:
Priority: 4 Milestone: 0.5-beta
Component: Core functionality Version: 0.4-stable
Severity: normal Keywords: threads
Cc:

Description

Currently if a mail server doesn't support or allow threads when you set it to view threads it shows the message "No messages found in this mailbox" and doesn't show any emails witch is a little misleading. It would be better to just show a message that says its not supported and not switch to the threads view.

Change History (6)

comment:1 Changed 4 years ago by alec

I don't see a possibility to set threading on server that doesn't support it. COuld you provide steps to reproduce or imap debug informations?

comment:2 Changed 4 years ago by SKaero

comment:3 Changed 4 years ago by alec

Courier-IMAP has such option
{{{##NAME: IMAP_DISABLETHREADSORT:0
#
# Set IMAP_DISABLETHREADSORT to disable the THREAD and SORT commands -
# server side sorting and threading.
#
# Those capabilities will still be advertised, but the server will reject
# them. Set this option if you want to disable all the extra load from
# server-side threading and sorting. Not advertising those capabilities
# will simply result in the clients reading the entire folder, and sorting
# it on the client side. That will still put some load on the server.
# advertising these capabilities, but rejecting the commands, will stop this
# silliness.
#
}}}
So, should we be smarter than Courier authors and fallback to FETCH if THREAD/SORT is disabled? Related ticket #1486959 contains solution for disabled SORT.

comment:4 Changed 4 years ago by SKaero

Yes I think that would do the job nicely, although it would be nice to have a message to tell the user why there is no threads but I understand that that could be hard to accomplish.

comment:5 Changed 4 years ago by alec

  • Component changed from User Interface to Core functionality
  • Summary changed from Message for servers that don't support threads to Empty messages list on servers with disabled THREAD command

comment:6 Changed 4 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2d1d68bc]. In this case error message is displayed.

Note: See TracTickets for help on using tickets.