Skip to content

Conversation

@AbhishekGiri04
Copy link

Summary

Fixes tab row losing acrylic material when window is unfocused, even when "Allow acrylic material in unfocused windows" is enabled.

References

Fixes #19544

Changes

Modified _updateThemeColors() in TerminalPage.cpp to check both window focus state and EnableUnfocusedAcrylic setting.

Testing

  • Verified acrylic persists when window loses focus (with setting enabled)
  • Verified acrylic removed when setting disabled (expected behavior)
This commit fixes the issue where the tab row loses its acrylic material
when the window loses focus, even when 'Allow acrylic material in unfocused
windows' setting is enabled.

The fix modifies the _updateThemeColors() function in TerminalPage.cpp to
check both the UseAcrylicInTabRow setting AND the window focus state along
with the EnableUnfocusedAcrylic setting. Now the tab row will maintain its
acrylic effect when:
1. UseAcrylicInTabRow is enabled, AND
2. Either the window is focused OR EnableUnfocusedAcrylic is enabled

This ensures that the 'Allow acrylic material in unfocused windows' setting
is properly respected for the tab row, not just the terminal background.

Fixes microsoft#19544
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant