xuetianweng created this revision. xuetianweng added reviewers: Plasma, davidedmundson. Restricted Application added a project: Plasma.
REVISION SUMMARY Right now, new Action always appends to the list, but application may want to add new action in the middle of the menu. This breaks such application with dynamic menu entries. This change tries to keep the order of actions same as the order in dbus request. TEST PLAN Manually tested the brokened menu in certain applications. REPOSITORY R120 Plasma Workspace BRANCH Plasma/5.11 REVISION DETAIL https://phabricator.kde.org/D8585 AFFECTED FILES libdbusmenuqt/dbusmenuimporter.cpp To: xuetianweng, #plasma, davidedmundson Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart