My try at ordered system try heavily inspired by D11233.
Features (and problems):
- the main intention was to keep code as simple as possible
- items can be reordered by drag & drop and removed from config by dragging into trash bin
- item list is by design loaded only at opening settings dialog (doing on-the-fly updates seems complicated for very little gain)
- new items are added at right end of systray and remeber their position (so the first start the order will be random but on subsequent starts the order will remain the same, any solutions? I tried patch proposed in B383828 and after closing setting it does not crash anymore but systray goes crazy -- applets no longer react to clicking)
- all this is backed by only one new config option itemOrder of type StringList
- items currently not existent are displayed in italics (and without icon because there is nowhere to get it)
- now also all status notifier items are always in italics because I removed using statusNotifierModel from setting which solves crash after closing setting (and ugly > crash)
- contains an ugly hack to workaround ComboBox'es going crazy when TableView model is changed (I have no clue what causes this, only than currentItem binding is not to blame)
- the drag & drop support was adapted from R884 (most notably OrderedItem.qml comes from there and was only lightly modified)
Any comments or ideas are welcome.