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 page #26845

Open
AramMar opened this issue Dec 27, 2024 · 6 comments
Open

White screen when changing the main page #26845

AramMar opened this issue Dec 27, 2024 · 6 comments
Assignees
Labels
i/regression This issue described a confirmed regression on a currently supported version partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@AramMar
Copy link

AramMar commented Dec 27, 2024

2024-12-27_16-36-48.mp4

Description

White screen when changing the main page, occurs on Android devices.

I organised navigation with modal pages. I open some Modal pages with PushModalAsync, then show first page MainPage = new LoginPage(); to make empty ModalStack and show LoginPage MainPage = new LoginPage()

App shows white screen.

Steps to Reproduce

Steps to Reproduce
Create new NET MAUI app.
Create new Pages.
Switch between pages.( MainPage = new TestPage())
Version with bug
8.0, 9.0

Affected platforms
Android

Link to public reproduction project repository

DXMauiApp5.zip

No response

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

@AramMar AramMar added the t/bug Something isn't working label Dec 27, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@AlleSchonWeg
Copy link
Contributor

Hi,
perhaps i'm wrong but i remember i had similar problem. You could try to add these values to your android styles.xml file:

	<style name="XXX" parent="Maui.MainTheme.NoActionBar">
		<item name="android:windowBackground">@color/YYY</item>
		<item name="android:windowIsTranslucent">false</item>
		<item name="android:windowTranslucentNavigation">false</item>
		<item name="android:windowTranslucentStatus">false</item>
	</style>

You have to replace name and perhaps parent with your values. Also "android:windowBackground". I'm not at work atm so i can't say exactly which item could help.

Good luck.

@Zhanglirong-Winnie Zhanglirong-Winnie added platform/android 🤖 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed i/regression This issue described a confirmed regression on a currently supported version labels Dec 30, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified Visual Studio 17.13 Preview2.1 (9.0.21 & 9.0.0 & 8.0.100 & 8.0.20). Can repro this issue on Android platform. But works fine on 8.0.14.

@AramMar
Copy link
Author

AramMar commented Dec 30, 2024

Hi, perhaps i'm wrong but i remember i had similar problem. You could try to add these values to your android styles.xml file:

<style name="XXX" parent="Maui.MainTheme.NoActionBar"> @color/YYY false false false </style>

You have to replace name and perhaps parent with your values. Also "android:windowBackground". I'm not at work atm so i can't say exactly which item could help.

Good luck.

I checked and unfortunately it does not fix the issue, still page blinked

@AramMar
Copy link
Author

AramMar commented Dec 30, 2024

This issue has been verified Visual Studio 17.13 Preview2.1 (9.0.21 & 9.0.0 & 8.0.100 & 8.0.20). Can repro this issue on Android platform. But works fine on 8.0.14.

the issue is exist on 8.0.14 version also

@AramMar
Copy link
Author

AramMar commented Dec 30, 2024

Hi @Redth, i checked some other sources also somehow related to this topic, f.ex.
#24903 (comment)

Maybe you have workaround for this issue also?

@vishnumenon2684 vishnumenon2684 added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 2, 2025
@vishnumenon2684 vishnumenon2684 self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i/regression This issue described a confirmed regression on a currently supported version partner/syncfusion Issues / PR's with Syncfusion collaboration 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

4 participants