Bug 178755

Summary: categories list does NOT sort alphabetically
Product: [Applications] korganizer Reporter: Wolfram R. Sieber <Wolfram.R.Sieber>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wolfram R. Sieber 2008-12-25 17:43:19 UTC
Version:           3.5.9 (using 3.5.10, Debian Package 4:3.5.10.dfsg.1-0lenny1 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.26-1-686

Categories list dialog of the appointment dialog _tries_ to get sorted alphabetically.

However, lower-case letters get sorted after upper-case ones.
Comment 1 FiNeX 2008-12-25 21:09:50 UTC
Bug confirmed in KDE4 too. (tested using current trunk r901488)
Comment 2 Wolfram R. Sieber 2008-12-30 00:44:06 UTC
Not sure what exactly happened, by I was glad to see this fixed so soon -- and to have the update yet in my Debian packages, and here live on my box. But -- this bug got not closed, and the Debian package still reports the very version number I originally reported.

However, now the lower-case letters -- esp. labels with a heading lowercase letter -- get sorted to their respective places.

Not sure, what exactly happened here, _if_ this is in fact still the same version of korganizer as I  reported originally. Might be the dis-order happens under certain circumstances only. I'll keep an eye on this and may note here any clues I get.


However, one follow-up on this: Despite the originally mentioned dialog now orders the labels alphabetically, independently of case, in the global options dialog (Pull down menu > Options > Configure), in the colors section, where you can assign colors to certain categories, the category labels' order still gets messed up, lower-case going past upper-case ones. Shall I open a separate bug report for that or would you like to fix it together?
Comment 3 FiNeX 2008-12-30 11:15:45 UTC
Please open a separate bug repot.
Comment 4 Wolfram R. Sieber 2008-12-30 15:27:47 UTC
The follow-up is now reported as bug #179145.
Comment 5 Sergio Martins 2009-02-21 22:38:32 UTC
SVN commit 929684 by smartins:

Do case insensitive sorting instead of sensitive.
(using the QMap method provided in qtalgorithms.html#qSort)

BUG: 178755


 M  +8 -1      categoryhierarchyreader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929684