Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

entries in tools menu should not get shuffled #410

Closed mfrasca closed 6 years ago

mfrasca commented 6 years ago

As a user working sometimes in one language, sometimes in an other, I want to find items in the menus always at the same place, regardless the language, so that I do not need to carefully read but just casually check. Isolated tools are fine, it's the categories that get sorted in alphabetic order after translation, while they should be ordered logically.

Expected behaviour

I want the categories in tools menu in this order:

Actual behaviour

the order is now dependent on the language, and even in English it makes little sense to me.

Opinions and suggestions

I guess an option could be to add a priority field to the categories. top menu items and inner menu items do not need this, because they go into a list, and its order is kept when the menus are built. separators would be added whenever a priority passes the "hundreds" threshold. so the above example could be generated from these priorities: