Bug 51540 - LC_COLLATE=cs causes inbox, trash,sent-mail etc. to be at the END of folder tree
Summary: LC_COLLATE=cs causes inbox, trash,sent-mail etc. to be at the END of folder tree
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-05 17:44 UTC by Ladislav Strojil
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Strojil 2002-12-05 17:44:12 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

Hi,

using KMail in Czech enviroment (namely LC_COLLATE=cs) causes the "system folders" to be put last in the folder list, not first as with English. 
It does not depend on language chosen (even with English and LC_COLLATE=cs is sorts badly).
I suspect similar bug has been already reported but I could not find it.
I am using KDE_3_1_BRANCH.

Cheers,
Lada
Comment 1 Stephan Kulow 2003-09-27 10:47:41 UTC
I can't reproduce it, but either if I could: COLLATE changes the sorting behaviour 
of apps. that's the whole point of it. The suprising fact is just that strcoll sorts with 
strcmp in C locale 
Comment 2 Ingo Klöcker 2003-09-29 20:31:34 UTC
With LC_COLLATE=de_DE a folder names 00test is sorted before the Inbox folder. 
Furthermore I can reproduce the problem with cs_CZ. 
Comment 3 Ingo Klöcker 2003-09-29 20:32:55 UTC
In order to fix this we have to overwrite QListView::compare instead of QListView::key in 
libkdenetwork/kfoldertree. 
Comment 4 Ingo Klöcker 2003-09-29 21:50:40 UTC
Fixed for KDE 3.2.