Applications should be Unicode-sorted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Mikkel Kamstrup Erlandsen | ||
unity-lens-applications |
Fix Released
|
Medium
|
Mikkel Kamstrup Erlandsen | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-place-applications (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: unity-place-
It appears that applications are currently sorted by code-point comparisons (i.e. the numeric Unicode value is higher or lower). But this isn't the Right Way to sort Unicode strings.
For example, see the attached screenshot. Where "Déjà Dup Backup Utility" comes after "Dogtail Recorder".
The Right Way way of sorting Unicode strings is according to the UCA: http://
There is a library, libicu that includes methods for sorting strings.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: unity-place-
ProcVersionSign
Uname: Linux 2.6.35-17-generic i686
NonfreeKernelMo
Architecture: i386
Date: Sat Aug 21 01:29:42 2010
EcryptfsInUse: Yes
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: unity-place-
Changed in unity-place-applications (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in unity-place-applications: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
We are purely relying on the unicode sorting libxapian provides right
now. I had actually expected that it would be correct, but evidently
not.
I'll look into if xapian has some magical switches to do correct
locale based collation, but if it's not built in I fear this may be
non-trivial to fix in a performant way.