Choose map: Ordering of maps by Map name sort lowercase after uppercase start letters

Bug #1667067 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Low
Unassigned

Bug Description

Just stumbled over this by sorting maps by name with downloaded maps, because sometimes the used names are all lowercase. E.g. all maps uploaded by king_of_nowhere are all lowercase:

dolomites
fjords
to make the desert bloom

If you choose 'New game -> Choose map' and try to sort by map name, all those maps appear after the maps beginning with uppercase letters. E.g. 'dolomites' is shown after 'Wideworld' in the list.

Revision history for this message
GunChleoc (gunchleoc) wrote :

The problem is that we can't do real lexical sorting on simple strings. Our current sorting is just by character code point.

What we need to do here is to operate on the string classes provided by the ICU library. Once the work on the new font renderer is finished, we could start converting to ICU. I want to avoid too much conversion between std::strings and ICU strings and have kept this confined to the BiDi stuff so far.

tags: added: internationalization
Changed in widelands:
status: New → Triaged
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Triaged → Won't Fix
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.