Skip to content

[Controls][Net11][WIP]VisualElement: Obsolete BackgroundColor in favor of Background - #36130

Draft
KarthikRajaKalaimani wants to merge 47 commits into
dotnet:net11.0from
KarthikRajaKalaimani:fix-28854
Draft

[Controls][Net11][WIP]VisualElement: Obsolete BackgroundColor in favor of Background#36130
KarthikRajaKalaimani wants to merge 47 commits into
dotnet:net11.0from
KarthikRajaKalaimani:fix-28854

[net11.0][Android] Fix Shell fragment teardown

ac14204
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jul 31, 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-uitests / Android UITests Material3 / Controls Material3 (API 36) / Controls Material3 (API 36)

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / Android UITests Material3 / Controls Material3 (API 36) / Publish the M3_android_ui_tests_controls_36 test results

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

maui-pr-uitests / WinUI UITests / Controls / Controls CollectionView / Controls CollectionView

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

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

Test Failures (6 tests failed)

🔹 [All failing tests from maui-pr-devicetests]

🔹 [All failing tests from maui-pr-uitests]

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

    Microsoft.Maui.TestCases.Tests.Issues.Issue20615(Windows).CollectionViewSelectedItemBackgroundLost [Details] [14.14% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: CollectionViewSelectedItemBackgroundLost.png (4.44% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 485
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 309
       at Microsoft.Maui.TestCases.Tests.Issues.Issue20615.CollectionViewSelectedItemBackgroundLost() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20615.cs:line 21
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
    Microsoft.Maui.TestCases.Tests.Issues.Issue29484(Windows).PointerOverWithSelectedStateShouldWork [Details] [15.85% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Snapshot different than baseline: PointerOverWithSelectedStateShouldWork.png (9.28% difference)
    If the correct baseline has changed (this isn't a a bug), then update the baseline image.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 485
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 309
       at Microsoft.Maui.TestCases.Tests.Issues.Issue29484.PointerOverWithSelectedStateShouldWork() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29484.cs:line 24
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
    Microsoft.Maui.TestCases.Tests.Issues.Issue35113(Windows).HorizontalGridFooterExpandsToContentWidth [Details] [4.53% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
      Footer width 0 should be > 100 when fully expanded. If ~30, ScrollDirection was not set on the supplementary TemplatedCell2.
    Assert.That(rect.Width, Is.GreaterThan(100))
      Expected: greater than 100
      But was:  0
    
    CallStack
       at Microsoft.Maui.TestCases.Tests.Issues.Issue35113.HorizontalGridFooterExpandsToContentWidth() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35113.cs:line 38
    

    1) at Microsoft.Maui.TestCases.Tests.Issues.Issue35113.HorizontalGridFooterExpandsToContentWidth() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35113.cs:line 38

Was this helpful? Yes No