Repository navigation
[release/10.0.1xx-sr11] [iOS/MacCatalyst] Fix Editor and CarouselView remaining non-interactive after IsEnabled toggle - #38480
Conversation
…ve after IsEnabled toggle (#37849) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details - On iOS, a CarouselView or Editor that initially has IsEnabled="False"remains non-interactive after being re-enabled. Even though IsEnabledis set to True, the control still cannot be scrolled or typed into. ### Root Cause - PR #36305 changed iOS interaction handling for non-UIControl views to calculate UserInteractionEnabled from IsEnabled && !InputTransparent; PR #36628 later centralized and extended this behavior. Editor and CarouselView override the inherited IsEnabled mapper without invoking the base mapping, so re-enabling updates only Editable for Editor or the inner UICollectionView for CarouselView, leaving the outer native interaction state disabled. ### Description of Change - Updated MapIsEnabled in CarouselViewHandler, CarouselViewHandler2, and EditorHandler to invoke ViewHandler.MapIsEnabled after applying their control-specific updates, ensuring the outer native view’s interaction state is recalculated when IsEnabled changes. - Note: On iOS, a disabled Editor now fully blocks interaction (no scrolling or text selection; touches pass through) instead of only disabling edits. ### Issues Fixed Fixes #37815 ### Validated the behaviour in the following platforms - [ ] Windows - [ ] Android - [x] iOS - [x] Mac ### Output | Before | After | |----------|----------| | <video src="https://github.com/user-attachments/assets/0e78b7bf-3d8a-436f-bdb5-2eda8935f561"> | <video src="https://github.com/user-attachments/assets/6eefec85-873f-44ea-b63e-fcd4eb7ed43c"> |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
This comment has been minimized.
This comment has been minimized.
MauiBot
left a comment
There was a problem hiding this comment.
AI Review Summary
@github-actions[bot] — new AI review results are available based on commit
1402df0.
🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix
Gate Result: ⚠️ INCONCLUSIVE
Platform: CATALYST · Base: release/10.0.1xx-sr11 · Merge base: bf14c828
🩺 Could not verify — environment/infrastructure error. The gate ran the tests but hit an environment error (an emulator/simulator/Appium/XHarness flake, a device that would not boot, or an empty/invalid result file), so it could not record a real pass/fail. The /review to retry on a fresh agent.
XHarness did not produce the expected fresh result 'testResults.xml' for requested class(es) 'Microsoft.Maui.DeviceTests.CarouselViewTests' (the target tests did not run).
| Test | Without Fix (expect FAIL) | With Fix (expect PASS) |
|---|---|---|
📱 CarouselViewTests (IsEnabledUpdatesNativeInteractionStateOnBothContainerAndCollectionView) Category=CarouselView |
||
📱 EditorHandlerTests (IsEnabledUpdatesNativeInteractionState) Category=Editor |
🔴 Without fix — 📱 CarouselViewTests (IsEnabledUpdatesNativeInteractionStateOnBothContainerAndCollectionView): ⚠️ ENV ERROR · 72s
No log file found
🟢 With fix — 📱 CarouselViewTests (IsEnabledUpdatesNativeInteractionStateOnBothContainerAndCollectionView): ⚠️ ENV ERROR · 43s
No log file found
🔴 Without fix — 📱 EditorHandlerTests (IsEnabledUpdatesNativeInteractionState): ⚠️ ENV ERROR · 56s
No log file found
🟢 With fix — 📱 EditorHandlerTests (IsEnabledUpdatesNativeInteractionState): ⚠️ ENV ERROR · 47s
No log file found
⚠️ Failure Details
⚠️ CarouselViewTests (IsEnabledUpdatesNativeInteractionStateOnBothContainerAndCollectionView) without fix:XHarness did not produce the expected fresh result 'testResults.xml' for requested class(es) 'Microsoft.Maui.DeviceTests.CarouselViewTests' (the target tests did not run).⚠️ EditorHandlerTests (IsEnabledUpdatesNativeInteractionState) without fix:XHarness did not produce the expected fresh result 'testResults.xml' for requested class(es) 'Microsoft.Maui.DeviceTests.EditorHandlerTests' (the target tests did not run).⚠️ CarouselViewTests (IsEnabledUpdatesNativeInteractionStateOnBothContainerAndCollectionView) with fix:XHarness did not produce the expected fresh result 'testResults.xml' for requested class(es) 'Microsoft.Maui.DeviceTests.CarouselViewTests' (the target tests did not run).⚠️ EditorHandlerTests (IsEnabledUpdatesNativeInteractionState) with fix:XHarness did not produce the expected fresh result 'testResults.xml' for requested class(es) 'Microsoft.Maui.DeviceTests.EditorHandlerTests' (the target tests did not run).
📁 Fix files reverted (3 files)
src/Controls/src/Core/Handlers/Items/CarouselViewHandler.iOS.cssrc/Controls/src/Core/Handlers/Items2/CarouselViewHandler2.iOS.cssrc/Core/src/Handlers/Editor/EditorHandler.iOS.cs
📋 Pre-Flight — Context & Validation
Issue: #37815 - Editor does not become editable when the IsEnabled property is set to True.
PR: #38480 - [release/10.0.1xx-sr11] [iOS/MacCatalyst] Fix Editor and CarouselView remaining non-interactive after IsEnabled toggle
Source PR: #37849
Base: release/10.0.1xx-sr11 at bf14c8283b
Materialized Review Head: c9cebf1853
Platforms Affected: iOS and Mac Catalyst (.iOS.cs compiles for both)
Files Changed: 3 implementation, 2 device test
Key Findings
- The reported 10.0.100 regression occurs when an
Editorstarts withIsEnabled = falseand is later enabled:Editablechanges, but the non-UIControlnative interaction state remains stale. - The backport also changes both legacy and Items2 CarouselView handlers. Their specialized
IsEnabledmappers replace inherited mapping behavior. - The PR calls
ViewHandler.MapIsEnabledafter each specialized update soUserInteractionEnabledis recomputed fromIsEnabled && !InputTransparentand container input-transparency mapping runs. - Direct diff inspection confirms that
CarouselViewHandler(2).Controller.CollectionViewandPlatformViewrefer to the same collection view. The PR comments describing separate inner and outer views are inaccurate. - The added CarouselView test asserts the same native object through two references. With default
InputTransparent = false, the pre-existing collection-specific update already satisfies its assertions, so this test does not discriminate the PR fix from the baseline. - The Editor test does exercise the stale
UserInteractionEnabledstate, but does not cover the adjacentInputTransparentorIsReadOnlyboundaries. - The source PR has six automated inline findings, including a major finding for the non-discriminating CarouselView test and moderate findings for the inaccurate native hierarchy comments. PR #38480 itself has no inline review comments.
- The completed gate is INCONCLUSIVE because XHarness produced no fresh
testResults.xml; this is an environment result, not a candidate failure, and must not be rerun. - The regression cross-reference requires the Controls
Category=Editordevice test from #35662 after primary validation passes.
Direct Diff Review Summary
Verdict: Deferred to STEP 5b
Confidence: N/A
Errors: N/A | Warnings: N/A | Suggestions: N/A
No separate expert-review agent was launched in STEP 5a, as required. The observations above come from direct inspection of the materialized diff, linked issue, source PR, and existing review feedback.
Candidate Scope
Candidates may modify only these production files recorded by the broken-baseline workflow:
src/Controls/src/Core/Handlers/Items/CarouselViewHandler.iOS.cssrc/Controls/src/Core/Handlers/Items2/CarouselViewHandler2.iOS.cssrc/Core/src/Handlers/Editor/EditorHandler.iOS.cs
Each candidate must use a mechanism meaningfully different from the PR and from any earlier candidate. Test files and unrelated pre-existing working-tree changes are read-only.
Bounded Validation
Run only these primary tests, in order:
pwsh .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Controls -Platform catalyst -TestFilter "Category=CarouselView"
pwsh .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Core -Platform catalyst -TestFilter "Category=Editor"
Only after both primary tests pass, run the mandatory regression test:
This pre-flight section was shortened to keep every required review section visible. Full details remain available in the pipeline build artifacts.
🔬 Code Review — Deep Analysis
Expert Evaluation — Raw PR
Independent Assessment
The submitted fix updates the iOS/Mac Catalyst IsEnabled mappings for Editor, CarouselViewHandler, and CarouselViewHandler2. The existing type-specific mappings continue to update editability or the inner collection view, while ViewHandler.MapIsEnabled now also recomputes UserInteractionEnabled on the handler's platform view. This addresses the stale outer native interaction state that otherwise survives a false-to-true IsEnabled transition.
The approach is consistent with MAUI's mapper composition pattern. The additional base mapping is idempotent, preserves InputTransparent semantics, and introduces no subscription, lifecycle, static-state, startup, or disposal changes.
Findings
No actionable file:line findings were identified. inline-findings.json contains an empty JSON array.
The added Editor device test exercises both Editable and UserInteractionEnabled. The CarouselView device test exercises both the inner collection view and outer platform view for the Items2 handler. As a non-blocking coverage improvement, the legacy CarouselViewHandler path modified by the PR should receive the same explicit false-to-true interaction-state test.
Failure-Mode Probing
- Repeated disable/enable mapping: Both calls derive native state from current virtual-view properties; repeated mapping does not accumulate state or subscriptions.
InputTransparentinteraction: Delegating toViewHandler.MapIsEnabledrecomputes the combined effective interaction state rather than blindly forcing interaction on.- Handler reconnect/disconnect: The change adds no retained state and uses the current handler/platform view, so reconnects do not leave a new latch or stale subscription.
- Unaffected instances: The mapping runs only when
IsEnabledis mapped for these handler types and retains the existing type-specific updates.
Validation Evidence
The trusted Gate is inconclusive because the tests could not be built or run. This is not evidence that the fix failed, but native behavior remains empirically unverified in this run.
Verdict: NEEDS_DISCUSSION
Confidence: low
The code review found no blocking defect. Confidence is capped by the inconclusive device-test evidence; the only reviewer-driven refinement is additional coverage for the legacy CarouselView handler.
🛠️ Try-Fix — Analysis & Comparison
PR #38480 — STEP 5a Try-Fix Aggregate
Candidate 1 — Re-map InputTransparent
Model: gpt-5.3-codex
Result: Blocked
Attempt artifacts: CustomAgentLogsTmp/PRState/38480/PRAgent/try-fix/attempt-1/
Candidate report: CustomAgentLogsTmp/PRState/38480/PRAgent/try-fix-1/content.md
Approach
After each specialized iOS UpdateIsEnabled call, request an InputTransparent mapper update with handler.UpdateValue(nameof(IView.InputTransparent)). This would drive interaction-state recomputation through the input-transparency mapper pipeline instead of invoking ViewHandler.MapIsEnabled, making it mechanically distinct from PR #38480.
Result
No candidate diff was produced and no tests ran. EstablishBrokenBaseline.ps1 rejected the pre-existing unrelated tracked working-tree changes before it could create .github/.baseline-state.json; the try-fix protocol consequently prohibited edits. The required restore command ran and reported that no baseline state existed.
Validation
| Command | Result |
|---|---|
Controls / Catalyst / Category=CarouselView |
Not run — blocked before baseline |
Core / Catalyst / Category=Editor |
Not run — blocked before baseline |
Controls / Catalyst / Category=Editor regression from #35662 |
Not run — primary tests did not pass |
Inline self-review: 0 findings (reviewer-findings.json is []; there was no candidate diff).
Candidate 2 — Explicit native interaction synchronization
Model: gpt-5.6-sol
Result: Blocked
Attempt artifacts: CustomAgentLogsTmp/PRState/38480/PRAgent/try-fix/attempt-2/
Candidate report: CustomAgentLogsTmp/PRState/38480/PRAgent/try-fix-2/content.md
Approach
After each specialized iOS UpdateIsEnabled call, directly invoke the iOS input-transparency platform extension for the platform view and optional wrapper so their native interaction state is synchronized from current IsEnabled and InputTransparent values. This avoids both PR #38480's direct ViewHandler.MapIsEnabled call and Candidate 1's mapper re-entry.
Result
No candidate diff was produced and no tests ran. As in Candidate 1, EstablishBrokenBaseline.ps1 rejected the pre-existing unrelated tracked working-tree changes before creating .github/.baseline-state.json. The attempt did not bypass or modify the baseline workflow. The required restore command ran and reported that no baseline state existed.
Validation
| Command | Result |
|---|---|
Controls / Catalyst / Category=CarouselView |
Not run — blocked before baseline |
Core / Catalyst / Category=Editor |
Not run — blocked before baseline |
Controls / Catalyst / Category=Editor regression from #35662 |
Not run — primary tests did not pass |
Inline self-review: 0 findings (reviewer-findings.json is []; there was no candidate diff).
Candidate Comparison
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | gpt-5.3-codex try-fix |
Re-map InputTransparent after specialized IsEnabled updates |
⛔ Blocked | 0 | Baseline script rejected pre-existing dirty tracked files |
| 2 | gpt-5.6-sol try-fix |
Directly synchronize platform/wrapper interaction through the iOS input-transparency extension | ⛔ Blocked | 0 | Baseline script rejected pre-existing dirty tracked files |
| PR | PR #38480 | Invoke ViewHandler.MapIsEnabled after each specialized update |
3 implementation, 2 test | Gate inconclusive due XHarness environment |
Cross-Pollination
Skipped by hard execution contract.
Exhausted: Yes — both required models produced one distinct bounded candidate; neither could be implemented or tested because the baseline safety gate rejected pre-existing unrelated tracked changes.
Selected Fix: None — there are no passing alternative candidates. Candidate 1 and Candidate 2 are conceptual only and must not be treated as validated fixes. PR #38480 remains the only implemented fix, with an inconclusive environment gate and code/test merits deferred to STEP 5b.
📝 PR Finalize — Recommended Title & Description
Assessment: ✏️ Recommend updating — the title is specific, but the description does not explain the root cause, submitted mapper changes, affected platforms, regression tests, or linked issue.
Recommended title
[release/10.0.1xx-sr11] [iOS/MacCatalyst] Editor and CarouselView: Restore interaction after IsEnabled toggle
Recommended description
Backport of #37849 to release/10.0.1xx-sr11.
### Description of Change
On iOS and Mac Catalyst, the specialized `IsEnabled` mappings for `Editor`, `CarouselViewHandler`, and `CarouselViewHandler2` did not apply the base `ViewHandler` interaction-state mapping. After a control was initialized disabled and then enabled, its type-specific native state could update while `UserInteractionEnabled` remained stale, leaving the control non-interactive.
This change invokes `ViewHandler.MapIsEnabled` after each specialized update so the native interaction state is recomputed while preserving Editor editability and CarouselView collection behavior.
Device regression tests cover false-to-true `IsEnabled` transitions for Editor and the current `CarouselViewHandler2` path, including both the CarouselView collection and platform view interaction states.
### Issues Fixed
Addresses #37815.
/cc @kubaflo @SyedAbdulAzeemSF4852
🏁 Report — Final Recommendation
⚠️ Final Recommendation: REQUEST CHANGES
Winner: pr-plus-reviewer
The submitted production fix is sound on code inspection: each specialized iOS/Mac Catalyst mapper retains its control-specific update and then delegates to ViewHandler.MapIsEnabled, restoring the base interaction-state mapping without adding lifecycle or retained state. The single expert-review pass produced no inline defects. pr-plus-reviewer wins because it preserves that implementation while adding explicit coverage for the legacy CarouselView handler changed by the PR and an executable identity check for the native hierarchy on which the existing test depends.
The recommendation is driven by the reviewer coverage improvement, not by the inconclusive Gate. No candidate produced a regression-test failure; validation was blocked before test execution.
Candidate Comparison
| Rank | Candidate | Implementation | Validation | Assessment |
|---|---|---|---|---|
| 1 | pr-plus-reviewer |
Raw PR production fix plus explicit Items2 native-view identity evidence and equivalent legacy CarouselViewHandler coverage |
Blocked before build because the required -Platform catalyst value is not accepted by the runner |
Best coverage of every production path changed by the PR; no production behavior divergence |
| 2 | pr |
Calls ViewHandler.MapIsEnabled after the specialized Editor and CarouselView updates |
Unverified; trusted Gate was inconclusive | Correct and focused implementation, but only the Items2 CarouselView path has submitted regression coverage |
| 3 | try-fix-1 |
Proposed mapper re-entry through UpdateValue(nameof(IView.InputTransparent)) |
Blocked before edits; no diff and no tests | Conceptual only; less direct and unnecessarily re-enters the mapper pipeline |
| 4 | try-fix-2 |
Proposed direct iOS interaction synchronization through platform extensions | Blocked before edits; no diff and no tests | Conceptual only; duplicates base mapper responsibilities and has no materialized evidence |
Expert Review
inline-findings.jsonis[]; the expert reviewer found no actionable defect in the submitted production logic.- Editor coverage genuinely exercises the stale
UserInteractionEnabledstate in addition toEditable. - The expert reviewer identified missing explicit coverage for the deprecated-but-still-modified legacy CarouselView handler.
- A source-PR review disputed whether
Controller.CollectionViewandPlatformVieware the same native object, while the author reported runtime instrumentation showing they are distinct. The winning candidate makes that premise an assertion; because validation was blocked, the runtime result remains uncertain rather than being treated as fact.
Validation Evidence
- Raw PR Gate: inconclusive because XHarness produced no fresh result; this is not a failed fix.
- pr-plus-reviewer: the first required command was rejected at parameter binding because
catalystis not in the script's platformValidateSet. The two subsequent commands were conditional on primary success and were not run. - try-fix-1 / try-fix-2: both were blocked before producing a candidate diff, so neither can outrank an implemented candidate.
Required Change
Carry the pr-plus-reviewer test-only patch into the submitted PR, then run the intended Mac Catalyst command using the runner's supported platform identifier in normal CI or a separately authorized validation pass.
🔗 Regression Cross-Reference
🔍 Regression Cross-Reference
⚠ Overlaps with prior bug-fix PRs — same files modified, but no exact line revert detected.
| File | Fix PR | Fixed issue(s) |
|---|---|---|
src/Core/src/Handlers/Editor/EditorHandler.iOS.cs |
#35662 | #35615 |
🧪 Regression Tests to Verify
These tests were added by the overlapping fix PRs. Running them to verify no side-effect regressions:
| Fix PR | Type | Test | Filter |
|---|---|---|---|
| #35662 | DeviceTest | EditorTests | Category=Editor |
🧪 Regression Test Results
⏭️ SKIPPED — 0 passed, 0 failed, 1 skipped
| Fix PR | Test | Type | Result |
|---|---|---|---|
| #35662 | EditorTests | DeviceTest | ⏭️ ERROR |
📱 UI Tests — CollectionView,ViewBaseTests
Detected UI test categories: CollectionView,ViewBaseTests
❌ Deep UI tests — 251 passed, 254 failed, 3 skipped across 2 categories on platform-pool agent (replaces in-process counts above).
🧪 UI Test Execution Results (deep, platform pool)
| Category | Tests | Snapshot diffs |
|---|---|---|
CollectionView |
246/396 (147 ❌, 3 skipped) | 66 diff PNGs |
ViewBaseTests |
5/112 (107 ❌) | 75 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 — CollectionView suite (147 tests): the supplied failures cover CollectionView selection, items, headers, empty views, element-wait timeouts, and snapshots, whereas the PR only changes native
IsEnabledinteraction mapping for the distinct CarouselView handler. - ● Unrelated — ViewBase screenshot and element-discovery failures (107 tests): ContentView, Clip, AppTheme, and other broad ViewBase failures do not exercise the modified CarouselView or Editor
IsEnabledpaths, and their repeated screenshot-parser, baseline-difference, and wait-timeout signatures point to run-wide test infrastructure or baseline instability.
Strongest signal: all 254 failures spread across unrelated controls and common timeout/snapshot patterns, with no supplied failure exercising CarouselView or Editor enablement.
❌ CollectionView — 147 failed tests
EmptyViewHeaderFooterTemplateToggleNullToNonNull
System.TimeoutException : Timed out waiting for element...
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2817
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 826
at Microsoft.Maui.TestCases.Tests.Issues.Issue27959.EmptyViewHeaderFooterTemplateToggleNullToNonNull() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27959.cs:line 36
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, Obj
...
VerifySelecctionModeSingleWhenCurrentSelection
Assert.That(App.WaitForElement(CurrentSelectionTextLabel).GetText(), Is.EqualTo("Banana"))
Expected string length 6 but was 16. Strings differ at index 0.
Expected: "Banana"
But was: "No current items"
-----------^
at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelecctionModeSingleWhenCurrentSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 593
1) at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelecctionModeSingleWhenCurrentSelection() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 593
UpdateHeaderFooterDynamically
System.TimeoutException : Timed out waiting for element...
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2817
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 826
at Microsoft.Maui.TestCases.Tests.Issues.Issue28509.UpdateHeaderFooterDynamically() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28509.cs:line 47
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack si
...
VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: VerifyCustomEmptyViewDisplaysCorrectly_WithRightToLeftFlowDirection.png (2.23% 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 480
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreensho
...
VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList
Assert.That(App.WaitForElement(SelectedSingle).GetText(), Is.EqualTo("Apple"))
Expected string length 5 but was 17. Strings differ at index 0.
Expected: "Apple"
But was: "No items selected"
-----------^
at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 513
1) at Microsoft.Maui.TestCases.Tests.CollectionView_SelectionFeatureTests.VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_SelectionFeatureTests.cs:line 513
CollectionViewDuplicateViewsWhenAddItemToGroup
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: CollectionViewDuplicateViewsWhenAddItemToGroup.png (3.04% 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 480
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullab
...
VerifyStringItemsGroupedListWhenRemoveItems
System.TimeoutException : Timed out waiting for element...
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2817
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 826
at Microsoft.Maui.TestCases.Tests.CollectionView_ItemsSourceFeatureTests.VerifyStringItemsGroupedListWhenRemoveItems() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ItemsSourceFeatureTests.cs:line 456
at System.RuntimeMethodHandle.InvokeMeth
...
CollectionViewPreSelectionShouldUpdate
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: CollectionViewPreSelectionShouldUpdate.png (1.57% 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 480
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 ret
...
VerifyGroupFooterTemplate_WithHeaderString
System.TimeoutException : Timed out waiting for element...
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2817
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 826
at Microsoft.Maui.TestCases.Tests.CollectionView_GroupingFeatureTests.VerifyGroupFooterTemplate_WithHeaderString() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_GroupingFeatureTests.cs:line 61
at System.RuntimeMethodHandle.InvokeMethod(Objec
...
VerifyScrollToByIndexWithCenterPositionAndVerticalList_Carrot
System.TimeoutException : Timed out waiting for element...
This uitests section was shortened to keep every required review section visible. Full details remain available in the pipeline build artifacts.
🧭 Next Steps — reviewer changes required
The reviewer-enhanced candidate identified changes that are not yet in the submitted PR.
Why: The submitted mapper fix is sound, and pr-plus-reviewer preserves it while adding explicit regression coverage for the legacy CarouselView handler and asserting the native-view relationship used by the test. Validation was blocked by the mandated unsupported catalyst platform alias, not by a test failure.
Address the actionable findings in this review before merging.
Backport of #37849 to release/10.0.1xx-sr11
/cc @kubaflo @SyedAbdulAzeemSF4852