On Thu, 04 Jun 2009 19:08:01 +0200, "A.L.E.C" alec@alec.pl wrote:
This option causes many problems. I like to get rid of it. What you think? There are related issues here and there, and it will be hard to fix them all if we need to live with this option.
Despite the performance hit, I think the intuitive behavior is for RoundCube to skip messages that are flagged as deleted whether the user is listing, browsing, paging, etc. through a folder. That's the purpose of that IMAP flag, to allow mail clients to know that a message has been deleted (and not yet purged) and should not be displayed.
Removing this option will be of course a fine performance improvement. E.g. next/prev buttons in message page are not skip_deleted aware. Fixing this will require to add SEARCH/SORT ALL UNDELETED call with result sorting. There are related issues in searching and caching:
The performance improvement is setting skip_deleted to false. :) If an administrator sets it to true, they're doing it consciously knowing that the message display performance is impacted.