Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customized title caption buttons not retaining inactive styling #8228

Closed
oensch opened this issue Feb 27, 2023 · 3 comments
Closed

Customized title caption buttons not retaining inactive styling #8228

oensch opened this issue Feb 27, 2023 · 3 comments
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-Reach Issue for the Reach team

Comments

@oensch
Copy link

oensch commented Feb 27, 2023

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:

  1. Open the app
  2. Click away from the window (the caption button foregrounds take on their inactive styling)
  3. Move the pointer over a caption button to see its background/foreground change
  4. Move the pointer away from the button(s) to see that the foreground doesn't return to the inactive styling

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

@oensch oensch added the bug Something isn't working label Feb 27, 2023
@Balkoth
Copy link

Balkoth commented Feb 27, 2023

Seeing this too on the WinUI 3 Gallery App...

@gabbybilka gabbybilka added the needs-triage Issue needs to be triaged by the area owners label Mar 13, 2023
@bpulliam bpulliam added team-Reach Issue for the Reach team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Jul 7, 2023
@Balkoth
Copy link

Balkoth commented Jul 13, 2023

This is still an issue in Windows App SDK 1.3.2 (1.3.230602002)

@pratikone
Copy link
Contributor

has been fixed in winappsdk 1.4.
closing the issue. If you continue to see the issue in some scenario, comment here and I will re-open the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-Reach Issue for the Reach team
Projects
None yet
Development

No branches or pull requests

5 participants