You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modern UI - Connected Tabs hover background alignment discrepancy #338948
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.140.0
OS Version: Windows 11 Pro 25H2 (build 26200.9457)
There appears to be an extra misaligned background for tabs' close buttons that appears when the tab is hovered and the tab hover background is semi-transparent.
Verified on macOS 26.7.1 arm64 using VS Code Insiders 1.142.0-insider (ff00e788322523ee1e9e8ee2c9bb4b89af93a3c2).
I followed the reported steps in an isolated profile: Light 2026 with "modernTab.hoverBackground": "#0002", Modern UI with Connected tabs, two open editors, and the pointer over the inactive last tab next to empty tab-bar space. I measured the rendered pixels across the hovered tab and the strip beside it, and ran the same scenario on VS Code 1.141.0 Stable as a pre-fix baseline.
Verified:
The hovered inactive tab shows the semi-transparent #0002 hover fill and reveals its close button
The close-button container no longer paints its own copy of the hover color
The fill behind the close button matches the rest of the hovered tab
No extra paint appears beside the tab or in the gap above the fill
Results:
1.141.0 Stable reproduces the bug: the close-button container paints rgba(0, 0, 0, 0.13) on top of the tab's identical hover fill, leaving a box 26 RGB levels darker behind the close button
Insiders: the close-button container is transparent, and the fill behind the close button matches the rest of the fill exactly (difference 0)
The strip beside the tab and the gap above the fill match the empty strip (difference 0)
The extra background behind the close button no longer reproduces in current Insiders.
Activity
anthonykim1 commentedon Oct 12, 2026
Verified on macOS 26.7.1 arm64 using VS Code Insiders 1.142.0-insider (
ff00e788322523ee1e9e8ee2c9bb4b89af93a3c2).I followed the reported steps in an isolated profile: Light 2026 with
"modernTab.hoverBackground": "#0002", Modern UI with Connected tabs, two open editors, and the pointer over the inactive last tab next to empty tab-bar space. I measured the rendered pixels across the hovered tab and the strip beside it, and ran the same scenario on VS Code 1.141.0 Stable as a pre-fix baseline.Verified:
#0002hover fill and reveals its close buttonResults:
rgba(0, 0, 0, 0.13)on top of the tab's identical hover fill, leaving a box 26 RGB levels darker behind the close buttonThe extra background behind the close button no longer reproduces in current Insiders.