I don't know how that happened, but all of a sudden the order my mail folders is totally f*cked up (e.g. the Trash folder being the very last of all folders rather than one of the special folders at the top of the folder list).
Because of this incident I realized that I don't know if and how to change the order of folders at all (apart from manually fiddling around with settings in the database).
Is there a way...?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 05/23/2014 10:33 PM, Michael Heydekamp wrote:
I don't know how that happened, but all of a sudden the order my mail folders is totally f*cked up (e.g. the Trash folder being the very last of all folders rather than one of the special folders at the top of the folder list).
Because of this incident I realized that I don't know if and how to change the order of folders at all (apart from manually fiddling around with settings in the database).
Git-master? That might be related to https://github.com/roundcube/roundcubemail/commit/693612d396ede5c7ed8dc36e79... but it works for me. What operating system? What PHP version? What UI language (locale)?
Am 25.05.2014 12:07, schrieb A.L.E.C:
On 05/23/2014 10:33 PM, Michael Heydekamp wrote:
I don't know how that happened, but all of a sudden the order my mail folders is totally f*cked up (e.g. the Trash folder being the very last of all folders rather than one of the special folders at the top of the folder list).
Because of this incident I realized that I don't know if and how to change the order of folders at all (apart from manually fiddling around with settings in the database).
Git-master?
Sure.
That might be related to https://github.com/roundcube/roundcubemail/commit/693612d396ede5c7ed8dc36e79... but it works for me. What operating system? What PHP version? What UI language (locale)?
Gentoo Linux PHP 5.4.9 (cli) (built: Nov 23 2012 14:04:22) LANG=de_DE.ISO8859-1 LC_ALL=de_DE.ISO8859-1
Does that help...?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 05/26/2014 10:31 PM, Michael Heydekamp wrote:
Gentoo Linux PHP 5.4.9 (cli) (built: Nov 23 2012 14:04:22) LANG=de_DE.ISO8859-1 LC_ALL=de_DE.ISO8859-1
Not really. What language in Roundcube UI? Do you have de_DE.utf8 locale in your system?
Am 27.05.2014 08:06, schrieb A.L.E.C:
On 05/26/2014 10:31 PM, Michael Heydekamp wrote:
Gentoo Linux PHP 5.4.9 (cli) (built: Nov 23 2012 14:04:22) LANG=de_DE.ISO8859-1 LC_ALL=de_DE.ISO8859-1
Not really. What language in Roundcube UI? Do you have de_DE.utf8 locale in your system?
Which information/setting exactly do you need...?
My personal language in Roundcube UI is German, of course. The domainFACTORY server does currently not support a UTF8 locale. That's why you see "de_DE.ISO8859-1" above.
But all characters used in my folder names are within 8859-1.
Anyway, never had problems with this before...
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 05/27/2014 08:54 PM, Michael Heydekamp wrote:
My personal language in Roundcube UI is German, of course. The domainFACTORY server does currently not support a UTF8 locale. That's why you see "de_DE.ISO8859-1" above.
But all characters used in my folder names are within 8859-1.
I'm not sure now it's related to locale, as the special folders should be on top anyway. The only thing I can propose is to add some console($var) calls in sort_folder_list() method of rcube_imap class to find at which point the sorting is broken.
On 05/28/2014 08:46 AM, A.L.E.C wrote:
I'm not sure now it's related to locale, as the special folders should be on top anyway. The only thing I can propose is to add some console($var) calls in sort_folder_list() method of rcube_imap class to find at which point the sorting is broken.
Check with this fix https://github.com/roundcube/roundcubemail/commit/20ef295ba8ff0e9fce57ee24dd...
Am 28.05.2014 09:07, schrieb A.L.E.C:
On 05/28/2014 08:46 AM, A.L.E.C wrote:
I'm not sure now it's related to locale, as the special folders should be on top anyway. The only thing I can propose is to add some console($var) calls in sort_folder_list() method of rcube_imap class to find at which point the sorting is broken.
Check with this fix https://github.com/roundcube/roundcubemail/commit/20ef295ba8ff0e9fce57ee24dd...
Not sure what it should do exactly. Should the folders get re-sorted automatically?
If so, that's not the case. The cluttered sorting is still the same.
Anyway, why does RC touch any sorting at all? I remember that we had defined a default sorting for the special folders for all of our users in the main config a while ago, which was then being written to the database upon creating a new user. At least this is how I remember it.
This sorting should be kept no matter what, shouldn't it?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 06/01/2014 12:03 AM, Michael Heydekamp wrote:
Anyway, why does RC touch any sorting at all? I remember that we had defined a default sorting for the special folders for all of our users in the main config a while ago, which was then being written to the database upon creating a new user. At least this is how I remember it.
IMAP servers do not return sorted list. Especially if you take hierarchy and unicode into account. That's why re-sorting is needed.
As for the special folders. Their order is hardcoded and should be always the same. If you were able to set their order in previous versions, it wasn't intentional and is not possible now. We removed default_folders option.
Still, special folders should be on top of the list in following order: Inbox, Drafts, Sent, Junk, Trash.
Am 01.06.2014 14:22, schrieb A.L.E.C:
On 06/01/2014 12:03 AM, Michael Heydekamp wrote:
Anyway, why does RC touch any sorting at all? I remember that we had defined a default sorting for the special folders for all of our users in the main config a while ago, which was then being written to the database upon creating a new user. At least this is how I remember it.
IMAP servers do not return sorted list. Especially if you take hierarchy and unicode into account. That's why re-sorting is needed.
Hmm. Wouldn't that be a perfect reason to leave the order up to the user (which we'd prefer anyway)?
As for the special folders. Their order is hardcoded and should be always the same. If you were able to set their order in previous versions, it wasn't intentional and is not possible now. We removed default_folders option.
I didn't know that. Why did you do that? Did I miss an announcement and/or discussion about it? I'd definitely would like to have the Draft folder below the Sent folder, for instance. And I had that order for years, and never had a problem with it.
Still, special folders should be on top of the list in following order: Inbox, Drafts, Sent, Junk, Trash.
Well, it should, but is still not the case.
See screenshot attached (where "Posteingang" = Inbox, "Entwürfe" = Draft, "Spam" = Junk, "Gesendet" = Sent, and "Gelöscht" = Trash). All marked in yellow.
You BTW missed to answer my question what exactly should have happened after your fix - automatic reordering, or was/is there any action on our part being required?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 06/01/2014 10:36 PM, Michael Heydekamp wrote:
I didn't know that. Why did you do that? Did I miss an announcement and/or discussion about it?
It was just redundant.
See screenshot attached (where "Posteingang" = Inbox, "Entwürfe" = Draft, "Spam" = Junk, "Gesendet" = Sent, and "Gelöscht" = Trash). All marked in yellow.
Could you provide also IMAP LSUB command response?
You BTW missed to answer my question what exactly should have happened after your fix - automatic reordering, or was/is there any action on our part being required?
That was just a guess that it could help because I really don't know where's the problem.
Am 02.06.2014 08:14, schrieb A.L.E.C:
On 06/01/2014 10:36 PM, Michael Heydekamp wrote:
See screenshot attached (where "Posteingang" = Inbox, "Entwürfe" = Draft, "Spam" = Junk, "Gesendet" = Sent, and "Gelöscht" = Trash). All marked in yellow.
Could you provide also IMAP LSUB command response?
I wouldn't know how to do that on our managed domainFACTORY server. Any hint?
You BTW missed to answer my question what exactly should have happened after your fix - automatic reordering, or was/is there any action on our part being required?
That was just a guess that it could help because I really don't know where's the problem.
A possible cause which just came to my mind:
All special folders here are named this way:
INBOX (= Inbox) INBOX.Sent (= Sent) etc. ...
Does that help...?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 06/03/2014 08:16 PM, Michael Heydekamp wrote:
All special folders here are named this way:
INBOX (= Inbox) INBOX.Sent (= Sent) etc. ...
That's it. Should be fixed in git now.
Am 04.06.2014 10:45, schrieb A.L.E.C:
On 06/03/2014 08:16 PM, Michael Heydekamp wrote:
All special folders here are named this way:
INBOX (= Inbox) INBOX.Sent (= Sent) etc. ...
That's it. Should be fixed in git now.
I'll see it later this evening (after our git-pull) and will report. I'm surprised that apparently nobody else did hit this problem yet.
But again: Why has the default_folders option being removed which worked without any problems before? I want to have "Sent" below "INBOX".
And apart from that, it would be pretty convenient to be able to customize the sorting of ALL folders. But that's a different issue, I believe (right?).
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
Am 04.06.2014 20:21, schrieb Michael Heydekamp:
Am 04.06.2014 10:45, schrieb A.L.E.C:
On 06/03/2014 08:16 PM, Michael Heydekamp wrote:
All special folders here are named this way:
INBOX (= Inbox) INBOX.Sent (= Sent) etc. ...
That's it. Should be fixed in git now.
I'll see it later this evening (after our git-pull) and will report. I'm surprised that apparently nobody else did hit this problem yet.
I can confirm that the special folders are now sorted correctly again. :) Thanks for fixing.
But again: Why has the default_folders option being removed which worked without any problems before? I want to have "Sent" below "INBOX".
And apart from that, it would be pretty convenient to be able to customize the sorting of ALL folders. But that's a different issue, I believe (right?).
These two things I'd still like to know.
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany