Files not sorted according to locale in folder browsing mode
Bug #650908 reported by
Mikkel Kamstrup Erlandsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-place-files (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When you're in folder browsing mode the files are not sorted correctly according to you current locale. Ie. 'éléphant.txt' should come directly after 'elephant.txt', but before 'tiger.txt'. Currently it doesn't.
The reason is that we only set LC_MESSAGES and not LC_ALL in the setlocale() call in the beginning on main().
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
status: | New → Fix Committed |
Changed in unity: | |
milestone: | none → 2010-09-27 |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
Fixed in lp:unity-place-files revision 114:
------- ------- ------- ------- ------- ------- ------- ------- ---- /launchpad. net/bugs/ 650908
revno: 114
fixes bug(s): https:/
committer: Mikkel Kamstrup Erlandsen <email address hidden>
branch nick: MASTER
timestamp: Wed 2010-09-29 10:07:36 +0200
message:
Fix bug #650908 "Files not sorted according to locale in folder browsing mode".
We where only setting LC_MESSAGES and not LC_ALL in the setlocale() call in the beginning on main(). LC_ALL is required to also set LC_COLLATE to make the glib sorting routines do The Right Thing. ------- ------- ------- ------- ------- ------- ------- ----
-------