D9839: [Task Manager] Clear smart launcher data when launcher URL changes

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Jan 12 09:38:55 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180112/08394ba0/attachment-0001.html>


More information about the Plasma-devel mailing list