[PR #2376] Only update the icon of a tab it the icon actually _changed_ #24909

Open
opened 2026-01-31 09:06:03 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2376

State: closed
Merged: Yes


Summary of the Pull Request

Only update the icon of a tab it the icon actually changed. The way we have it, we'll try and update the icon everytime focus changes, causing the tab icon to blink for a second, even when switching between two panes with the same profile.

References

While I was here, I also fixed #2329, I think accidentally. But that's cool!

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2376 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Only update the icon of a tab it the icon actually _changed_. The way we have it, we'll try and update the icon everytime focus changes, causing the tab icon to blink for a second, even when switching between two panes with the same profile. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References While I was here, I also fixed #2329, I think accidentally. But that's cool! <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] fixes #1333 * [x] Also tangentially fixes #2329 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed (please review #2294 so I can start checking this box) <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
claunia added the pull-request label 2026-01-31 09:06:03 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24909