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

Black screen with Maui Blazor Hybrid in Net 7 #13291

Closed
ChristopherRecinos opened this issue Feb 13, 2023 · 9 comments
Closed

Black screen with Maui Blazor Hybrid in Net 7 #13291

ChristopherRecinos opened this issue Feb 13, 2023 · 9 comments
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView platform/windows 🪟 s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@ChristopherRecinos
Copy link

Description

Getting consistent black screens when debugging using .Net Maui Blazor Hybrid with .Net 7.

Have to restart the build a few times before it fixes itself and renders properly. This is happening with a completely new project.

Steps to Reproduce

  1. Create a brand new project for .Net Maui Blazor App with .net 7
  2. Hit F5 or Play

Capture

Link to public reproduction project repository

https://[email protected]/ChristopherRecinos/MauiBlazorBlackScreen/_git/MauiBlazorBlackScreen

Version with bug

7.0 (current)

Last version that worked well

6.0.312

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041

Did you find any workaround?

I have not found any workaround to this other than restarting the app several times.

Relevant log output

No response

@ChristopherRecinos ChristopherRecinos added the t/bug Something isn't working label Feb 13, 2023
@jsuarezruiz jsuarezruiz added the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Feb 13, 2023
@mkArtakMSFT
Copy link
Member

Thanks for contacting us. Do you see this happening with non-Blazor app - just MAUI?

@mkArtakMSFT mkArtakMSFT added the s/needs-info Issue needs more info from the author label Mar 6, 2023
@ghost
Copy link

ghost commented Mar 6, 2023

Hi @ChristopherRecinos. 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.

@ChristopherRecinos
Copy link
Author

@mkArtakMSFT I just made a brand new Maui app, non-blazor, and it does it as well. I even tried the projects on another computer and get the same result.

image

@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 Mar 6, 2023
@danroth27 danroth27 removed the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Mar 7, 2023
@danroth27
Copy link
Member

@Redth Is this a known issue?

@mattleibow
Copy link
Member

I have not seen this before. Is this on a machine with the monitor connected or via some RDP/remote/streaming display?

Can you reproduce this on other machines or with a plain WinUI 3 app?

@mattleibow mattleibow 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 Mar 7, 2023
@ghost
Copy link

ghost commented Mar 7, 2023

Hi @ChristopherRecinos. 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.

@ChristopherRecinos
Copy link
Author

@mattleibow This is on just my regular everyday computer. I've made sure no background apps or anything are running that could affect it. I also tried it on my second machine and it happened there too, however it did seem to not happen on my work computer in the office. I just don't know what the issue could be. I could try reinstalling all of visual studios potentially?

I have not tried a plain WinUI 3 app but I will try that today.

@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 Mar 8, 2023
@jsuarezruiz jsuarezruiz 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 Mar 9, 2023
@ghost
Copy link

ghost commented Mar 9, 2023

Hi @ChristopherRecinos. 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.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Mar 13, 2023
@ghost
Copy link

ghost commented Mar 13, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Mar 16, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2023
@samhouts samhouts added the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Aug 27, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Aug 27, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView platform/windows 🪟 s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants