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 when resuming iOS App when debugging #24793

Open
czuck opened this issue Sep 16, 2024 · 6 comments
Open

Black Screen when resuming iOS App when debugging #24793

czuck opened this issue Sep 16, 2024 · 6 comments
Labels
platform/iOS 🍎 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@czuck
Copy link

czuck commented Sep 16, 2024

Description

On iOS, when app is minimized and then resumed it displays a black screen. Stop the VS debugger and app resumes properly.

Steps to Reproduce

Create a File New MAUI App.
Run the app.
Minimize the app, then resume it - the first time it normally works properly.
Minimize the app, then resume it - the screen is black. repeat, the issue will persist.
Stop the debugger and resume the app, the screen paints.

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.6.1

Did you find any workaround?

No response

Relevant log output

No response

@czuck czuck added the t/bug Something isn't working label Sep 16, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@drasticactions drasticactions changed the title Blask Screen when resuming iOS App when debugging Black Screen when resuming iOS App when debugging Sep 17, 2024
@QianaJiao QianaJiao added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Sep 18, 2024
@QianaJiao
Copy link

It can be repro on 9.0.0-rc.1.24453.9 & 8.0.82 & 8.0.3, I guess this should not be an SDK issue.
If you open the XAML live Preview windows, this bug will repro. If you do not open it, the bug does not repro.
Animation
NOTE: not repro on android and Windows platform.

@jfversluis
Copy link
Member

@drasticactions so is this related to the preview or Hot Reload or something maybe?

@drasticactions
Copy link
Contributor

@jfversluis I would need to debug it, but my guess based on that video is "kinda" leaning toward "yes"

Live Preview calls for screenshots from Visual Diagnostics in MAUI to update its view. It could be that calling it either in the background or when the window reloads is causing it to hang. But I don't think it's code directly inside of the hot reload agents that could cause it.

So it could be something that would need to be fixed in MAUI when calling for the screenshots, in the hot reload agents to not try to get screenshots if the app is backgrounded, or both.

It should be moved to VSFeedback for now.

@drasticactions drasticactions added the s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue label Sep 18, 2024
Copy link
Contributor

Thanks for the issue report @czuck! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

Copy link
Contributor

Thanks for the issue report @czuck! This issue appears to be a problem with Visual Studio (Code), so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS (Code).

If you encounter a problem with Visual Studio or the .NET MAUI VS Code Extension, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or .NET MAUI VS Code Extension repository to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/iOS 🍎 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue 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