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

White screen when changing the main screen #8642

Open
DenisPolagaev opened this issue Jul 11, 2022 · 10 comments
Open

White screen when changing the main screen #8642

DenisPolagaev opened this issue Jul 11, 2022 · 10 comments
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView discussed Created by mkArtakMSFT to help with planning temporarily. It will be removed after planning is done. investigate platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@DenisPolagaev
Copy link

Description

White screen when changing the home screen, occurs on Android devices. Everything works fine on Windows.

If you redefine the BackgroundColor of the NavigationPage, сontent overlaps another page.

 <Style TargetType="NavigationPage" ApplyToDerivedTypes="True">
          <Setter Property="BackgroundColor" Value="Transparent" />
</Style>

Example

image

Steps to Reproduce

  1. Create new NET MAUI Blazor app.
  2. Create new Page.
  3. Switch between pages.

Version with bug

6.0 Release Candidate 3

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 7.1.2 N2G47H, Android 10

Did you find any workaround?

No response

Relevant log output

[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.FileProviders.Abstractions.dll
Loaded assembly: /data/data/com.companyname.issueblankscreen/files/.__override__/Microsoft.Extensions.FileProviders.Abstractions.dll [External]
[ssueblankscree] Explicit concurrent copying GC freed 19639(1931KB) AllocSpace objects, 4(80KB) LOS objects, 49% free, 3053KB/6106KB, paused 35us total 16.667ms
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.ViewPager2.dll
Loaded assembly: /data/data/com.companyname.issueblankscreen/files/.__override__/Xamarin.AndroidX.ViewPager2.dll [External]
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[chatty] uid=10392(com.companyname.issueblankscreen) identical 7 lines
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[TabLayout] MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Runtime.dll
Loaded assembly: /data/data/com.companyname.issueblankscreen/files/.__override__/Xamarin.AndroidX.Lifecycle.Runtime.dll [External]
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[chatty] uid=10392(com.companyname.issueblankscreen) identical 3 lines
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.ViewPager.dll
Loaded assembly: /data/data/com.companyname.issueblankscreen/files/.__override__/Xamarin.AndroidX.ViewPager.dll [External]
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[chatty] uid=10392(com.companyname.issueblankscreen) identical 3 lines
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
Thread started: <Thread Pool> #15
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Primitives.dll
Loaded assembly: /data/data/com.companyname.issueblankscreen/files/.__override__/Microsoft.Extensions.Primitives.dll [External]
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[chatty] uid=10392(com.companyname.issueblankscreen) identical 4 lines
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
[ForceDarkHelper] updateByCheckExcludeList: pkg: com.companyname.issueblankscreen activity: crc648728334ba2a98678.MainActivity@5db54aa
@DenisPolagaev DenisPolagaev added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jul 11, 2022
@jfversluis jfversluis added area-blazor Blazor Hybrid / Desktop, BlazorWebView and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jul 14, 2022
@javiercn
Copy link
Member

@DenisPolagaev thanks for contacting us.

Does this behavior happen on a regular Maui app without Blazor?

@javiercn javiercn added the s/needs-info Issue needs more info from the author label Jul 14, 2022
@ghost
Copy link

ghost commented Jul 14, 2022

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

@DenisPolagaev
Copy link
Author

Hi @javiercn it's just that everything works fine on .net maui.

@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 Jul 16, 2022
@DenisPolagaev
Copy link
Author

MauiApp3.zip

here is the usual .net maui project in which it works

@mkArtakMSFT
Copy link
Member

Thanks for contacting us. Can you please share a minimal repro project (hosted as a public GitHub repository), so that we can investigate this? Thanks!

@mkArtakMSFT mkArtakMSFT added the s/needs-info Issue needs more info from the author label Jul 18, 2022
@ghost
Copy link

ghost commented Jul 18, 2022

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

@DenisPolagaev
Copy link
Author

@mkArtakMSFT good afternoon. Here is a link to .net maui blazor Url

@ghost ghost removed the s/needs-info Issue needs more info from the author label Jul 19, 2022
@mkArtakMSFT mkArtakMSFT added this to the Future milestone Jul 19, 2022
@ghost
Copy link

ghost commented Jul 19, 2022

We've moved this issue to the Future milestone. This means that it is not going to be worked on for the coming release. We will reassess the issue following the current release and consider this item at that time.

@mkArtakMSFT mkArtakMSFT added investigate and removed s/needs-attention Issue has more information and needs another look labels Jul 19, 2022
@mkArtakMSFT mkArtakMSFT added the discussed Created by mkArtakMSFT to help with planning temporarily. It will be removed after planning is done. label Nov 3, 2022
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 19, 2023
@XamlTest
Copy link

Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. This issue does not repro on Windows 11, repro on Android 13.0 with below Project:
IssueBlankScreen.zip

image

@Eilon Eilon removed this from the Backlog milestone Dec 15, 2023
@mkArtakMSFT mkArtakMSFT added this to the Backlog milestone Mar 7, 2024
@AramMar
Copy link

AramMar commented Dec 27, 2024

the issue is still actuall even for .Net 9 with android 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView discussed Created by mkArtakMSFT to help with planning temporarily. It will be removed after planning is done. investigate platform/android 🤖 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

8 participants