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

[Gallery][Canary][Android]Blank Screen After Selecting Components in Gallery Canary #1167

Closed
1 of 10 tasks
jhanvi03 opened this issue Sep 9, 2024 · 7 comments · Fixed by unoplatform/uno#18193
Closed
1 of 10 tasks
Assignees
Labels
area/canary kind/bug Something isn't working platform/android triage/untriaged Indicates an issue requires triaging or verification.

Comments

@jhanvi03
Copy link

jhanvi03 commented Sep 9, 2024

Current behavior

When the Gallery Canary app is opened on Android, the overview page appears as expected. However, after selecting any component from the menu, the screen turns blank. The content only becomes visible after switching to landscape mode. Upon killing and reopening the app, the issue persists, and the same behavior is observed.
Version: 1.6.0 (209093234)

MicrosoftTeams-video.1.mp4

Expected behavior

After selecting any component from the menu, the content should display immediately without requiring a switch to landscape mode. The app should function consistently, even after being reopened.

How to reproduce it (as minimally and precisely as possible)

  1. Download, install and open Gallery canary on Android device from TestCentre
  2. Keep your device on portrait mode.
  3. Select any component from Menu.
  4. Observe the blank screen.
  5. Put you phone in landscape mode and observe the text will appear now and even in portrait it will appear.
  6. Close and apen the app, all the content will be visible.
  7. Kill the app and select component, again the blank screen will appear.

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

@jhanvi03 jhanvi03 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. area/canary platform/android labels Sep 9, 2024
@kazo0 kazo0 assigned kazo0 and vatsashah45 and unassigned kazo0 Sep 10, 2024
@kazo0
Copy link
Contributor

kazo0 commented Sep 10, 2024

This behavior started as of Uno.WinUI 5.4.0-dev.1515 which is from this PR: unoplatform/uno#17967

@Youssef1313 Do you see anything funky with how we are navigating in Gallery that would cause a blank screen due to the that PR being merged?

@Youssef1313 Youssef1313 self-assigned this Sep 11, 2024
@Youssef1313
Copy link
Member

The regression is coming from Uno.WinUI 5.4.0-dev.1512 which is unoplatform/uno#17966 (we only released 1510 and 1515). This PR fixes attached DP inheritance which previously wasn't working correctly. The only DP I know of that can have impact is NameScope. I'm still investigating.

@Youssef1313
Copy link
Member

I'm unable to root it down further 😕

@Youssef1313
Copy link
Member

@jhanvi03 Are you able to check if it's Android only or if it also happens on iOS?

@jhanvi03
Copy link
Author

@Youssef1313, The issue is not reproducible on iOS.

@Xiaoy312
Copy link
Contributor

Are we able to confirm, whether this issue only happen with said (Theming > Cupertino) page or it is any page?
It would be worth to also test a more pages to see if the problem happens on a specific group of pages, only a single page or any page.
Don't need to test every navigation possible, but just to a few more data points.

@Youssef1313
Copy link
Member

Any navigation as far as I tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/canary kind/bug Something isn't working platform/android triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants