Bug 290379 - Umlauts are sorted incorrectly in the sender identity configuration table.
Summary: Umlauts are sorted incorrectly in the sender identity configuration table.
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: config dialog (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 10:48 UTC by Gunter Ohrner
Modified: 2012-06-22 22:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing kMails identity list. (52.93 KB, image/png)
2012-01-12 18:47 UTC, Gunter Ohrner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunter Ohrner 2012-01-02 10:48:10 UTC
Version:           4.7 (using Devel) 
OS:                Linux

Sorting in at least the following table does not respect the current locale's collation rules:

Settings -> Configure kMail -> Identities

if sorted by identity name, umlaut will be sorted after plain letters, ie. "Öcher" will be sorted after eg. "Web", while in the German locale it would be correct to sort "Öcher" as if it would start with the letters "Oe". (So it should be sorted between "Oasis" and "Ohrner".)

Reproducible: Always

Steps to Reproduce:
Add umlauts to the name of an identity profile.

Actual Results:  
Umlauts will be sorted after any plain letter.

Expected Results:  
Umlauts should be sorted according to the current locale's rules.

I've not yet checked if there are other affected tables / lists.
Comment 1 Laurent Montel 2012-01-12 08:52:36 UTC
Will look at it
Comment 2 Laurent Montel 2012-01-12 12:24:14 UTC
it works fine here.
Perhaps your local system is not in german
Comment 3 Gunter Ohrner 2012-01-12 18:47:04 UTC
Created attachment 67746 [details]
Screenshot showing kMails identity list.

It is, as far as I can tell. It's no UTF8-system, however, but using Latin9/ISO-8859-15. Maybe this plays a role?

gunter@Zweiblum:~# echo $LANG                                                                                    
de_DE@euro                                                                                                     
gunter@Zweiblum:~# cat /var/lib/locales/supported.d/local                                                        
de_DE.UTF-8 UTF-8                                                                                              
en_US.UTF-8 UTF-8                                                                                              
de_DE@euro ISO-8859-15
Comment 4 Laurent Montel 2012-01-13 09:20:42 UTC
Don't know how qt works with locale but I think that it's a problem with locale+sort.
Comment 5 Bernd Oliver Sünderhauf 2012-06-22 10:58:37 UTC
Works fine here on a German language system. So yes this shouldn't be a kmail-specific problem.
@Gunter: Can you still reproduce it? If yes, can you reproduce it in other sorting contexts?
Comment 6 Gunter Ohrner 2012-06-22 22:36:30 UTC
I just checked, and this problem seems to be gone.

However, I've not idea when and how it got fixed... I'm still running Kubuntu 11.10, yet with KDE 4.8.2 packages from KDE ppa and the QT-packages are listed with a "4:4.8.1" version number.