ModernWpf icon indicating copy to clipboard operation
ModernWpf copied to clipboard

Acrylic backdrop will cause LayoutUpdated event to be infinitely raised

Open Valkirie opened this issue 1 year ago • 4 comments

Title says it all, when using the acrylic backdrop on a window, LayoutUpdated event will be raised infinitely until window is closed. @wherewhere

Valkirie avatar Jun 10 '23 16:06 Valkirie

But I don't know how to fix it🤣.

wherewhere avatar Jun 14 '23 06:06 wherewhere

Hi! Sorry to hear that.

Here's another project forked on this one, and the problem might be fixed there.

https://github.com/InkoreStudios/UI.WPF.Modern

If you like that, pls give me a star ⭐. Thank you

NotYoojun avatar Jun 14 '23 10:06 NotYoojun

Thanks for the heads-up, issue seams to be fixed indeed. If you're looking for an adventure @NotYoojun we're still trying to figure out how to fix the issue with ComboBox where the autoscroll on ComboBox opening fails to stop on the selected item. https://github.com/wherewhere/ModernWpf/issues/21

Valkirie avatar Jun 14 '23 11:06 Valkirie

In my computer even the new version still has this problem. It is caused by the customized window style, not the mica actually. So later I'll check it carefully when I'm available.

If you want to commit your code, I recommend to move to my repo, which is listed above, there's only difference in the namespaces, so you can move easily.

Thanks :)

NotYoojun avatar Jun 14 '23 12:06 NotYoojun