dotnet / dotnet/maui

[ci-scan] Recurring: VerifyDefaultScrollToRequested visual snapshot mismatch on Android and WinUI in maui-pr-uitests

Open
#36,910 4 comments 0 reactions 0 assignees View on GitHub
ci-scan
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

## Summary
`VerifyDefaultScrollToRequested` fails with a visual snapshot mismatch (~0.5–0.7% pixel difference) on both Android API 30 and WinUI CollectionView in `maui-pr-uitests`. The baseline image no longer matches the rendered output.

## Build Information
- **Pipeline**: maui-pr-uitests
- **Build**: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1528766
- **Build ID**: 1528766
- **Branch**: main
- **First seen**: 2026-07-08 (build 1499834)
- **Occurrences**: 3 in last 10 builds (1499834, 1499259, 1528766)

## Affected Legs
- Controls (API 30) CollectionView — Android API 30
- Controls CollectionView — WinUI (Windows)

## Error Message
```
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: VerifyDefaultScrollToRequested.png (0.52% difference)
If the correct baseline has changed (this isn't a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.
More info: (aka.ms/redacted)
```

## Recommended Action
Compare the new snapshot against the baseline image in the build artifacts to determine whether:
1. The rendering changed intentionally (update baseline via the visual-test-workflow) — see (aka.ms/redacted)
2. A regression caused the pixel difference — investigate recent CollectionView scroll-to rendering changes

The test is in the CollectionView suite; the relevant area is `src/Controls/src/Core/Handlers/Items/`.

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `awmgmcpg`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "awmgmcpg"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

> Generated by [CI Failure Scanner](https://github.com/dotnet/maui/actions/runs/30455225238) · 363.7 AIC · ⌖ 5.77 AIC · ⊞ 8.3K · [◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Fmaui%2Fci-status-main%22&type=issues)

Contributor guide

Open the contributing guide

Research direction

Start with the VerifyDefaultScrollToRequested test in the CollectionView suite and the relevant area under src/Controls/src/Core/Handlers/Items/. Compare the Android API 30 and WinUI snapshots from build 1528766 with their baseline artifacts. Done means determining whether the rendering change is intentional and updating the baseline through the visual-test-workflow, or identifying the regression causing the mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.