iNKORE-NET/UI.WPF.Modern

[Bug] Broke title bar when "Show accent color on window broders" is on

Closed this issue · 2 comments

Window chrome issue?
Image
Clicking on the arrow on nav view shouldn't select the item
Image
NσȶƳơơʝʊռ (˶⍤⃝˶꒳ᵒ꒳ᵎ ).! — Today at 9:06 AM
Hahaha camman is finally happy now
NσȶƳơơʝʊռ (˶⍤⃝˶꒳ᵒ꒳ᵎ ).! — Today at 9:06 AM
This is weird
I haven't received any similar reports
Ivirius — Today at 9:08 AM
Well apparently accent color on window title bars is broken
And that might be because nobody uses accent color
NσȶƳơơʝʊռ (˶⍤⃝˶꒳ᵒ꒳ᵎ ).! — Today at 9:09 AM
Lemme check it later on my PC
Image
Dang
When this is on the issue appears
Image

image

image

The solution is commented in the code :)

//DWMAPI.DwmSetWindowAttribute(handle, DWMAPI.DWMWINDOWATTRIBUTE.DWMWA_CAPTION_COLOR,

Hi, please try the latest code.
If anything's wrong, feel free to reopen this.