Customized title caption buttons not retaining inactive styling #8228
Labels
area-TitleBar
Issues related to custom window title bars.
bug
Something isn't working
team-Reach
Issue for the Reach team
Describe the bug
In my WinUI 3 app, I have a fully customized title bar. If I click away from the window, the foreground for the caption buttons fades as expected. When moused over while the window is still inactive, the background/foreground changes as expected, but when moving the mouse away again, the foreground returns to the active brush instead of reverting back to the inactive brush, even though the window is still inactive.
Steps to reproduce the bug
This can also be seen in the WinUI 3 Gallery App:
Expected behavior
On an inactive window, the caption buttons should return to inactive styling if moused over and then moused away from (assuming the window hasn't otherwise been made active).
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.3: 1.2.230118.102
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: