Skip to content

[Android] Fix CollectionView items not resizing after orientation change on Shell pages - #34420

Merged
kubaflo merged 4 commits into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-19667
Jun 10, 2026
Merged

[Android] Fix CollectionView items not resizing after orientation change on Shell pages#34420
kubaflo merged 4 commits into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-19667

Merge branch 'inflight/current' into fix-19667

04b6b29
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jun 10, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

maui-pr / Pack .NET MAUI / Pack Windows / Copy Metadata

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌Error: Not found SourceFolder: D:\a\_work\1\s\artifacts\packages\Release\Shipping\metadata

maui-pr / Build .NET MAUI / Build Windows (Debug) / 🛠️ Build Microsoft.Maui.sln

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌src\Controls\tests\TestCases.HostApp\Issues\Issue7814.cs(45,30): error CS1061: 'Label' does not contain a definition for 'Column' and no accessible extension method 'Column' accepting a first argument of type 'Label' could be found (are you missing a using directive or an assembly reference?)
    ❌src\Controls\tests\TestCases.HostApp\Issues\Issue7814.cs(48,21): error CS1061: 'ScrollView' does not contain a definition for 'Row' and no accessible extension method 'Row' accepting a first argument of type 'ScrollView' could be found (are you missing a using directive or an assembly reference?)

maui-pr / Build .NET MAUI / Build Windows (Release) / 🛠️ Build Microsoft.Maui.sln

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌src\Controls\tests\TestCases.HostApp\Issues\Issue7814.cs(45,30): error CS1061: 'Label' does not contain a definition for 'Column' and no accessible extension method 'Column' accepting a first argument of type 'Label' could be found (are you missing a using directive or an assembly reference?)
    ❌src\Controls\tests\TestCases.HostApp\Issues\Issue7814.cs(48,21): error CS1061: 'ScrollView' does not contain a definition for 'Row' and no accessible extension method 'Row' accepting a first argument of type 'ScrollView' could be found (are you missing a using directive or an assembly reference?)

2 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr]

Test Failures (19 tests failed)

🔹 [All failing tests from maui-pr]

    ⚠️ 14 failing tests not displayed for this pipeline due to space limitations

    ConfigureFontsRegistersFonts [Console] [Details] [Artifacts] [3.42% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configuration

    ConfigureFontsRegistersTheCorrectServices [Console] [Details] [Artifacts] [2.95% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    System.ObjectDisposedException : Cannot access a disposed object.
    Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
    CallStack
       at System.Threading.ThreadLocal`1.GetValueSlow()
       at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() in /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs:line 108
       at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() in /_/src/Core/src/Dispatching/Dispatcher.cs:line 9
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 169
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.<ConfigureDispatching>b__1_1(IServiceProvider svc) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 25
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
       at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 158
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 181
       at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) in /_/src/Core/src/MauiContextExtensions.cs:line 83
       at Microsoft.Maui.Hosting.MauiAppBuilder.Build() in /_/src/Core/src/Hosting/MauiAppBuilder.cs:line 198
       at Microsoft.Maui.UnitTests.Hosting.HostBuilderFontsTests.ConfigureFontsRegistersTheCorrectServices() in /_/src/Core/tests/UnitTests/Hosting/HostBuilderFontsTests.cs:line 19
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    DurationMetricsRecordWithoutActivityListeners [Console] [Details] [Artifacts] [31.08% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configurations (2)

    MeasureAndArrangeDoNotAllocateWithoutListeners [Console] [Details] [Artifacts] [33.66% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (3)

    Exception Message
    System.ObjectDisposedException : Cannot access a disposed object.
    Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
    CallStack
       at System.Threading.ThreadLocal`1.GetValueSlow()
       at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() in /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs:line 108
       at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() in /_/src/Core/src/Dispatching/Dispatcher.cs:line 9
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 169
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.<ConfigureDispatching>b__1_1(IServiceProvider svc) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 25
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
       at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 158
       at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 181
       at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) in /_/src/Core/src/MauiContextExtensions.cs:line 83
       at Microsoft.Maui.Hosting.MauiAppBuilder.Build() in /_/src/Core/src/Hosting/MauiAppBuilder.cs:line 198
       at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() in /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs:line 117
       at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.MeasureAndArrangeDoNotAllocateWithoutListeners() in /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs:line 26
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.Controls.Xaml.UnitTests.dll.WorkItemExecution [Console] [Details] [Artifacts] [1.74% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configurations (4)

Was this helpful? Yes No