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

Swapchains are not correctly clipped if mica background is enabled #7056

Closed
1 of 2 tasks
lhak opened this issue May 5, 2022 · 1 comment
Closed
1 of 2 tasks

Swapchains are not correctly clipped if mica background is enabled #7056

lhak opened this issue May 5, 2022 · 1 comment
Labels
bug Something isn't working product-winui3 WinUI 3 issues team-Rendering Issue for the Rendering team

Comments

@lhak
Copy link

lhak commented May 5, 2022

Describe the bug

After enabling mica, added swapchains (e.g. through win2d) will not be correctly clipped by their parent element (e.g. scrollviewer) and render outside of their bounds on top of the background.

Steps to reproduce the bug

  1. Run the attached repro project and zoom in (e.g. with ctrl + mousewheel)
  2. Observe that the red swapchain content will render outside the scrollviewer bounds on top of the mica background

SwapChainPanelClipRepro.zip

Expected behavior

The swapchain should be clipped by the parent scrollviewer

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.1 Preview 2: 1.1.0-preview2

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (21H2): Build 22000

Additional context

Related to 1.1.0 preview 3 (missing from the dropdown menu)

@lhak lhak added the bug Something isn't working label May 5, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label May 5, 2022
@ojhad ojhad added team-Rendering Issue for the Rendering team product-winui3 WinUI 3 issues labels May 10, 2022
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Dec 7, 2022
@lhak
Copy link
Author

lhak commented Dec 15, 2022

This works fine in 1.2

@lhak lhak closed this as completed Dec 15, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Dec 15, 2022
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product-winui3 WinUI 3 issues team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

4 participants