[Task Manager] Don't delay audio indicator when task appears
ClosedPublic

Authored by broulik on Feb 15 2018, 12:25 PM.

Details

Summary

When the task appears in Task Manager and is already playing audio, show the indicator right away. There's no distraction from that since the task as a whole appears. Only when the audio stream appears during the lifetime of a task, it is delayed to avoid distractions by short sound effects.

BUG: 390502
FIXED-IN: 5.13.0

Test Plan

Started a video in VLC, indicator was delayed, switched desktop, VLC was gone, switched back, VLC reappeared and had its indiator right away.
Started a video in the browser, opened a new window, new window had its indicator right away.
Verified the same for minimizing when "only show minimized windows" is enabled
Verified that indicator in popup is still instant

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 created this revision.Feb 15 2018, 12:25 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 15 2018, 12:25 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Feb 15 2018, 12:25 PM
hein accepted this revision.Feb 15 2018, 12:27 PM
This revision is now accepted and ready to land.Feb 15 2018, 12:27 PM
This revision was automatically updated to reflect the committed changes.