Skip to content

Make sure update tooltip is updated in all windows, not just focused one#304177

Merged
dmitrivMS merged 1 commit intomainfrom
dev/dmitriv/wrong-update-tooltip
Mar 23, 2026
Merged

Make sure update tooltip is updated in all windows, not just focused one#304177
dmitrivMS merged 1 commit intomainfrom
dev/dmitriv/wrong-update-tooltip

Conversation

@dmitrivMS
Copy link
Copy Markdown
Contributor

Fixes #302951

Copilot AI review requested due to automatic review settings March 23, 2026 17:28
@dmitrivMS dmitrivMS added the install-update VS Code installation and upgrade system issues label Mar 23, 2026
@dmitrivMS dmitrivMS self-assigned this Mar 23, 2026
@dmitrivMS dmitrivMS enabled auto-merge (squash) March 23, 2026 17:28
@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes stale Update title-bar tooltip content in multi-window scenarios by ensuring the tooltip state is refreshed even when the window is not the last-focused one, addressing the “Up to Date” tooltip being shown while an update is actually available.

Changes:

  • Separates the mode === 'none' early return from the focus/visibility guard.
  • Renders the tooltip state when the tooltip is visible or when the window was not last focused (instead of returning without updating).
  • Keeps auto-show tooltip behavior gated to the last-focused window.

@dmitrivMS dmitrivMS merged commit 1771717 into main Mar 23, 2026
23 checks passed
@dmitrivMS dmitrivMS deleted the dev/dmitriv/wrong-update-tooltip branch March 23, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

install-update VS Code installation and upgrade system issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title bar update widget told me I was up to date but there was an update available

3 participants