dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

Tabbed Page Bug in Windows #26214

Open AwsomeCode opened 3 days ago

AwsomeCode commented 3 days ago

Description

Tabbed Page Navigating to the tabbed page. Going back from the tabbed page, an exception was thrown

https://github.com/user-attachments/assets/52097cdd-84c8-4df1-aad3-a49dd0928061

Steps to Reproduce

Steps to Reproduce

  1. Press the button to navigate to ProductsTabbedPage
  2. Switch between tabs
  3. Navigate back (App Crash)

Link to public reproduction project repository

https://github.com/AwsomeCode/MauiApp19

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

similar-issues-ai[bot] commented 3 days ago

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.

ninachen03 commented 3 days ago

This issue has been verified using Visual Studio 17.13.0 Preview 1.0 (9.0.10 & 9.0.0 &9.0.0-rc.1.24453.9). Can repro on window platform. Image But in Microsoft.Maui.Controls, 9.0.0-preview.1.9973, I got a different exception as below by only run the project. Image