Skip to content

Fix grouped CollectionView section removal on iOS - #36758

Merged
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
baaaaif:fix/grouped-collectionview-remove-crash
Jul 26, 2026
Merged

kubaflo merged 2 commits into
dotnet:inflight/currentfrom
baaaaif:fix/grouped-collectionview-remove-crash

Conversation

@baaaaif

@baaaaif baaaaif commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description of Change

Fixes the grouped iOS CollectionView removal path when UIKit still holds the old section count after an INotifyCollectionChanged.Remove notification. UpdateSection now runs only after Remove, when DeleteSections has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active CollectionViewHandler2. The test explicitly registers Handler2, verifies UIKit has realized all groups before removal, and then verifies the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test uses the active handler and cannot pass through the unloaded/reload path without exercising the stale-section scenario.

Issues Fixed

Fixes #34691

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@baaaaif
baaaaif had a problem deploying to copilot-pat-pool July 23, 2026 16:38 — with GitHub Actions Failure
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36758

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36758"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @@baaaaif! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @baaaaif! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Jul 23, 2026
@MauiBot MauiBot added s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-gate-failed AI could not verify tests catch the bug s/agent-fix-win AI found a better alternative fix than the PR s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) labels Jul 24, 2026
MauiBot

This comment was marked as outdated.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Jul 24, 2026
@baaaaif

baaaaif commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

The requested change appears to be based on an invalid before-fix gate result: that run reports Passed: 0 / Failed: 0, so it did not execute RemovingGroupedCollectionViewSectionDoesNotCrash. It therefore cannot establish that the new regression test passes on the broken implementation.

The submitted fix is intentionally narrower: it skips only the pre-remove UpdateSection reconciliation, while retaining Remove, DeleteSections, and the existing section-removal animation. The proposed Reload() alternative changes the observable behavior for every grouped section removal and should not replace the current fix without a reproducible failure in the existing delete path.

I will keep the current implementation and re-run the comparison once the before-fix gate is corrected to verify that the target test is actually discovered and executed.

@kubaflo

kubaflo commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Jul 24, 2026
@MauiBot MauiBot added s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates and removed s/agent-fix-win AI found a better alternative fix than the PR labels Jul 24, 2026
MauiBot

This comment was marked as outdated.

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Review — 1 findings

See inline comments for details.

});

var data = new List<string> { "item 1", "item 2" };
var groupData = new ObservableCollection<CollectionViewStringGroup>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 AI-Generated Review (multi-model)

[major] Regression Prevention — This regression test still uses CollectionViewStringGroup, which derives from List<string>, and the gate already showed the test passes even when the product fix is removed. That means it does not prove the reported ObservableGroupedSource.GetGroupCount crash is fixed. Please make the fixture reproduce the original failing path, e.g. use groups backed by ObservableCollection<string> as in the try-fix candidates, so the test fails without the ObservableGroupedSource change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks — updated the fixture in ba526da so CollectionViewStringGroup derives from ObservableCollection, matching the reported IList + INotifyCollectionChanged group scenario. I kept the production change focused on skipping the pre-remove UpdateSection: the prior gate output showed Passed: 0 / Failed: 0, so it does not establish a baseline execution. Reloading for every grouped remove would also discard the UIKit section-delete animation and is not necessary for this stale-section mismatch.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Jul 24, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo

This comment has been minimized.

MauiBot

This comment was marked as outdated.

@kubaflo
kubaflo changed the base branch from main to inflight/current July 26, 2026 19:30
@kubaflo
kubaflo merged commit 1d3dd35 into dotnet:inflight/current Jul 26, 2026
3 of 4 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR10 milestone Jul 26, 2026
@MauiBot MauiBot added s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates and removed s/agent-fix-win AI found a better alternative fix than the PR labels Jul 26, 2026
rmarinho added a commit that referenced this pull request Jul 26, 2026
@MauiBot

MauiBot commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

AI Review Summary

@baaaaif — new AI review results are available based on this last commit: ba526da.

Gate Partial Confidence Low Platform iOS


🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix

Gate Result: ❌ FAILED

Platform: IOS · Base: main · Merge base: 997d875b

🩺 Test does not reproduce the bug — ran the same in both states (PASS without fix, PASS with fix). The repro test is not exercising the issue. Strengthen the test before reviewing the fix.

Test Without Fix (expect FAIL) With Fix (expect PASS)
📱 CollectionViewTests (RemovingGroupedCollectionViewSectionDoesNotCrash) Category=CollectionView ❌ PASS — 395s ✅ PASS — 80s
🔴 Without fix — 📱 CollectionViewTests (RemovingGroupedCollectionViewSectionDoesNotCrash): PASS ❌ · 395s

(no coded error found; showing last 1200 chars)

": "HQLTF9N49N-1",
        "exitCode": 0,
        "exitCodeName": "SUCCESS",
        "platform": "apple",
        "device": "iPhone 11 Pro",
        "deviceOsVersion": "26.5",
        "files": [
          {
            "name": "test-ios-simulator-64_26.5-3CD9944B-7225-44A6-B84E-A9F16E1E0C0D.log",
            "type": "executionlog"
          },
          {
            "name": "list-ios-simulator-64_26.5-20260726_114422.log",
            "type": "devicelist"
          },
          {
            "name": "test-ios-simulator-64_26.5-20260726_114430.log",
            "type": "testlog"
          },
          {
            "name": "iPhone 11 Pro.log",
            "type": "systemlog"
          },
          {
            "name": "Microsoft.Maui.Controls.DeviceTests.log",
            "type": "systemlog"
          },
          {
            "name": "com.microsoft.maui.controls.devicetests.log",
            "type": "applicationlog"
          },
          {
            "name": "xunit-test-ios-simulator-64_26.5-20260726_114430.xml",
            "type": "xmllog"
          }
        ]
      }
      <<XHARNESS_RESULT_END>>
XHarness exit code: 0
  Passed: 0
  Failed: 0
  Tests completed successfully

🟢 With fix — 📱 CollectionViewTests (RemovingGroupedCollectionViewSectionDoesNotCrash): PASS ✅ · 80s

(no coded error found; showing last 1200 chars)

 "HQLTF9N49N-1",
        "exitCode": 0,
        "exitCodeName": "SUCCESS",
        "platform": "apple",
        "device": "iPhone 11 Pro",
        "deviceOsVersion": "26.5",
        "files": [
          {
            "name": "test-ios-simulator-64_26.5-3CD9944B-7225-44A6-B84E-A9F16E1E0C0D.log",
            "type": "executionlog"
          },
          {
            "name": "list-ios-simulator-64_26.5-20260726_114812.log",
            "type": "devicelist"
          },
          {
            "name": "test-ios-simulator-64_26.5-20260726_114817.log",
            "type": "testlog"
          },
          {
            "name": "iPhone 11 Pro.log",
            "type": "systemlog"
          },
          {
            "name": "Microsoft.Maui.Controls.DeviceTests.log",
            "type": "systemlog"
          },
          {
            "name": "com.microsoft.maui.controls.devicetests.log",
            "type": "applicationlog"
          },
          {
            "name": "xunit-test-ios-simulator-64_26.5-20260726_114817.xml",
            "type": "xmllog"
          }
        ]
      }
      <<XHARNESS_RESULT_END>>
XHarness exit code: 0
  Passed: 129
  Failed: 0
  Tests completed successfully

⚠️ Failure Details

  • ❌ CollectionViewTests (RemovingGroupedCollectionViewSectionDoesNotCrash) PASSED without fix (should fail) — tests don't catch the bug
📁 Fix files reverted (1 files)
  • src/Controls/src/Core/Handlers/Items/iOS/ObservableGroupedSource.cs

📱 UI Tests — CollectionView,ViewBaseTests

Detected UI test categories: CollectionView,ViewBaseTests

❌ Deep UI tests — 370 passed, 121 failed across 2 categories on platform-pool agent (replaces in-process counts above).

🧪 UI Test Execution Results (deep, platform pool)

Category Tests Snapshot diffs
CollectionView 357/383 (24 ❌) 48 diff PNGs
ViewBaseTests 13/110 (97 ❌) 194 diff PNGs
🔍 AI analysis of failures — PR-related vs unrelated

🔍 AI-generated triage (GitHub Copilot CLI) — a heuristic judgement of whether each deep UI test failure is connected to this PR's changes. Verify before relying on it.

Likely unrelated: the failures appear pre-existing, flaky, or infrastructure.

  • ● Unrelated — Run-wide iOS visual snapshot drift across unrelated controls (90+ tests): ViewBaseTests failures span Clip, AppTheme, ContentView, visual transforms, shadows, and other areas untouched by this PR, all with the same “Snapshot different than baseline” pattern and small image-diff percentages.
  • ● Unrelated — CollectionView screenshot mismatches (~24 tests): although the PR changes iOS CollectionView grouped-source removal handling, these failures are visual baseline comparisons across empty view, selection, header/footer, and scrolling scenarios rather than grouped-section removal crashes or stack paths through the modified logic.
  • ● Unrelated — Grouped CollectionView visual cases (several tests): the changed code only skips UpdateSection during NotifyCollectionChangedAction.Remove, while representative grouped failures such as VerifyMeasureAllItemsWithGroupedList are static screenshot-baseline mismatches with no remove action or UIKit consistency exception.

Strongest signal: the same snapshot-baseline failure mode appears broadly in controls unrelated to CollectionView, so the CollectionView rows look like part of a run-wide iOS visual baseline/environment drift rather than a regression from this PR.

📸 Snapshot differences — baseline vs actual vs diff (top 60 of 242 · ranked by PR-relevance · full set in the artifact above)

For each failing VerifyScreenshot snapshot: the committed baseline, the actual render on this CI agent, and the computed diff. Ordered by likely PR-relevance — snapshots whose baseline/test file this PR changed are shown first. A large, uniform diff across many snapshots is usually a cross-machine baseline/environment mismatch (e.g. the macOS TitleBar / window chrome), not a code regression — compare against baseline history before concluding.

HeaderFooterGridWorks — `ui-diagnostics` · CollectionView
Actual (CI)Diff
HeaderFooterGridWorks actualHeaderFooterGridWorks diff
HeaderFooterGridWorks — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
HeaderFooterGridWorks baselineHeaderFooterGridWorks actualHeaderFooterGridWorks diff
HeaderFooterTemplateWorks — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
HeaderFooterTemplateWorks baselineHeaderFooterTemplateWorks actualHeaderFooterTemplateWorks diff
HeaderFooterTemplateWorks — `ui-diagnostics` · CollectionView
Actual (CI)Diff
HeaderFooterTemplateWorks actualHeaderFooterTemplateWorks diff
SelectedItemVisualIsCleared — `ui-diagnostics` · CollectionView
Actual (CI)Diff
SelectedItemVisualIsCleared actualSelectedItemVisualIsCleared diff
SelectedItemVisualIsCleared — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
SelectedItemVisualIsCleared baselineSelectedItemVisualIsCleared actualSelectedItemVisualIsCleared diff
VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection baselineVerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection actualVerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection diff
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection baselineVerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection actualVerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection baselineVerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection actualVerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection baselineVerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection actualVerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection diff
VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection baselineVerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection baselineVerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection actualVerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList baselineVerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList actualVerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList actualVerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection baselineVerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection actualVerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection actualVerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList baselineVerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList actualVerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList actualVerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection baselineVerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection actualVerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection actualVerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection diff
VerifyMeasureAllItemsWithGroupedList — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyMeasureAllItemsWithGroupedList baselineVerifyMeasureAllItemsWithGroupedList actualVerifyMeasureAllItemsWithGroupedList diff
VerifyMeasureAllItemsWithGroupedList — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyMeasureAllItemsWithGroupedList actualVerifyMeasureAllItemsWithGroupedList diff
VerifyMeasureAllItemsWithObservableCollection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyMeasureAllItemsWithObservableCollection actualVerifyMeasureAllItemsWithObservableCollection diff
VerifyMeasureAllItemsWithObservableCollection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyMeasureAllItemsWithObservableCollection baselineVerifyMeasureAllItemsWithObservableCollection actualVerifyMeasureAllItemsWithObservableCollection diff
VerifyModelItemsGroupedListWhenMultipleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyModelItemsGroupedListWhenMultipleModePreSelection baselineVerifyModelItemsGroupedListWhenMultipleModePreSelection actualVerifyModelItemsGroupedListWhenMultipleModePreSelection diff
VerifyModelItemsGroupedListWhenMultipleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyModelItemsGroupedListWhenMultipleModePreSelection actualVerifyModelItemsGroupedListWhenMultipleModePreSelection diff
VerifyModelItemsGroupedListWhenSingleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyModelItemsGroupedListWhenSingleModePreSelection baselineVerifyModelItemsGroupedListWhenSingleModePreSelection actualVerifyModelItemsGroupedListWhenSingleModePreSelection diff
VerifyModelItemsGroupedListWhenSingleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyModelItemsGroupedListWhenSingleModePreSelection actualVerifyModelItemsGroupedListWhenSingleModePreSelection diff
VerifyModelItemsObservableCollectionWhenMultipleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyModelItemsObservableCollectionWhenMultipleModePreSelection baselineVerifyModelItemsObservableCollectionWhenMultipleModePreSelection actualVerifyModelItemsObservableCollectionWhenMultipleModePreSelection diff
VerifyModelItemsObservableCollectionWhenMultipleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyModelItemsObservableCollectionWhenMultipleModePreSelection actualVerifyModelItemsObservableCollectionWhenMultipleModePreSelection diff
VerifyModelItemsObservableCollectionWhenSingleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyModelItemsObservableCollectionWhenSingleModePreSelection actualVerifyModelItemsObservableCollectionWhenSingleModePreSelection diff
VerifyModelItemsObservableCollectionWhenSingleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyModelItemsObservableCollectionWhenSingleModePreSelection baselineVerifyModelItemsObservableCollectionWhenSingleModePreSelection actualVerifyModelItemsObservableCollectionWhenSingleModePreSelection diff
VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList baselineVerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList actualVerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList diff
VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList actualVerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList diff
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList baselineVerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList actualVerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList diff
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList actualVerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList diff
VerifyStringItemsGroupedListWhenMultipleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyStringItemsGroupedListWhenMultipleModePreSelection baselineVerifyStringItemsGroupedListWhenMultipleModePreSelection actualVerifyStringItemsGroupedListWhenMultipleModePreSelection diff
VerifyStringItemsGroupedListWhenMultipleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyStringItemsGroupedListWhenMultipleModePreSelection actualVerifyStringItemsGroupedListWhenMultipleModePreSelection diff
VerifyStringItemsObservableCollectionWhenMultipleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyStringItemsObservableCollectionWhenMultipleModePreSelection baselineVerifyStringItemsObservableCollectionWhenMultipleModePreSelection actualVerifyStringItemsObservableCollectionWhenMultipleModePreSelection diff
VerifyStringItemsObservableCollectionWhenMultipleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyStringItemsObservableCollectionWhenMultipleModePreSelection actualVerifyStringItemsObservableCollectionWhenMultipleModePreSelection diff
VerifyStringItemsObservableCollectionWhenSingleModePreSelection — `ui-diagnostics` · CollectionView
Actual (CI)Diff
VerifyStringItemsObservableCollectionWhenSingleModePreSelection actualVerifyStringItemsObservableCollectionWhenSingleModePreSelection diff
VerifyStringItemsObservableCollectionWhenSingleModePreSelection — `ios-26` · CollectionView
Baseline (committed)Actual (CI)Diff
VerifyStringItemsObservableCollectionWhenSingleModePreSelection baselineVerifyStringItemsObservableCollectionWhenSingleModePreSelection actualVerifyStringItemsObservableCollectionWhenSingleModePreSelection diff
Border_ClipNull_NoCrash — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipNull_NoCrash baselineBorder_ClipNull_NoCrash actualBorder_ClipNull_NoCrash diff
Border_ClipNull_NoCrash — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipNull_NoCrash actualBorder_ClipNull_NoCrash diff
Border_ClipWithNestedContent — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipWithNestedContent baselineBorder_ClipWithNestedContent actualBorder_ClipWithNestedContent diff
Border_ClipWithNestedContent — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipWithNestedContent actualBorder_ClipWithNestedContent diff
Border_ClipWithRotation — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipWithRotation actualBorder_ClipWithRotation diff
Border_ClipWithRotation — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipWithRotation baselineBorder_ClipWithRotation actualBorder_ClipWithRotation diff
Border_ClipWithRotationAndScale — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipWithRotationAndScale actualBorder_ClipWithRotationAndScale diff
Border_ClipWithRotationAndScale — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipWithRotationAndScale baselineBorder_ClipWithRotationAndScale actualBorder_ClipWithRotationAndScale diff
Border_ClipWithShadow — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipWithShadow actualBorder_ClipWithShadow diff
Border_ClipWithShadow — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipWithShadow baselineBorder_ClipWithShadow actualBorder_ClipWithShadow diff
Border_ClipWithStrokeColorBlue — `ios-26` · ViewBaseTests
Baseline (committed)Actual (CI)Diff
Border_ClipWithStrokeColorBlue baselineBorder_ClipWithStrokeColorBlue actualBorder_ClipWithStrokeColorBlue diff
Border_ClipWithStrokeColorBlue — `ui-diagnostics` · ViewBaseTests
Actual (CI)Diff
Border_ClipWithStrokeColorBlue actualBorder_ClipWithStrokeColorBlue diff
❌ CollectionView — 24 failed tests
VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyCustomEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection.png (0.70% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreensho
...
HeaderFooterTemplateWorks
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: HeaderFooterTemplateWorks.png (0.61% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Null
...
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 515
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack targe
...
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyCustomSizedEmptyViewDisplaysCorrectly_WithLeftToRightFlowDirection.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScre
...
VerifyStringItemsObservableCollectionWhenSingleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyStringItemsObservableCollectionWhenSingleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyStringItemsObservableCollectionWhenSingleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 610
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** ar
...
VerifyMeasureAllItemsWithObservableCollection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyMeasureAllItemsWithObservableCollection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests.VerifyMeasureAllItemsWithObservableCollection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ScrollingFeatureTests.cs:line 51
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL is
...
VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyFlowDirectionRTLAndMeasureAllItemsWithGroupedList.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String nam
...
VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyCustomSizedEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection.png (0.70% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.Ve
...
VerifyStringItemsObservableCollectionWhenMultipleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyStringItemsObservableCollectionWhenMultipleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyStringItemsObservableCollectionWhenMultipleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 630
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void*
...
VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 533
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack t
...
VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyFlowDirectionLTRAndMeasureAllItemsWithGroupedList.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String nam
...
VerifyModelItemsObservableCollectionWhenSingleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyModelItemsObservableCollectionWhenSingleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyModelItemsObservableCollectionWhenSingleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 652
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** argu
...
VerifyModelItemsObservableCollectionWhenMultipleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyModelItemsObservableCollectionWhenMultipleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyModelItemsObservableCollectionWhenMultipleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 674
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** 
...
VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyFlowDirectionLTRAndMeasureAllItemsWithObservableCollection.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(S
...
VerifyMeasureAllItemsWithGroupedList
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyMeasureAllItemsWithGroupedList.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests.VerifyMeasureAllItemsWithGroupedList() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ScrollingFeatureTests.cs:line 103
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, Obje
...
VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyEmptyViewTemplateDisplaysCorrectly_WithLeftToRightFlowDirection.png (0.70% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreens
...
SelectedItemVisualIsCleared
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: SelectedItemVisualIsCleared.png (1.12% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nu
...
VerifyStringItemsGroupedListWhenMultipleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyStringItemsGroupedListWhenMultipleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyStringItemsGroupedListWhenMultipleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 722
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, Objec
...
VerifyModelItemsGroupedListWhenSingleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyModelItemsGroupedListWhenSingleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyModelItemsGroupedListWhenSingleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 748
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandl
...
VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyCustomSizedEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScre
...
VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyFlowDirectionRTLAndMeasureAllItemsWithObservableCollection.png (0.55% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(S
...
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection.png (0.70% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreensho
...
VerifyModelItemsGroupedListWhenMultipleModePreSelection
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyModelItemsGroupedListWhenMultipleModePreSelection.png (0.58% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyModelItemsGroupedListWhenMultipleModePreSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 774
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectH
...
HeaderFooterGridWorks
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: HeaderFooterGridWorks.png (0.61% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable
...
❌ ViewBaseTests — 97 failed tests
Button_ClipWithShadow
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Button_ClipWithShadow.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Button_ClipWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 264
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(
...
DarkTheme_Switch_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_Switch_VerifyVisualState.png (2.01% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.DarkTheme_Switch_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System
...
Border_ClipWithShadow
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Border_ClipWithShadow.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Border_ClipWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 130
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(
...
DarkTheme_EditorAndPlaceholderColor_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_EditorAndPlaceholderColor_VerifyVisualState.png (2.87% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name,
...
DarkTheme_Editor_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_Editor_VerifyVisualState.png (2.01% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.DarkTheme_Editor_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 286
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System
...
LightTheme_Switch_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: LightTheme_Switch_VerifyVisualState.png (0.77% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.LightTheme_Switch_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 185
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at Syst
...
DefaultContentWithShadow
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DefaultContentWithShadow.png (0.68% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ContentViewFeatureTests.DefaultContentWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ContentViewFeatureTests.cs:line 146
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethod
...
ContentView_ClipWithRectangleGeometry
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ContentView_ClipWithRectangleGeometry.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.ContentView_ClipWithRectangleGeometry() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 533
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.R
...
VisualTransform_RotationXWithRotationY
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VisualTransform_RotationXWithRotationY.png (0.53% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 ret
...
BoxView_ClipWithColorGreen
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: BoxView_ClipWithColorGreen.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.BoxView_ClipWithColorGreen() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 156
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.Inv
...
VisualTransform_ScaleXWithAnchorYAndRotationY
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VisualTransform_ScaleXWithAnchorYAndRotationY.png (0.53% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullabl
...
FirstCustomPageWithCardColorChanged
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: FirstCustomPageWithCardColorChanged.png (0.68% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ContentViewFeatureTests.FirstCustomPageWithCardColorChanged() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ContentViewFeatureTests.cs:line 289
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   a
...
DarkTheme_CheckBox_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_CheckBox_VerifyVisualState.png (2.01% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.DarkTheme_CheckBox_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 67
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFla
...
Button_ClipWithText
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Button_ClipWithText.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Button_ClipWithText() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 243
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(Obje
...
Button_ClipWithImageSource
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Button_ClipWithImageSource.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Button_ClipWithImageSource() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 223
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.Inv
...
BoxView_ClipWithShadow
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: BoxView_ClipWithShadow.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.BoxView_ClipWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMetho
...
LightTheme_CheckBox_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: LightTheme_CheckBox_VerifyVisualState.png (0.77% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.LightTheme_CheckBox_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 55
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingF
...
FirstCustomPageWithBackgroundColor
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: FirstCustomPageWithBackgroundColor.png (0.60% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ContentViewFeatureTests.FirstCustomPageWithBackgroundColor() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ContentViewFeatureTests.cs:line 216
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at 
...
ContentView_ClipWithShadow
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ContentView_ClipWithShadow.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.ContentView_ClipWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 586
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.Inv
...
Image_ClipWithPolyQuadraticBezierSegmentPath
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Image_ClipWithPolyQuadraticBezierSegmentPath.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Image_ClipWithPolyQuadraticBezierSegmentPath() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 447
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)

...
ContentView_ClipNull_NoCrash
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ContentView_ClipNull_NoCrash.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.ContentView_ClipNull_NoCrash() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 785
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle
...
SecondCustomPageWithBackgroundColorChanged
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: SecondCustomPageWithBackgroundColorChanged.png (0.68% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ContentViewFeatureTests.SecondCustomPageWithBackgroundColorChanged() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ContentViewFeatureTests.cs:line 304
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStac
...
DarkTheme_EntryAndPlaceholderColor_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_EntryAndPlaceholderColor_VerifyVisualState.png (2.87% 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
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 477
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, 
...
Border_ClipNull_NoCrash
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Border_ClipNull_NoCrash.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Border_ClipNull_NoCrash() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 695
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMet
...
Button_ClipNull_NoCrash
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Button_ClipNull_NoCrash.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Button_ClipNull_NoCrash() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 755
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMet
...
Border_ClipWithStrokeColorGreen
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Border_ClipWithStrokeColorGreen.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Border_ClipWithStrokeColorGreen() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 90
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodH
...
DefaultContentWithHeightRequest
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DefaultContentWithHeightRequest.png (0.68% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ContentViewFeatureTests.DefaultContentWithHeightRequest() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ContentViewFeatureTests.cs:line 119
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System
...
Border_ClipWithRotationAndScale
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Border_ClipWithRotationAndScale.png (0.56% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.ClipFeatureTests.Border_ClipWithRotationAndScale() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ClipFeatureTests.cs:line 1086
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMetho
...
LightTheme_DatePicker_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: LightTheme_DatePicker_VerifyVisualState.png (0.77% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.LightTheme_DatePicker_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 86
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags i
...
DarkTheme_Slider_VerifyVisualState
VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DarkTheme_Slider_VerifyVisualState.png (2.01% 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
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) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.AppThemeFeatureTests.DarkTheme_Slider_VerifyVisualState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/AppThemeFeatureTests.cs:line 174
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System
...

(+67 more — see TRX in artifact)

📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)


📋 Pre-Flight — Context & Validation

Issue: #34691 - [iOS] CollectionView (grouped): ArgumentOutOfRangeException in ObservableGroupedSource.GetGroupCount when removing a section
PR: #36758 - Fix grouped CollectionView section removal on iOS
Platforms Affected: iOS (and MacCatalyst by shared .iOS.cs compilation path)
Files Changed: 1 implementation, 1 test

Key Findings

  • The issue is a stale UIKit/managed-source section count mismatch after grouped INotifyCollectionChanged.Remove: the backing group source is already shrunk while UIKit can still report the old section count.
  • PR Fix grouped CollectionView section removal on iOS #36758 currently skips the pre-switch UpdateSection(collectionView) only for NotifyCollectionChangedAction.Remove, preserving the post-remove reconciliation.
  • The added regression test targets CollectionViewHandler2, uses ObservableCollection<string>-backed groups, realizes native sections, removes the last section, and asserts the native section count updates.
  • Prior inline review feedback that the group fixture used List<string> was addressed by changing CollectionViewStringGroup to derive from ObservableCollection<string>.
  • Gate result supplied to this run says gate verification failed because tests did not behave as expected; per instruction this pre-flight does not re-run or overwrite gate output.

Code Review Summary

Verdict: NEEDS_CHANGES
Confidence: low
Errors: 1 | Warnings: 1 | Suggestions: 1

Key code review findings:

  • ✗ Regression test remains unproven by current gate evidence: a prior current-head gate finding says RemovingGroupedCollectionViewSectionDoesNotCrash passed both without and with the product fix.
  • ⚠ ObservableGroupedSource.cs:170 guards only Remove; Reset/Clear can have a similar already-shrunk-source vs stale-UIKit-section shape.
  • ℹ CollectionViewTests.iOS.cs:92 removes the last group only; the issue repro removes from the front, so front/middle removal would better cover index-shift behavior.

Fix Candidates

# Source Approach Test Result Files Changed Notes
PR PR #36758 Skip pre-processing UpdateSection for grouped Remove actions; keep post-processing update after DeleteSections. ❌ Gate failed ObservableGroupedSource.cs, CollectionViewTests.iOS.cs Original PR; plausible product fix but test proof is currently insufficient.

🔬 Code Review — Deep Analysis

Code Review — PR #36758

Independent Assessment

What this changes: The iOS/MacCatalyst grouped ObservableGroupedSource skips the pre-switch UpdateSection() call for NotifyCollectionChangedAction.Remove, then lets the existing remove path delete UIKit sections and performs the post-switch UpdateSection() afterward. It also adds an iOS device regression test using CollectionViewHandler2.
Inferred motivation: Avoid querying UIKit's stale pre-delete section count after the managed grouped source has already removed a group, which can re-enter GetGroupCount with an out-of-range section index.

Reconciliation with PR Narrative

Author claims: The PR fixes grouped iOS CollectionView section removal when UIKit still holds the old section count, supersedes #34692, and adds a Handler2 regression test that realizes sections before removal.
Agreement/disagreement: The product change matches the described remove-specific root cause. However, prior gate evidence for the current commit still says the regression test passed without the product fix, so test coverage remains unproven unless that gate result is invalidated by a new before/after run.

Prior Review Reconciliation

Prior ❌ Error Finding Source Status Evidence
Regression test used CollectionViewStringGroup : List<string>, so it did not exercise the reported IList + INotifyCollectionChanged group path. MauiBot inline comment on CollectionViewTests.iOS.cs:65 ✅ Fixed Current CollectionViewStringGroup derives from ObservableCollection<string> at CollectionViewTests.iOS.cs:100.
Current gate says RemovingGroupedCollectionViewSectionDoesNotCrash passed both without and with the product fix, so the test has not proven the stale-section crash. MauiBot top-level review on current head ba526da, state CHANGES_REQUESTED ❌ Unresolved No newer successful before/after gate is available locally; gh is unauthenticated and public check-runs show Build Analysis still in progress. Per the skill, unresolved prior ❌ findings force NEEDS_CHANGES.

Blast Radius Assessment

  • Runs for all instances: No; it is limited to grouped iOS/MacCatalyst CollectionView sources receiving INotifyCollectionChanged notifications.
  • Startup impact: No.
  • Static/shared state: No.

CI Status

  • Required-check result: Undetermined. gh pr checks 36758 --repo dotnet/maui --required failed because GitHub CLI is unauthenticated. Supplemental public GitHub check-runs show Build Analysis is still in_progress.
  • Classification: Undetermined / pending.
  • Action taken: Invoked azdo-build-investigator; required ci-analysis skill was unavailable in this environment. Confidence capped at low and verdict cannot be LGTM.

Findings

❌ Error — Regression test remains unproven by current gate evidence

Prior MauiBot review on the current head reports that RemovingGroupedCollectionViewSectionDoesNotCrash passed both without and with the product fix. I cannot verify a newer before/after run in this environment, so this prior ❌ finding remains unresolved. This blocks merge readiness even though the product-code ordering change is plausible.

⚠️ Warning — Pre-update guard is remove-only, but other shrink notifications can have the same stale-section shape

src/Controls/src/Core/Handlers/Items/iOS/ObservableGroupedSource.cs:170 skips the unsafe pre-switch UpdateSection() only for Remove. A visible grouped collection that receives Reset/Clear can also have an already-shrunk _groupSource while UIKit still reports old sections, so the same NumberOfItemsInSection → GetGroupCount out-of-range path appears reachable. If this PR intends to address the stale-section root cause, consider guarding based on UIKit/source section counts or adding a laid-out Clear regression test.

💡 Suggestion — Cover non-tail group removal

src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.iOS.cs:92 removes only the last group. The reported issue's repro uses RemoveAt(0), and middle/front removals are common. A parameterized tail/front removal test would better cover the index-shift scenario.

Failure-Mode Probing

  • Removing a group while UIKit still reports the old section count: the new guard avoids the pre-remove accounting query, then DeleteSections reconciles UIKit before the post-update pass.
  • Clearing/resetting a visible grouped source: the pre-switch UpdateSection() still runs before Reload(true), so stale UIKit section queries may still hit a shrunken _groupSource.
  • Handler2 vs legacy Items source: Handler2 still uses Items.ItemsSourceFactory.CreateGrouped, so this Items/iOS source change is relevant to the active iOS Handler2 path despite the deprecated file location.
  • Hidden/unloaded collection: UpdateSection and Update short-circuit/reload paths reduce risk, which is why tests must force visibility/layout to prove the crash path.

Verdict: NEEDS_CHANGES

Confidence: low
Summary: The remove-specific product fix is plausible, and one earlier test-fixture issue was addressed. But the current prior gate still reports that the regression test does not fail without the fix, and CI/required checks are undetermined/pending in this environment. Per the skill's consistency rules, unresolved prior ❌ gate evidence and pending CI prevent LGTM.


🛠️ Fix — Analysis & Comparison

Fix Candidates

# Source Approach Test Result Files Changed Notes
1 try-fix Restore pre-UpdateSection ordering and add defensive bounds check in GetGroupCount. ✅ PASS — iOS CollectionView device category (Tests run: 47 Passed: 43 Failed: 0 Ignored: 4) 1 file Not selected; masks stale section queries rather than avoiding invalid UIKit accounting.
2 try-fix Clamp UpdateSection to Math.Min(UICollectionView.NumberOfSections, GroupsCount()). ✅ PASS — iOS CollectionView device category (Tests run: 47 Passed: 43 Failed: 0 Ignored: 4) 1 file Rejected by expert review; still queries shifted sections before DeleteSections.
3 try-fix Skip pre-switch UpdateSection for both Remove and Reset; preserve post-change reconciliation. ✅ PASS — iOS CollectionView device category (Tests run: 47 Passed: 43 Failed: 0 Ignored: 4) 1 file Selected; broader than PR fix and avoids candidate 2's shifted-section flaw.
PR PR #36758 Skip pre-switch UpdateSection for Remove only. ❌ Gate failed (provided prior result) 2 files Plausible production fix, but Reset/Clear stale-section shape remains uncovered.

Cross-Pollination / Expert Review Loop

Round Input New Learning Outcome
Pre-flight code review PR diff + issue context Prior gate did not prove test failure without fix; Reset/Clear may hit same stale-section path. Generated candidates beyond the PR's Remove-only guard.
Candidate 1 review Defensive GetGroupCount bounds Passing tests are insufficient; returning 0 can hide UIKit/source accounting mismatch. Continue.
Candidate 2 expert review Clamped UpdateSection Clamping avoids out-of-range but still queries shifted sections for front/middle removes with different group sizes. Rejected; feed failure into next candidate.
Candidate 3 expert review Remove + Reset pre-update skip Reset/Clear has same stale UIKit section hazard; Reload(true) makes skipping pre-reload query low risk. Prefer candidate 3.

Exhausted: Yes — explored the meaningful alternative families: defensive data-source guard, helper-level clamping, and action/lifecycle gating. Further variants would be trivial reshaping of these approaches.
Selected Fix: Candidate #3 — skip pre-switch UpdateSection for both Remove and Reset. It passes the same iOS CollectionView regression set and is demonstrably better than the PR's Remove-only guard because it covers Clear/Reset stale-section callbacks without reintroducing pre-delete shifted-section queries.


📝 Recommended PR Title & Description

Assessment: ✏️ Recommend updating — the winning fix also guards the Reset/Clear stale-section path, so the current title and description are too Remove-only.

Recommended title

[iOS] CollectionView: Fix grouped section removal and reset updates

Recommended description

### Description of Change

Fixes the grouped iOS `CollectionView` update path when UIKit still holds the old section count after the managed grouped source has already changed.

The pre-switch `UpdateSection` reconciliation is now skipped for `INotifyCollectionChanged.Remove` and `INotifyCollectionChanged.Reset`, because both paths can leave UIKit querying stale sections before `DeleteSections` or `Reload(true)` reconciles the native collection view with the already-mutated source. The existing post-change update/reload path still performs reconciliation after the source and UIKit are back in sync.

Adds an iOS device regression test for the active `CollectionViewHandler2`. The test explicitly registers Handler2, verifies UIKit has realized all groups before removal, and then verifies the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test uses the active handler and cannot pass through the unloaded/reload path without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

🏁 Report — Final Recommendation

Comparative Report — PR #36758

Ranking

Rank Candidate Regression result Assessment
1 pr-plus-reviewer Not re-run in this phase; product change matches passed try-fix-3 Best candidate. Applies the expert reviewer's required Reset/Clear guard on top of the PR, preserving the PR's Handler2 regression test and avoiding the raw PR's Remove-only gap.
2 try-fix-3 ✅ PASS — iOS CollectionView device category (47 run, 43 passed, 4 ignored) Strongest STEP 5a standalone candidate. It extends the PR's guard to Reset, avoiding stale UIKit/source section queries for Remove and Clear/Reset. Ranked just below pr-plus-reviewer because the latter is the PR fix plus the same reviewer feedback.
3 try-fix-1 ✅ PASS — iOS CollectionView device category (47 run, 43 passed, 4 ignored) Passing but less semantically correct. A defensive GetGroupCount bounds check prevents the out-of-range exception, but masks UIKit/source accounting mismatch instead of avoiding the invalid pre-delete query.
4 try-fix-2 ✅ PASS — iOS CollectionView device category (47 run, 43 passed, 4 ignored) Passing but rejected by review. Clamping UpdateSection avoids out-of-range section access, but still queries shifted sections before DeleteSections, which can poison UIKit accounting for front/middle removals with differing group sizes.
5 pr ❌ Gate failed — test passed without and with fix The raw PR product change is plausible for Remove, but the gate says the new test did not prove the bug and expert review found the same stale-section shape remains for Reset/Clear. Failed-gate candidates are ranked below passing candidates.

Winner

pr-plus-reviewer wins. It keeps the PR's focused Remove fix and Handler2 regression coverage, incorporates the expert reviewer's blocking Reset/Clear correction, and aligns with the STEP 5a candidate (try-fix-3) that already passed the iOS CollectionView regression category.

Notes

  • The supplied gate result for the raw PR remains failed and was not re-run.
  • try-fix-3 and pr-plus-reviewer have the same material product-code improvement: skip the pre-switch UpdateSection for both Remove and Reset.
  • No try-fix-* candidate with a failed regression result outranks a passing candidate.

🧭 Next Steps — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

kubaflo pushed a commit that referenced this pull request Jul 28, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Jul 29, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Aug 7, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Aug 12, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@sheiksyedm sheiksyedm modified the milestones: .NET 10 SR10, .NET 10 SR11 Aug 26, 2026
kubaflo pushed a commit that referenced this pull request Aug 27, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 2, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 3, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 3, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 4, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 6, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 7, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 7, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 8, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 8, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 9, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Sep 9, 2026
### Description of Change

Fixes the grouped iOS `CollectionView` removal path when UIKit still
holds the old section count after an `INotifyCollectionChanged.Remove`
notification. `UpdateSection` now runs only after `Remove`, when
`DeleteSections` has reconciled UIKit with the already-mutated source.

Adds an iOS device regression test for the active
`CollectionViewHandler2`. The test explicitly registers Handler2,
verifies UIKit has realized all groups before removal, and then verifies
the native section count after removal.

This supersedes #34692 and incorporates its review feedback: the test
uses the active handler and cannot pass through the unloaded/reload path
without exercising the stale-section scenario.

### Issues Fixed

Fixes #34691

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-gate-failed AI could not verify tests catch the bug s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] CollectionView (grouped): ArgumentOutOfRangeException in ObservableGroupedSource.GetGroupCount when removing a section

4 participants