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

Cannot add Mica backdrop to Maui Blazor hybrid app #16874

Closed
franklbt opened this issue Aug 19, 2023 · 10 comments
Closed

Cannot add Mica backdrop to Maui Blazor hybrid app #16874

franklbt opened this issue Aug 19, 2023 · 10 comments
Labels
platform/windows 🪟 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@franklbt
Copy link

Description

I cannot use a mica backdrop for the full window size in a MAUI blazor hybrid app.

All attempts tried failed or not produced the exact result I wanted

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

WindowsAppSDK 10.0.19041.0

Did you find any workaround?

No

Relevant log output

No response

@franklbt franklbt added the t/bug Something isn't working label Aug 19, 2023
@drasticactions
Copy link
Contributor

If you create a WinUI3 app with a webview and try setting a Mica backdrop on it, does it work?

I will guess that it will do the same behavior since that's the underlying MAUI Blazor Webview, and there shouldn't be any difference between how it functions in this case.

If it does do the same thing, then this issue should be moved to https://github.com/microsoft/microsoft-ui-xaml.

@drasticactions drasticactions added the s/needs-info Issue needs more info from the author label Aug 20, 2023
@ghost
Copy link

ghost commented Aug 20, 2023

Hi @franklbt. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@drasticactions drasticactions added the s/needs-repro Attach a solution or code which reproduces the issue label Aug 20, 2023
@ghost
Copy link

ghost commented Aug 20, 2023

Hi @franklbt. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@drasticactions
Copy link
Contributor

Likewise, you could make a repro project showing how you're adding the Mica backdrop to the webview.

@franklbt
Copy link
Author

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author s/needs-repro Attach a solution or code which reproduces the issue labels Aug 20, 2023
@drasticactions
Copy link
Contributor

Did you try it with a WinUI3 app and its webview? Does it perform the same behavior?

@drasticactions drasticactions added s/needs-info Issue needs more info from the author and removed s/needs-attention Issue has more information and needs another look labels Aug 21, 2023
@ghost
Copy link

ghost commented Aug 21, 2023

Hi @franklbt. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@franklbt
Copy link
Author

In fact a similar behavior is present on winui3 app

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Aug 22, 2023
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 28, 2023
@XamlTest
Copy link

Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on Windows 11 .NET 8 with below Project:
MicaBackdropBlazorHybridRepro.zip

@Eilon
Copy link
Member

Eilon commented Aug 30, 2023

Looks like a dupe of #14185, but it's ultimately most likely an issue with WebView2 itself or with the WindowsAppSDK/WinUI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/windows 🪟 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants