broulik created this revision. broulik added reviewers: Plasma, hein. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY When an application got renamed by flatpak-builder without knowing it, it will still send its original value as desktop-entry breaking the mapping. If the PID of the service matches the window owner's PID imho it's fine to assume it's a match. TEST PLAN 5.16? - My spotify snap has media controls in its context menu and tooltip now - p-b-i (where the host binary doesn't match the browser window) still works for both Chrome and Firefix - VLC player still works REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D22060 AFFECTED FILES applets/taskmanager/package/contents/ui/main.qml To: broulik, #plasma, hein Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart