-
Notifications
You must be signed in to change notification settings - Fork 705
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
TabView breaks Navigation and causes memory leaks. #4718
Comments
Could this be related to the issue I reported last year? |
@duke7553 , I wouldn't be able to speculate on that. Just adding the control and not using it was enough to cause Navigation to leak. Have a look at the code. I don't have much experience with the control, I was looking into an issue someone else had posted. Would be helpful to have other eyes on the code samples. There are curious interactions with Navigation Frame and NavigationCacheMode. NavigationCacheMode="Enabled" seems to trigger a memory leak regardless of what controls you are using. TabView seems to have additional problems. For additional context, you can look here: #4713 |
The following testing tool is mostly self explanatory if you have a close look at the code: https://github.com/Noemata/RosettaNavigation The tool may be used to test both performance and Navigation Frame memory issues for both WinUI and UWP. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Describe the bug
Just by adding the TabView control to a page, it breaks Navigation and causes memory leaks.
Steps to reproduce the bug
App2.zip
Steps to reproduce the behavior:
Expected behavior
Page 1 deconstructor should be called so its memory resources can be reclaimed.
Screenshots
n/a
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.6.0-prerelease.210315002]
Additional context
This issue affects every release of the TabView control, including those in the Community Toolkit, so the problem predates integration into WinUI.
The text was updated successfully, but these errors were encountered: