Opened 13 years ago

Closed 5 years ago

Last modified 4 years ago

#7712 closed bug (fixed)

Deskbar item sorting is not locale-sensitive (easy)

Reported by: pulkomandy Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Applications/Deskbar Version: R1/Development
Keywords: gsoc2014 Cc: starsseed@…
Blocked By: Blocking:
Platform: All

Description

It is now possible to have localized app names in deskbar and tracker.

The french name for StyledEdit is "éditeur stylé", it should be sorted somewhere around the E letter, between "Décompresseur" (Expander) and "Gestionnaire de disques" (DriveSetup). Currently, it's listed after Wonderbrush.

Use the locale kit locale-aware sorting to make this better.

Attachments (1)

0001-Fix-7712-Deskbar-item-sorting-is-not-locale-sensitiv.patch (3.3 KB ) - added by 0xffea 10 years ago.
New version with global collator

Download all attachments as: .zip

Change History (12)

comment:1 by starsseed, 13 years ago

Cc: starsseed@… added

comment:2 by pulkomandy, 10 years ago

Keywords: easy removed
Summary: Deskbar item sorting is not locale-sensitiveDeskbar item sorting is not locale-sensitive (easy)

comment:3 by 0xffea, 10 years ago

patch: 01

comment:4 by pulkomandy, 10 years ago

Creating a BCollator is an expansive operation (it loads data from disk to configure it to the current locale). So, it should be done only once, and kept for the whole lifetime of the TExpandoMenuBar.

by 0xffea, 10 years ago

New version with global collator

comment:5 by 0xffea, 10 years ago

A locale aware version of NaturalCompare in WindowMenuItem.cpp is also needed, but that should be a new ticket.

comment:6 by mmadia, 10 years ago

Keywords: gsoc2014 added

comment:7 by jscipione, 8 years ago

App names sorted according to locale in hrev50507

We still need to make a locale-aware version of NaturalCompare before we can fully close this ticket.

comment:8 by pulkomandy, 7 years ago

patch: 10
Version 0, edited 7 years ago by pulkomandy (next)

comment:9 by axeld, 7 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:10 by waddlesplash, 5 years ago

Resolution: fixed
Status: assignedclosed

NaturalCompare is now locale-aware.

comment:11 by nielx, 4 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.