broulik created this revision. broulik added reviewers: Plasma, hein. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY Task Manager occasionally re-uses task manager delegates, so the launcher URL can change during the lifetime of the object. I already take care of this by resetting the storageId but I did not clear any badge or progress we might still have, leading to wrong or random apps showing a badge that won't go away. TEST PLAN I made an app that listens for Unity service to be registered and send its badge info once it's there. Without this patch I would end up with two apps showing the badge, with this patch it's only the right one REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D9839 AFFECTED FILES applets/taskmanager/plugin/smartlaunchers/smartlauncheritem.cpp To: broulik, #plasma, hein Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart