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

Whole App Shell and Shell content disapear when changing between tabs fast enough (Release mode on Android) #18555

Closed
MauiUIui opened this issue Nov 7, 2023 · 5 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working

Comments

@MauiUIui
Copy link

MauiUIui commented Nov 7, 2023

Description

When changing between two different tabs quickly back and forth (or better repeatedly tabbing simultaneously) there are times when the app shell completely disappears and the only thing that remains from the app to be seen would be the tab bar. This is a state that the app doesn't recover from on its own. Now if one tabs on one of the tabs, nothing would happen (probably indicates that this is the one actually active). However tabbing the second one would change to it and make everything appear correctly again.

First Second Third
First Second In Between

Steps to Reproduce

  1. Create a Maui App.
  2. Create at least two ContentPages with different background colours for clarity.
  3. Add a Tabbar which includes two ShellContents who's ContentTemplates are the above mentioned ContentPages.
  4. Give the ShellContents Titles
  5. Start in release mode (provides the necessary speed I guess).
  6. Repeatedly tab simultaneously on both tabs.
  7. You should notice the white page and the disappearing of the whole shell.

The tricky part is really is to stop tabbing when it appears. I only achieved that by repeatedly tabbing both tabs at the same time and stopping randomly.

This issue is easier to reproduce and watch on physical devices than emulators

Link to public reproduction project repository

No response

Version with bug

8.0.0-rc.2.9511

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 13

Did you find any workaround?

No.

Relevant log output

No response

@MauiUIui MauiUIui added the t/bug Something isn't working label Nov 7, 2023
@PureWeen PureWeen added area-controls-shell Shell Navigation, Routes, Tabs, Flyout s/needs-repro Attach a solution or code which reproduces the issue labels Nov 7, 2023
@ghost
Copy link

ghost commented Nov 7, 2023

Hi @MauiUIui. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

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 Nov 13, 2023
@ghost
Copy link

ghost commented Nov 13, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue 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.

@MauiUIui
Copy link
Author

feel free to comment when you are able to provide the additional information
Additional information for you:
No additional information is needed. Steps to repro are included in the op.

Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone.
Feel free to that yourself. I'd be literarily going through the steps I mentioned. I'm not doing anybody's job for them.

It will be closed if no further activity occurs within 3 days of this comment
If you're really expecting that from me, please close it right now.

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue s/no-recent-activity Issue has had no recent activity labels Nov 13, 2023
@ninachen03
Copy link

Verified this issue with Visual Studio 17.10.0 Preview 3 (8.0.20).I can not repro this issue on android(xiaomi)physical.

  1. Created Maui project.
  2. Added 3 .NET MAUI ContentPage(XAML) named Newpage1,Newpage2,Newpage3.
  3. In Appshell.xaml
    image

@ninachen03 ninachen03 added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels Apr 11, 2024
Copy link
Contributor

Hi @MauiUIui. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants