[Task Manager] Only match application name if we never managed to match PID
ClosedPublic

Authored by broulik on Jan 9 2017, 8:59 AM.

Details

Summary

When there are two instances of the same application running, one playing audio and the other one not, it will errneously show an indicator on both applications: for the playing one it will find a PID but for the other one it won't and then try appName matching which will then result in the same stream.

Test Plan

I get two instances of VLC showing audio indicator individually

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 9897.Jan 9 2017, 8:59 AM
broulik retitled this revision from to [Task Manager] Only match application name if we never managed to match PID.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, hein, romangg.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 9 2017, 8:59 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg accepted this revision.Jan 9 2017, 9:55 AM
romangg edited edge metadata.
This revision is now accepted and ready to land.Jan 9 2017, 9:55 AM
This revision was automatically updated to reflect the committed changes.