broulik added a comment.
> I think it's this part: > > appletsOrder["unordered"+i] = plasmoid.applets[i] My loop sorts elements that have no index last, maybe that's wrong somehow? It worked for me for when an applet isn't ordered yet but I can reproduce that adding a new "default" panel has its items wrong way round. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D3834 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, mart Cc: davidedmundson, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, andreaska, sebas