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

[Android] PopupStack is not correct after Activity restart #99

Open
christianrr opened this issue Dec 13, 2023 · 0 comments
Open

[Android] PopupStack is not correct after Activity restart #99

christianrr opened this issue Dec 13, 2023 · 0 comments

Comments

@christianrr
Copy link

christianrr commented Dec 13, 2023

Android 14 and especially Pixel devices frequently stop activities for performance reasons (mostly overnight).

If the activity is restarted by Android OS, the PopupStack still contains visible popups although the DecorView of the restored activity is empty (if popups were visible before activity disposal).

I assume that MopupService is not expecting or capturing the disposal of the main activity.

Apparently, Maui has its troubles with this case as the App methods (OnStart, OnResume) are not called when Android restarts the activity. Maybe this is somehow related.
dotnet/maui#18845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant