Skip to content

qt,macos: improve advanced prefs tree node sort order

Lyndon Brown requested to merge jnqnfe/vlc:prefs5 into master
  1. Implements alphabetical sorting of subcat and plugin tree nodes for macos, to mirror what is done in Qt.
  2. Implements a fixed preferred order for root category nodes.

Reviewers, please note that the macos side was written blind. It compiles, but I have no apple device to view the result. Please can someone with an apple device check the result works as intended.

The commit logs as always give their own explanation, but essentially I've always felt, from my experience using the Qt interface which implements alphabetical sorting, that it is ugly that the first node in the tree and thus the first you see upon switching to "all"/advanced/complete view, is the "advanced" category, which is one of the most messy in terms of organisation, probably the one users are least interested in, and with it's "advanced setting, use with care" warning, has potential to scare users away.

The new order is:

  1. Playlist
  2. Interface
  3. Audio
  4. Video
  5. Input / Codecs
  6. Sout
  7. Advanced

Screenshots follow.

Old: prefs_sort_old New: prefs_sort_new

Merge request reports

Loading