[Task Manager] Load only icons in tooltip that we end up showing
ClosedPublic

Authored by broulik on Feb 8 2018, 8:24 AM.

Details

Summary

Only launchers show the window icon, don't load it for other windows.
Only when minimized we show the fallback icon, don't load it for non-minimized windows.

Test Plan

I was investigating cases in which IconItem was loading icons while not being visible, found this.

  • Launcher tooltip still has icon
  • Minimized window still has icon

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