microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

The hover color of the close caption button does not match Windows 11

Open Poopooracoocoo opened this issue 3 years ago • 9 comments

Describe the bug

The hover color of the close caption button of does not match Windows 11's new color.

Actual behaviour found in Files (Preview) Version 2.3.60.0: image

Steps to reproduce the bug

Hover over the close caption button in a WindowsAppSDK app such as Files (Preview) Version 2.3.60.0

Expected behavior

Expected behaviour found in Files version 2.3.12.0: image

Screenshots

No response

NuGet package version

No response

Packaging type

No response

Windows version

No response

IDE

No response

Additional context

It'd be great if the caption buttons and title bars got some more love as a whole. Microsoft has not decided on how they should look or act. You must think about hover states, pressed states, active and inactive, light and dark mode, and fade effects.

Redirected from https://github.com/files-community/Files/issues/10497

Poopooracoocoo avatar Nov 16 '22 17:11 Poopooracoocoo

Thanks for filing, this is on our radar.

cc: @pratikone as FYI

gabbybilka avatar Nov 17 '22 17:11 gabbybilka

Any updates on the titlebar story yet?

Poopooracoocoo avatar Dec 10 '22 11:12 Poopooracoocoo

fyi @yaira2

d2dyno1 avatar Dec 11 '22 23:12 d2dyno1

are you using WinUI 3 custom titlebar or it is system provided titlebar ?

pratikone avatar Dec 23 '22 22:12 pratikone

Delete

Sado9 avatar Dec 24 '22 19:12 Sado9

@pratikone WinUI 3's custom titlebar. image The caption buttons are a pretty awful experience.

Poopooracoocoo avatar Dec 30 '22 16:12 Poopooracoocoo

this is on our radar.

Seems like 2.5 years is not enough to fix a color I guess. Now we have this:

Image

HO-COOH avatar Mar 02 '25 08:03 HO-COOH

The whole titlebar implementation is a bad experience. If it is drawn by the OS DWM the color of buttons fades nicely in and out. I would expect the same from an implementation that comes right from Microsoft.

How to do it right is documented by Microsoft itself: https://learn.microsoft.com/en-us/windows/win32/dwm/customframe

Balkoth avatar Mar 04 '25 09:03 Balkoth

The hover color of other 2 captions buttons has the same issue. @pratikone, even without using the WinUI control, the issue is there.

The WinUI 3 Gallery app actually has a workaround for this, so it's still not fixed.

bogdan-patraucean avatar Nov 15 '25 23:11 bogdan-patraucean