Hi Vladislav and all lurkers,
I have found the Bug !!!!!!!
in rcube_imap.php private function _list_headers
if ($this->sort_field != 'default' && $this->get_capability('sort') && ($msg_index = iil_C_Sort($this->conn, $mailbox, $this->sort_field, $this->skip_deleted ? 'UNDELETED' : ''))) { // nothing more to do } else { $a_index = iil_C_FetchHeaderIndex($this->conn, $mailbox, "1:*", ($this->sort_field == 'default') ? '' : $this->sort_field, $this->skip_deleted);
if (empty($a_index))
return array();
asort($a_index); // ASC
$msg_index = array_keys($a_index);
}
remove the line asort($a_index); // ASC after this will works fine.
I think the Problem are the sorting of the new in messagelist pushed messages !!
I have long time testet and debug and now i think thats the solution.
best Eric
List info: http://lists.roundcube.net/dev/
Eric Appelt wrote:
in rcube_imap.php private function _list_headers
if ($this->sort_field != 'default' &&
remove the line asort($a_index); // ASC
I didn't test thread-patch yet, but this asort() is required in current code, so please don't remove it. If I remove it list sorting doesn't working on servers without SORT capability.
Hi!
On Mon, 31 Aug 2009 13:58:01 +0200, "A.L.E.C" alec@alec.pl wrote:
Eric Appelt wrote:
in rcube_imap.php private function _list_headers
if ($this->sort_field != 'default' &&
remove the line asort($a_index); // ASC
I didn't test thread-patch yet, but this asort() is required in current code, so please don't remove it. If I remove it list sorting doesn't working
on
servers without SORT capability.
That statement is in a part of code inside of } else { //no threading ... }
I don't think it could introduce such behavior independently of threading state. I suspect that bug is somewhere else. Probably in a JS code. I didn't debug it all yet...
Vladislav
List info: http://lists.roundcube.net/dev/