Opened 9 years ago

Closed 18 months ago

Last modified 3 months 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 6 years ago.
New version with global collator

Download all attachments as: .zip

Change History (12)

comment:1 by starsseed, 9 years ago

Cc: starsseed@… added

comment:2 by pulkomandy, 6 years ago

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

comment:3 by 0xffea, 6 years ago

patch: 01

comment:4 by pulkomandy, 6 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, 6 years ago

New version with global collator

comment:5 by 0xffea, 6 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, 6 years ago

Keywords: gsoc2014 added

comment:7 by jscipione, 4 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, 3 years ago

patch: 10

Marking patch as obsolete because it is already applied. Leaving open because of NaturalCompare as mentionned above.

Last edited 3 years ago by pulkomandy (previous) (diff)

comment:9 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:10 by waddlesplash, 18 months ago

Resolution: fixed
Status: assignedclosed

NaturalCompare is now locale-aware.

comment:11 by nielx, 3 months 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.