Mica get's overdrawn by Swapchain when Swapchain covers entire screen #10180
Labels
area-Materials
Reveal, Acrylic, lighting, etc.
bug
Something isn't working
team-Rendering
Issue for the Rendering team
Describe the bug
Consider the following scenario where we create a CanvasSwapchainPanel from Win2D while the Window has Mica as backdrop:
With this, the output looks like this:
However if we change the Grid or the CanvasSwapChainPanel to have a margin or padding of 1 in any of the directions, like this:
Mica works:
To add to the unusualness, when one sets the margin and padding of the Grid and CSCP to cancel out like this:
Mica doesn't work anymore:
Note that sometimes, the screen only turns black after resizing the window.
Steps to reproduce the bug
Repro project: Mica repro.zip
Expected behavior
Mica should work without having to set a margin somewhere.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
No response
Additional context
Windows version 24H2: 26100.2314
The text was updated successfully, but these errors were encountered: