[Kmymoney-devel] [kmymoney4] [Bug 335129] Wrong account ordering at home page

Christian David christian-david at web.de
Thu May 29 09:18:24 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=335129

Christian David <christian-david at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian-david at web.de

--- Comment #6 from Christian David <christian-david at web.de> ---
(In reply to comment #5)
> I was about to file a similar bug based on a mailing list request some weeks
> ago, but I'm not sure if it's the same issue.  This bug referred to usign
> non-ASCII characters, but my case is completely within US English, so locale
> should not be an issue.  On the accounts page, the order is "Checking One"
> "CHECKING ONE" "CHECKING TWO" but on the home page, it is "CHECKING ONE"
> "CHECKING TWO" "Checking One".
your problem should be caused by the compare method as well. As in non-local
aware comparison only the ASCII (or UTF-8) values are compared and so any
lowercase letter is behind all uppercase letters ( ddg.gg/?q=ascii+table ).

Btw: you should always use local aware comparison where the user expects a
human sorting method, also in english-only texts. This ensures correct sorting
of special chars as well (plain ASCII sort would generate this list: "!6;A]z}",
but no human would expect that).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list