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

Freezing App when Navigating Between Tabs with BlazorWebView in Maui Blazor App #22344

Closed
alzubitariq opened this issue May 11, 2024 · 4 comments
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView platform/android 🤖 s/duplicate 2️⃣ This issue or pull request already exists s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@alzubitariq
Copy link

Description

Two Tabs: an AppShell page that contains two tabs named "page1" and "page2". These tabs likely represent different sections or functionalities within the app.

Navigation from Page1 to Another Page: When navigate from "page1" to another page, presumably using some kind of navigation mechanism like a button click or a navigation service.

BlazorWebView Content: The page you navigate to from "page1" contains a BlazorWebView component.

Tab Switching: After navigating to the page containing the BlazorWebView, you switch tabs from "page1" back to "page2" and then "page2" back to "page1".

App Freeze: At this point, when you switch back to "page1" after previously navigating away from it, the app freezes. This means that the app becomes unresponsive and does not react to user input or continue executing code.

Steps to Reproduce

Create new maui blazor app

Link to public reproduction project repository

https://github.com/alzubitariq/MauiBlazorNavigationIssue

Version with bug

8.0.21 SR4.1

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

Did you find any workaround?

No

Relevant log output

[RtgSched] resetRtgSchedHandle failed enable:1
[OnBackInvokedCallback] OnBackInvokedCallback is not enabled for the application.
[OnBackInvokedCallback] Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
@alzubitariq alzubitariq added the t/bug Something isn't working label May 11, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@alzubitariq
Copy link
Author

@Eilon Could you please take a look

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 13, 2024
@Zhanglirong-Winnie
Copy link
Collaborator

Verified this issue with Visual Studio 17.10 Preview 7.0 (8.0.21). Can repro on android platform with sample project.

@jsuarezruiz jsuarezruiz added area-navigation NavigationPage area-blazor Blazor Hybrid / Desktop, BlazorWebView labels May 13, 2024
@Eilon
Copy link
Member

Eilon commented May 15, 2024

Duplicate of the root cause of #20678.

@Eilon Eilon closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
@Eilon Eilon added s/duplicate 2️⃣ This issue or pull request already exists and removed area-navigation NavigationPage labels May 15, 2024
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 platform/android 🤖 s/duplicate 2️⃣ This issue or pull request already exists 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

5 participants