Bug 136196 - Artists sorted in wrong order after adding an artist starting with "Æ" (AE)
Summary: Artists sorted in wrong order after adding an artist starting with "Æ" (AE)
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: 1.4.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 19:50 UTC by Bjørn
Modified: 2008-08-04 17:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (21.68 KB, image/png)
2006-10-23 19:54 UTC, Bjørn
Details
Screenshot (4.95 KB, image/png)
2006-10-28 00:03 UTC, Bjørn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjørn 2006-10-23 19:50:29 UTC
Version:           1.4.3 (using KDE KDE 3.5.4)
Installed from:    Fedora RPMs
OS:                Linux

After adding an artist named "Æt" (AEt) the Artist Browser looks like:

 :
 :
----- A ---- Divider
Abba
ABC
According To Philip
Adam Clayton & Dave Mullen
----- Æ ---- Divider
Aerosmith
Æt
A-Ha
Alexander O'Neal
 :
 :
Comment 1 Bjørn 2006-10-23 19:54:35 UTC
Created attachment 18235 [details]
Screenshot
Comment 2 Martin Aumueller 2006-10-23 21:05:51 UTC
The sorting seems to be perfectly reasonable to me, however the divider should not be displayed.
Comment 3 Bjørn 2006-10-23 22:11:55 UTC
I can live with the sorting, even though the letter Æ is one of the last three letters in the Norwegian alphabet.

ABC....XYZÆØÅ
Comment 4 Alexandre Oliveira 2006-10-27 22:48:03 UTC
Bjørn, we're using QString::localeAwareCompare() to sort, maybe it special cases this char regardless of the locale, I don't really know.
In Portuguese we don't use it at all, but it seems to sort it after "AA", but before "AI". It breaks the algo we use to handle the headers, so I'll guess it'll have to wait for the longing refactor of Collection Browser.
Comment 5 Bjørn 2006-10-28 00:02:11 UTC
I'm using locale en_US.UTF-8:

[kkc@d510 ~]$ locale
LANG=en_US.UTF-8

If I change locale to "no", Amarok sorts as expected. See screenshot.

I don't want to use "no" as the default locale.
I can, however, start Amarok with '(export LANG=no;amarok)&' to get sorting right.
Comment 6 Bjørn 2006-10-28 00:03:06 UTC
Created attachment 18293 [details]
Screenshot
Comment 7 Alexandre Oliveira 2006-10-28 00:28:21 UTC
You can set LC_COLLATE. It will affect only sorting, where appropriated.
Comment 8 Edward Hades 2008-06-15 17:11:39 UTC
This bug will be closed due to lack of reporter feedback.
Comment 9 Myriam Schweingruber 2008-08-04 17:13:45 UTC
Closed due to lack of feedback.
Feel free to report any bug you should come across in Amarok 2.0