Bug 51540

Summary: LC_COLLATE=cs causes inbox, trash,sent-mail etc. to be at the END of folder tree
Product: [Unmaintained] kmail Reporter: Ladislav Strojil <ladislav.strojil>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.