Repository navigation
Closed
Labels
area-controls-tabbedpageTabbedPagei/regressionThis issue described a confirmed regression on a currently supported versionplatform/androidregressed-in-10.0.30s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working
Description
Description
After upgrading Microsoft.Maui.Controls from 10.0.10 to 10.0.30, a TabbedPage with two or more tabs on Android triggers continuous GC logs while idle, even when the tab content is static.
This behavior does not occur in 10.0.10 and appears to be a regression introduced in 10.0.30.
In our production app, after upgrading to .NET 10 with this Controls version, we also observe noticeable scroll lag in a complex CollectionView inside a TabbedPage (Release build). The increased and continuous GC activity may be contributing to this performance regression.
Steps to Reproduce
- Create a new MAUI app.
- Update MAUI controls if not already on 10.0.30
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.30" /> - Replace MainPage.xaml with the following minimal XAML and set app to open on this page
<TabbedPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiApp1.MainPage">
<ContentPage Title="Tab 1">
<Grid>
<Label
Text="Tab 1"
HorizontalOptions="Center"
VerticalOptions="Center"
FontSize="24" />
</Grid>
</ContentPage>
<ContentPage Title="Tab 2">
<Grid>
<Label
Text="Tab 2"
HorizontalOptions="Center"
VerticalOptions="Center"
FontSize="24" />
</Grid>
</ContentPage>
</TabbedPage>
- Deploy the app to an Android device or emulator.
- Observe the output logs — you will see repeated GC messages every second, such as:
Explicit concurrent mark compact GC freed 2172KB AllocSpace bytes, 0(0B) LOS objects, 49% free, 3820KB/7640KB, paused 551us,1.057ms total 9.091ms
Explicit concurrent mark compact GC freed 2176KB AllocSpace bytes, 0(0B) LOS objects, 49% free, 3820KB/7640KB, paused 608us,924us total 8.487ms
Explicit concurrent mark compact GC freed 2172KB AllocSpace bytes, 0(0B) LOS objects, 49% free, 3824KB/7648KB, paused 565us,1.257ms total 9.035ms
Explicit concurrent mark compact GC freed 2176KB AllocSpace bytes, 0(0B) LOS objects, 49% free, 3824KB/7648KB, paused 837us,944us total 9.009ms
Expected Behavior:
- GC should only run when necessary.
- A simple TabbedPage should not trigger continuous GC.
Actual Behavior:
- Continuous GC logs appear.
- Potentially contributes to UI lag, especially for CollectionView scrolling.
- Only occurs after updating to MAUI 10.0.30; does not occur in 10.0.10.
Link to public reproduction project repository
No response
Version with bug
10.0.30
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
10.0.10
Affected platforms
Android
Affected platform versions
Android 16
Did you find any workaround?
Rolling back to 10.0.10 eliminates the issue.
Relevant log output
Reacted by Pavel Holeček
Metadata
Metadata
Assignees
Labels
area-controls-tabbedpageTabbedPagei/regressionThis issue described a confirmed regression on a currently supported versionplatform/androidregressed-in-10.0.30s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working
Activity
NafeelaNazhir commentedon Jan 28, 2026
This issue has been validated in Visual Studio 18.2.0 with MAUI versions 10.0.30, 10.0.20, 10.0.11, 10.0.0. It can be reproducible on the latest version 10.0.30 and was not reproducible on the below 10.0.30 versions on Android platform.
GCIssue.zip
Screen.Recording.2026-01-28.112046.mp4
Screen.Recording.2026-01-28.at.1.25.50.PM.mov
sheiksyedm commentedon Jan 28, 2026
Regression PR : #33285
Fix TabbedPage continuous GC issue (#33731)
Fix: Use geometric off-screen check to prevent infinite RequestApplyI…
Fix: Use internal IRequestInsetsOnTransition interface with caching a…
PureWeen commentedon Jan 29, 2026
We're releasing a 10.0.31 fix soon with this reverted
Add UI test for Issue #33768 - ScrollView content GC regression test
SailDev commentedon Jan 29, 2026
Maybe this is also the reason, why page transitions on Android with 10.0.30 stutter like hell?
Today, i spent a whole day, to complete a step, i postponed for a long time. Migrating my main MAUI dev environment from Net9 to Net10, including MacOS, Rider, Xcode 26.2, Net SDKs and workloads and more.
The result was not as bad as expected, so many thanks to the MAUI team!!!
My experience with Net9 and Android was always very good. Excellent performance, especially the page transitions, in my opinion, are even faster than on iOS.
But with 10.0.30 you can watch page transitions like in extreme slow motion (release mode on a real device).
Luckily, i read this issue and downgraded to 10.0.20.
Now we are back to the previous Net9 performance state.
Add Issue #33768 UITest and GC monitoring infrastructure for all UITests
PureWeen commentedon Jan 29, 2026
We should hopefully have an SR3.1 release out tomorrow
In the meantime if folks want to test it out the nugets are here
https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/1271213/artifacts?artifactName=PackageArtifacts&api-version=7.1&%24format=zip
PureWeen commentedon Jan 29, 2026
@SailDev Are you using Shell or Non-Shell? What types of pages are you transitioning between?
It'd be nice to reproduce your issue so once we apply a real fix here, we can make sure your scenario works alright
SailDev commentedon Jan 30, 2026
Shell:
Navigate to:
Data loading:
Navigate back logic:
Test device Samsung A55
Demo below (10.0.20) - fine
Screen_Recording_20260130_094643.mov
Demo below (10.0.30) - stuttering
Screen_Recording_20260130_101757.mov
PureWeen commentedon Jan 30, 2026
@SailDev @kellymmcd if you have a chance can you test the nugets here
https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/1271213/artifacts?artifactName=PackageArtifacts&api-version=7.1&%24format=zip
And see if it reproduces for you?
Internal testing indicated it still happens on a physical device, but I'm not able to reproduce on a physical device
PureWeen commentedon Feb 1, 2026
You can also use the following nuget feed
https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-maui-3c1c5669/nuget/v3/index.json
and install 10.0.31
kellymmcd commentedon Feb 1, 2026
@PureWeen Thanks, using 10.0.31 has fixed the issue for me.
SailDev commentedon Feb 2, 2026
@PureWeen Many thanks, 10.0.31 removed navigation stuttering problem!
[Android] Fixed SafeAreaEdges issue during Shell Navigation Transition (