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

AcrylicBrush overliad on MediaPlayerElement does not apply blur effect to video content #9267

Closed
jumhyn-browser opened this issue Jan 19, 2024 · 5 comments
Labels
area-Materials Reveal, Acrylic, lighting, etc. area-MediaPlayerElement bug Something isn't working team-Controls Issue for the Controls team

Comments

@jumhyn-browser
Copy link

Describe the bug

When applied over a MediaPlayerElement, the blur effect from an AcrylicBrush is not applied to the video content. Other UI elements have the blur applied fine.

Steps to reproduce the bug

Set up a UI where a portion is occupied by a MediaPlayerElement and another portion by something else (e.g. a solid-color Rectangle).
Put a Border with an AcrylicBrush background on top of that UI.

Expected behavior

AcrylicBrush applies blur effect to all content including MediaPlayerElement.

Screenshots

This screenshot shows an AcrylicBrush (tint color black, tint and luminosity opacity set to 0) overlaid on a UI with video content and a red Rectangle. Rectangle is visible, video content is not

image

NuGet package version

None

Windows version

No response

Additional context

No response

@jumhyn-browser jumhyn-browser added the bug Something isn't working label Jan 19, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 19, 2024
@jumhyn-browser
Copy link
Author

Maybe related to #5025 ?

@DarranRowe
Copy link

I think all of this should be detailed in the Visual Layer for WinUI 3 documentation. This documentation states that the MediaPlayerElement content it is then rendered via Windows.UI.Composition. Since there is no interoperability between Windows.UI.Composition and Microsoft.UI.Composition right now, the effects are unable to see the MediaPlayerElement's content and thus is unable to sample pixels and work on it.

@bpulliam bpulliam added area-Materials Reveal, Acrylic, lighting, etc. area-MediaPlayerElement team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 22, 2024
@jumhyn-browser
Copy link
Author

ah, yep, that addresses this head-on @DarranRowe, thanks!! Is this considered wontfix, then, or is there any expectation that these pipelines would be more interoperable at some point (soon? 😇)

@DarranRowe
Copy link

I'm not sure if it will be soon, but there have been other posters expressing an interest in this. So you should consider this a bug report or at the very least a +1 for a feature proposal.

@ranjeshj
Copy link
Contributor

This is currently by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Materials Reveal, Acrylic, lighting, etc. area-MediaPlayerElement bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants