Feature #1155

Tags should be sorted alphabetically

Added by Joel Palmius almost 2 years ago. Updated almost 2 years ago.

Status:NewStart date:03/21/2017
Priority:NormalDue date:
Assignee:Joel Palmius% Done:

0%

Category:MakeHuman GUI
Target version:MakeHuman 1.1.2

Description

Currently the tags for the filter in clothes appear in random order. Would be better if they were sorted alphabetically.

History

#1 Updated by Aranuvir # almost 2 years ago

Fixed in my Python3 branch, though the solution might slow down proxy loading, since it removes all tag widgets for each new tag, and reapplies them after sorting.

#2 Updated by Jonas Hauquier almost 2 years ago

Aranuvir (Moderator) wrote:

though the solution might slow down proxy loading, since it removes all tag widgets for each new tag, and reapplies them after sorting.

That doesn't sound like a very good solution, indeed.

#3 Updated by Aranuvir # almost 2 years ago

Which makes me curious about better solutions, without rewriting the whole filechooser.

#4 Updated by Jonas Hauquier almost 2 years ago

Probably (without looking at the code for a fresh-up) a 2-stage approach, where multiple modifications need to be followed by a finalize() call which updates the gui once.
And if needed a better MVC separation (state is not stored as a gui, so that gui can be rebuilt more easily from model)

Also available in: Atom