CommunityToolkit / Maui

The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
https://learn.microsoft.com/dotnet/communitytoolkit/maui
MIT License
2.19k stars 375 forks source link

[BUG] Hidden layer in media player element #1352

Closed Strypper closed 2 months ago

Strypper commented 1 year ago

Is there an existing issue for this?

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

AcylicView is an open-source library that allows you to blur a layer and create a frosted effect, allowing you to see through to what is beneath it. However, when using it with MediaView, nothing can be seen through the layer. I am not sure what is causing this issue, as shown in the image below image I have already reported this issue to the author of AcylicView, and they have confirmed that it is an issue with the community toolkit https://github.com/sswi/AcrylicView.MAUI/issues/4

Expected Behavior

The AcrylicView could see through

Steps To Reproduce

  1. Pull the MAUIsland repo (attached below)
  2. Create an empty appsettings.Development.json file (file name should be exactly like appsettings.Development.json, for the content of the file doesn't need to add anything)
  3. Navigate to the control gallery
  4. Choose a community gallery
  5. Choose an acrylic view card (Please notice that we currently have an MAUI issue with this Button need to click at the bottom left to trigger, so you need to click at that position to navigate to the page)
  6. Navigate to the bottom at the page to see the issue

Link to public reproduction project repository

https://github.com/Strypper/mauisland

Environment

- .NET MAUI CommunityToolkit:Latest
- OS: Windows
- .NET MAUI: 7

Anything else?

ne0rrmatrix commented 2 months ago

Which devices does this bug affect? Is it windows, android, iOS, or Mac Catalyst. Is it one, all or specific device types that have issues?

Strypper commented 2 months ago

Which devices does this bug affect? Is it windows, android, iOS, or Mac Catalyst. Is it one, all or specific device types that have issues?

Only Windows Android: works fine IOS,Tizen,MacOS: Not tested

lgztx96 commented 2 months ago

Which devices does this bug affect? Is it windows, android, iOS, or Mac Catalyst. Is it one, all or specific device types that have issues?

Only Windows Android: works fine IOS,Tizen,MacOS: Not tested

On Windows Platforms, this is currently by design. see https://github.com/microsoft/microsoft-ui-xaml/issues/9267

vhugogarcia commented 2 months ago

Thanks @lgztx96 for sharing the link from Microsoft UI. Since this is by design and an expected behavior, I'm closing this issue.