Icons flash for a frame when switching tabs #1333
Labels
Area-UserInterface
Issues pertaining to the user interface of the Console or Terminal
Help Wanted
We encourage anyone to jump in on these.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Every time we change the focus of a tab/pane, we attempt to update the icon and titlebar of the tab. Since we're only storing a path to the icon in memory, every time you change focus, we need to reload the icon from disk to create the
Icon
.This is obviously bad. we should instead be caching the icon once, and just updating the
Icon
with that pre-loaded one. Or at the very least, we should cache what the path to the last icon we set was, and only reload the icon if the path is different.The text was updated successfully, but these errors were encountered: