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

Bug #1667067 reported by kaputtnik on 2017-02-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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:

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.

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers