Files not sorted according to locale in folder browsing mode

Bug #650908 reported by Mikkel Kamstrup Erlandsen
6
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().

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Fixed in lp:unity-place-files revision 114:

------------------------------------------------------------
revno: 114
fixes bug(s): https://launchpad.net/bugs/650908
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.
------------------------------------------------------------

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
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-place-files - 0.5.32-0ubuntu1

---------------
unity-place-files (0.5.32-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Don't show .hidden or backup~ files in the Downloads group (LP: #649219)
    - Fix files place not reset after folder browsing mode (LP: #649598)
    - Fix unable to activate root section of pathbar in folder browsing mode
      (LP: #650897)
    - Fix files not sorted according to locale in folder browsing mode
      (LP: #650908)
    - Fix Files place is slow to come up and dismiss (LP: #652840)
 -- Didier Roche <email address hidden> Fri, 01 Oct 2010 13:42:34 +0200

Changed in unity-place-files (Ubuntu):
status: New → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.