[Testing] Include more testing around Windows Image Aspect recent fixes - #35620
Conversation
<!-- 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! ## What Restrict the agentic-labeler to apply **exactly one `area-*` label** per item, while still allowing multiple `platform/*` labels. ## Why Backfilling the 26 items affected by the `max:1` bug (fixed in #35540) revealed that the labeler occasionally applies multiple `area-*` labels for ambiguous cases: - **#35501** got both `area-layout` and `area-safearea` - **#35490** got both `area-navigation` and `area-controls-tabbedpage` The intended behavior is exactly one best-fit `area-*` per item (a label-quota distinction not expressible via `safe-outputs.add-labels.max:` — that field counts total labels, not labels per prefix). The fix has to live in the agent's instructions. ## Changes ### `.github/skills/agentic-labeler/SKILL.md` - Scope section: "Exactly one `area-*`" / "One or more `platform/*`". - Area rules section: renamed heading, changed "pick one or more" → "apply exactly one". - New **tie-breaking heuristics** for the area-* selection: - Specific control beats generic area (`area-controls-tabbedpage` over `area-navigation`) - Sub-area beats parent area (`area-safearea` over `area-layout`) - Subject-matter focus beats incidental touch - When genuinely tied, prefer the user-visible feature - Mixed-PR rule clarified: infra-primary PRs get only `area-infrastructure` (no second product area). ### `.github/workflows/agentic-labeler.md` - Added explicit reinforcement in the workflow prompt: "Apply exactly one `area-*` label … and one or more `platform/*` labels". - Fixed two stale `max: 1` comments left over from #35540 (the cap is now `max: 10`). ### `.github/workflows/agentic-labeler.lock.yml` - Regenerated via `gh aw compile`. Diff is frontmatter-hash + heredoc rotations only — no semantic change to the compiled config. ## Validation - Reviewed all 21 existing eval scenarios in `tests/eval.yaml` — none assert multiple `area-*` labels, so no test updates needed. - The `max: 10` cap in `safe-outputs` is preserved as a blast-radius safeguard (one area + several platforms still fit comfortably). ## Follow-ups (not in this PR) If accuracy of the "one area" rule drops below ~95% in eval runs, consider adding a deterministic post-step that strips extra `area-*` labels per a known precedence list (Option B from the design discussion). Co-authored-by: bot <bot@test> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
## Description
Extends the `maui-copilot` DevDiv pipeline (pipeline 27723) with a
3-stage architecture that runs real UI tests on platform-pool agents and
reports results directly in the AI summary PR comment.
### Pipeline Workflow
```
┌─────────────────────────────────────────────────────────┐
│ Stage 1: ReviewPR │
│ │
│ STEP 1: Branch Setup (checkout + cherry-pick PR) │
│ STEP 2: Detect UI Test Categories │
│ STEP 3: Run Detected UI Tests (in-process, fast) │
│ STEP 4: Regression Cross-Reference │
│ STEP 5: Gate — verify tests fail/pass before/after fix │
│ STEP 6: Code Review — deep analysis via Copilot agent │
│ │
│ Outputs → CopilotLogs artifact + detectedCategories │
└──────────────────────┬──────────────────────────────────┘
│
┌──────────────────────▼──────────────────────────────────┐
│ Stage 2: RunDeepUITests (platform-pool agent) │
│ │
│ iOS: AcesShared Tahoe + iOS 26.4 │
│ Android: ubuntu-22.04 + KVM + AVD │
│ │
│ Runs BuildAndRunHostApp.ps1 per detected category │
│ Outputs → drop-deep-uitests artifact (TRX + diffs) │
└──────────────────────┬──────────────────────────────────┘
│
┌──────────────────────▼──────────────────────────────────┐
│ Stage 3: PostResults │
│ │
│ 1. Download CopilotLogs (review content files) │
│ 2. Download drop-deep-uitests (TRX results) │
│ 3. Merge deep results into uitests/content.md │
│ 4. Post full AI Summary comment on PR │
│ 5. Apply labels (s/agent-reviewed, etc.) │
│ │
│ One comment with everything — no patching needed │
└─────────────────────────────────────────────────────────┘
```
### What's New
**Deep UI Test Execution (Stage 2)**
- Runs detected UI test categories on proper platform-pool agents (not
in-process on Linux)
- **iOS**: AcesShared Tahoe agents with iOS 26.4 simulator, iPhone 11
Pro (matching `ios-26` baselines from PR #35061)
- **Android**: ubuntu-22.04 with KVM, AVD boot with `-partition-size
2048`, `ignoreHiddenApiPolicyError` capability
- TRX results + snapshot-diff PNGs published as `drop-deep-uitests`
artifact
**Unified Comment Posting (Stage 3)**
- Comment posting and label application deferred to Stage 3 (after deep
tests complete)
- Single AI summary comment includes ALL results: code review + deep
test results
- Nested collapsible `<details>` for failed tests with full error +
stack trace
- Dynamic section title: `🧪 UI Tests — CollectionView, TabbedPage`
- Artifact download link for snapshot-diff PNGs
**Android Emulator Improvements**
- AVD boot step with proper partition size, ADB key pre-authorization,
boot wait
- `DEVICE_UDID` pass-through prevents double emulator boot
- Disk cleanup on hosted ubuntu agents (frees ~22GB)
- KVM enablement + `appium:ignoreHiddenApiPolicyError` for API 30
**iOS Simulator Improvements**
- Tahoe pool demand ensures macOS 26.x agents
- Explicit iOS 26.4 download via latest Xcode
- Auto-creates iPhone 11 Pro for baseline resolution match
### Validation
Tested across 30+ pipeline iterations on 6 PRs:
| PR | iOS | Android |
|---|---|---|
| 35358 (ViewBaseTests) | **112/112 ALL PASS** ✅ | **118/119 PASS** ✅ |
| 35359 (TabbedPage) | 44/50 (1 real failure) | 74/75 (1 real failure) |
| 35356 (CollectionView) | **415/417 PASS** ✅ | 593/619 (26 real
failures) |
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
> [!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! Backport of #35460 to `main`. /cc @PureWeen Co-authored-by: HarishKumarSF4517 <harish.kumar@syncfusion.com>
Recreate PR #31694 with review feedback applied. Use deterministic local image streams instead of external dummyimage.com URLs and move the fragile geometry checks into HostApp result labels so the Appium tests assert stable PASS/FAIL outcomes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 35620Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35620" |
|
/review -b feature/refactor-copilot-yml -p windows |
MauiBot
left a comment
There was a problem hiding this comment.
🤖 Automated review — alternative fix proposed
The expert-reviewer evaluation compared the PR fix against #2 automatically generated candidates and selected try-fix-2 as the strongest fix.
Why: try-fix-2 wins because it passed the targeted Windows regression run while addressing the PR review concerns around page readiness and the unasserted PanoramicFill scenario with the correct Fill layout-slot semantics. Failed candidates are ranked lower, and the raw PR/pr-plus-reviewer candidates lack the same empirical passing result.
Please consider applying the candidate diff below (or use it as guidance). Once you push an update, this workflow will re-trigger and re-evaluate.
Candidate diff (`try-fix-2`)
diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.csnew file mode 100644index 0000000000..70182405b8--- /dev/null+++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs@@ -0,0 +1,522 @@+namespace Controls.TestCases.HostApp.Issues;++[Issue(IssueTracker.None, "30403Panoramic",+ "Image under WinUI does not respect VerticalOptions and HorizontalOptions with AspectFit (Panoramic)",+ PlatformAffected.UWP)]+public class Issue30403PanoramicImages : ContentPage+{+ const double PanoramicWidth = 800;+ const double PanoramicHeight = 200;++ public Issue30403PanoramicImages()+ {+ Title = "Panoramic Image Tests";++ Content = new ScrollView+ {+ AutomationId = "PanoramicScroll",+ Content = new StackLayout+ {+ Spacing = 20,+ Padding = 15,+ Children =+ {+ CreatePageHeader(),+ CreateAspectFitScenario(+ "1. Center Alignment",+ "Panoramic image should be centered without stretching.",+ "PanoramicCenter",+ "PanoramicCenterResult",+ 200,+ Colors.LightBlue,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateAspectFitScenario(+ "2. Start Alignment",+ "Panoramic image should align to the top-left corner.",+ "PanoramicStart",+ "PanoramicStartResult",+ 200,+ Colors.LightGreen,+ LayoutOptions.Start,+ LayoutOptions.Start),+ CreateAspectFitScenario(+ "3. End Alignment",+ "Panoramic image should align to the bottom-right corner.",+ "PanoramicEnd",+ "PanoramicEndResult",+ 200,+ Colors.LightCoral,+ LayoutOptions.End,+ LayoutOptions.End),+ CreateFillAlignmentTest(),+ CreateAspectFitScenario(+ "5. Constrained Width Test",+ "Panoramic image in a very narrow 100px container.",+ "PanoramicNarrow",+ "PanoramicNarrowResult",+ 200,+ Colors.Plum,+ LayoutOptions.Center,+ LayoutOptions.Center,+ 100),+ CreateAspectFitScenario(+ "6. Constrained Height Test",+ "Panoramic image in a very short 50px high container.",+ "PanoramicShort",+ "PanoramicShortResult",+ 50,+ Colors.LightSeaGreen,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateMultiplePanoramicTest(),+ CreateInteractiveTest()+ }+ }+ };+ }++ View CreatePageHeader()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "Panoramic Image Tests",+ FontSize = 20,+ FontAttributes = FontAttributes.Bold,+ HorizontalOptions = LayoutOptions.Center+ },+ new Label+ {+ Text = "Testing wide local images (800x200) with AspectFit and different layout options.",+ FontSize = 14,+ TextColor = Colors.Gray,+ HorizontalOptions = LayoutOptions.Center,+ HorizontalTextAlignment = TextAlignment.Center+ }+ }+ };+ }++ View CreateAspectFitScenario(+ string title,+ string description,+ string imageAutomationId,+ string resultAutomationId,+ double containerHeight,+ Color containerColor,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions,+ double? containerWidth = null)+ {+ var image = CreatePanoramicImage(imageAutomationId, verticalOptions, horizontalOptions, Colors.Yellow);+ var container = new Grid+ {+ AutomationId = $"{imageAutomationId}Container",+ HeightRequest = containerHeight,+ BackgroundColor = containerColor,+ HorizontalOptions = containerWidth.HasValue ? LayoutOptions.Center : LayoutOptions.Fill,+ Children = { image }+ };++ if (containerWidth.HasValue)+ container.WidthRequest = containerWidth.Value;++ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = title,+ FontSize = 16,+ FontAttributes = FontAttributes.Bold+ },+ new Label+ {+ Text = description,+ FontSize = 12,+ TextColor = Colors.Gray+ },+ container,+ CreateAspectFitResultLabel(+ resultAutomationId,+ image,+ container,+ PanoramicWidth,+ PanoramicHeight,+ verticalOptions,+ horizontalOptions)+ }+ };+ }++ View CreateFillAlignmentTest()+ {+ var image = CreatePanoramicImage(+ "PanoramicFill",+ LayoutOptions.Fill,+ LayoutOptions.Fill,+ Colors.Yellow);+ var container = new Grid+ {+ HeightRequest = 200,+ BackgroundColor = Colors.Orange,+ Children = { image }+ };++ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "4. Fill Alignment",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.DarkOrange+ },+ new Label+ {+ Text = "Fill alignment should use the available layout slot while AspectFit preserves the drawn image ratio.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ container,+ CreateFillLayoutResultLabel(+ "PanoramicFillResult",+ image,+ container,+ LayoutOptions.Fill,+ LayoutOptions.Fill)+ }+ };+ }++ View CreateMultiplePanoramicTest()+ {+ var topLeft = CreatePanoramicCell(+ "MultiPanoramicTopLeft",+ "MultiPanoramicTopLeftResult",+ LayoutOptions.Start,+ LayoutOptions.Start,+ Colors.Red,+ 0,+ 0);+ var topRight = CreatePanoramicCell(+ "MultiPanoramicTopRight",+ "MultiPanoramicTopRightResult",+ LayoutOptions.Start,+ LayoutOptions.End,+ Colors.Blue,+ 0,+ 1);+ var bottomLeft = CreatePanoramicCell(+ "MultiPanoramicBottomLeft",+ "MultiPanoramicBottomLeftResult",+ LayoutOptions.End,+ LayoutOptions.Start,+ Colors.Green,+ 1,+ 0);+ var bottomRight = CreatePanoramicCell(+ "MultiPanoramicBottomRight",+ "MultiPanoramicBottomRightResult",+ LayoutOptions.End,+ LayoutOptions.End,+ Colors.Orange,+ 1,+ 1);++ var grid = new Grid+ {+ RowDefinitions =+ {+ new RowDefinition { Height = new GridLength(1, GridUnitType.Star) },+ new RowDefinition { Height = new GridLength(1, GridUnitType.Star) }+ },+ ColumnDefinitions =+ {+ new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) },+ new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) }+ },+ HeightRequest = 200,+ BackgroundColor = Colors.Wheat,+ Children =+ {+ topLeft.Container,+ topRight.Container,+ bottomLeft.Container,+ bottomRight.Container+ }+ };++ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "7. Multiple Panoramic Images",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.Brown+ },+ new Label+ {+ Text = "Different panoramic images with various alignments in a grid.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ grid,+ topLeft.Result,+ topRight.Result,+ bottomLeft.Result,+ bottomRight.Result+ }+ };+ }++ (Grid Container, Label Result) CreatePanoramicCell(+ string imageAutomationId,+ string resultAutomationId,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions,+ Color imageBackground,+ int row,+ int column)+ {+ var image = CreatePanoramicImage(imageAutomationId, verticalOptions, horizontalOptions, imageBackground);+ var container = new Grid+ {+ BackgroundColor = Colors.White,+ Children = { image }+ };++ Grid.SetRow(container, row);+ Grid.SetColumn(container, column);++ return (+ container,+ CreateAspectFitResultLabel(+ resultAutomationId,+ image,+ container,+ PanoramicWidth,+ PanoramicHeight,+ verticalOptions,+ horizontalOptions));+ }++ View CreateInteractiveTest()+ {+ var currentAlignment = LayoutOptions.Center;+ var image = CreatePanoramicImage(+ "InteractivePanoramic",+ currentAlignment,+ currentAlignment,+ Colors.Yellow);++ var statusLabel = new Label+ {+ Text = "Current Alignment: Center",+ FontSize = 14,+ HorizontalOptions = LayoutOptions.Center,+ TextColor = Colors.DarkBlue+ };++ var buttonStack = new StackLayout+ {+ Orientation = StackOrientation.Horizontal,+ HorizontalOptions = LayoutOptions.Center,+ Spacing = 10,+ Children =+ {+ CreateAlignmentButton("Center", () => SetAlignment(LayoutOptions.Center)),+ CreateAlignmentButton("Start", () => SetAlignment(LayoutOptions.Start)),+ CreateAlignmentButton("End", () => SetAlignment(LayoutOptions.End)),+ CreateAlignmentButton("Fill", () => SetAlignment(LayoutOptions.Fill))+ }+ };++ void SetAlignment(LayoutOptions alignment)+ {+ currentAlignment = alignment;+ image.VerticalOptions = alignment;+ image.HorizontalOptions = alignment;+ statusLabel.Text = $"Current Alignment: {alignment}";+ }++ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "8. Interactive Alignment Test",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.Indigo+ },+ new Label+ {+ Text = "Tap buttons to change alignment dynamically.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ statusLabel,+ buttonStack,+ new Grid+ {+ HeightRequest = 200,+ BackgroundColor = Colors.Lavender,+ Children = { image }+ }+ }+ };+ }++ Image CreatePanoramicImage(+ string automationId,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions,+ Color backgroundColor)+ {+ return new Image+ {+ AutomationId = automationId,+ Source = CreatePanoramicImageSource(),+ Aspect = Aspect.AspectFit,+ VerticalOptions = verticalOptions,+ HorizontalOptions = horizontalOptions,+ BackgroundColor = backgroundColor+ };+ }++ Button CreateAlignmentButton(string text, Action action)+ {+ var button = new Button+ {+ Text = text,+ BackgroundColor = Colors.LightBlue,+ TextColor = Colors.Black,+ CornerRadius = 5,+ Padding = new Thickness(10, 5)+ };++ button.Clicked += (s, e) => action();+ return button;+ }++ Label CreateAspectFitResultLabel(+ string automationId,+ Image image,+ VisualElement container,+ double sourceWidth,+ double sourceHeight,+ LayoutOptions expectedVertical,+ LayoutOptions expectedHorizontal)+ {+ var resultLabel = new Label+ {+ AutomationId = automationId,+ Text = "PENDING",+ FontSize = 12+ };++ void UpdateResult()+ {+ if (container.Width <= 0 || container.Height <= 0 || image.Width <= 0 || image.Height <= 0)+ return;++ var scale = System.Math.Min(1, System.Math.Min(container.Width / sourceWidth, container.Height / sourceHeight));+ var expectedWidth = sourceWidth * scale;+ var expectedHeight = sourceHeight * scale;++ var fitsSize = IsClose(image.Width, expectedWidth) && IsClose(image.Height, expectedHeight);+ var alignsHorizontally = Aligns(image.X, image.Width, container.Width, expectedHorizontal);+ var alignsVertically = Aligns(image.Y, image.Height, container.Height, expectedVertical);++ resultLabel.Text = fitsSize && alignsHorizontally && alignsVertically+ ? $"PASS width={image.Width:F1} height={image.Height:F1} x={image.X:F1} y={image.Y:F1}"+ : $"FAIL expected={expectedWidth:F1}x{expectedHeight:F1} actual={image.Width:F1}x{image.Height:F1} x={image.X:F1} y={image.Y:F1} container={container.Width:F1}x{container.Height:F1}";+ }++ image.SizeChanged += (_, _) => UpdateResult();+ container.SizeChanged += (_, _) => UpdateResult();++ return resultLabel;+ }++ Label CreateFillLayoutResultLabel(+ string automationId,+ Image image,+ VisualElement container,+ LayoutOptions expectedVertical,+ LayoutOptions expectedHorizontal)+ {+ var resultLabel = new Label+ {+ AutomationId = automationId,+ Text = "PENDING",+ FontSize = 12+ };++ void UpdateResult()+ {+ if (container.Width <= 0 || container.Height <= 0 || image.Width <= 0 || image.Height <= 0)+ return;++ var fillsWidth = expectedHorizontal == LayoutOptions.Fill+ ? IsClose(image.Width, container.Width)+ : true;+ var fillsHeight = expectedVertical == LayoutOptions.Fill+ ? IsClose(image.Height, container.Height)+ : true;++ resultLabel.Text = fillsWidth && fillsHeight+ ? $"PASS width={image.Width:F1} height={image.Height:F1} container={container.Width:F1}x{container.Height:F1}"+ : $"FAIL actual={image.Width:F1}x{image.Height:F1} container={container.Width:F1}x{container.Height:F1}";+ }++ image.SizeChanged += (_, _) => UpdateResult();+ container.SizeChanged += (_, _) => UpdateResult();++ return resultLabel;+ }++ static bool Aligns(double actualStart, double actualSize, double containerSize, LayoutOptions expected)+ {+ if (expected == LayoutOptions.Start)+ return IsClose(actualStart, 0);++ if (expected == LayoutOptions.Center)+ return IsClose(actualStart + (actualSize / 2), containerSize / 2);++ if (expected == LayoutOptions.End)+ return IsClose(actualStart + actualSize, containerSize);++ if (expected == LayoutOptions.Fill)+ return IsClose(actualSize, containerSize);++ return true;+ }++ static bool IsClose(double actual, double expected)+ {+ const double tolerance = 4;+ return System.Math.Abs(actual - expected) <= tolerance;+ }++ static ImageSource CreatePanoramicImageSource()+ {+ var bytes = System.Convert.FromBase64String(PanoramicImageBase64);+ return ImageSource.FromStream(() => new System.IO.MemoryStream(bytes));+ }++ const string PanoramicImageBase64 =+ "iVBORw0KGgoAAAANSUhEUgAAAyAAAADICAYAAAAQj4UaAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQdSURBVHhe7dcxAQAgAAQhk5jZxm+LmxgIwblvAwAAKAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAAZAQEAADICAgAAJAREAAAICMgAABARkAAAICMgAAAABkBAQAAMgICAABkBAQAAMgICAAAkBEQAAAgIyAAAEBGQAAAgIyAAAAAGQEBAAAyAgIAAGQEBAAAyAgIAACQERAAACAjIAAAQEZAAACAjIAAAAAZAQEAADICAgAARLYPOl9N25Nng+IAAAAASUVORK5CYII=";+}diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue30403SmallImages.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403SmallImages.csnew file mode 100644index 0000000000..067a9634db--- /dev/null+++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403SmallImages.cs@@ -0,0 +1,617 @@+namespace Controls.TestCases.HostApp.Issues;++[Issue(IssueTracker.None, "30403Small",+ "Image under WinUI does not respect VerticalOptions and HorizontalOptions with AspectFit (Small Images)",+ PlatformAffected.UWP)]+public class Issue30403SmallImages : ContentPage+{+ public Issue30403SmallImages()+ {+ Title = "Small Image Tests";++ Content = new ScrollView+ {+ AutomationId = "SmallScroll",+ Content = new StackLayout+ {+ Spacing = 20,+ Padding = 15,+ Children =+ {+ CreatePageHeader(),+ CreateImageScenario(+ "1. Small Image in Large Container (Center)",+ "50x50 image in 400x300 container should stay near 50x50 and be centered.",+ "SmallImageCenter",+ "SmallImageCenterResult",+ 50,+ 50,+ 400,+ 300,+ Colors.LightBlue,+ Colors.Yellow,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateMultipleSmallImages(),+ CreateSmallImageAlignmentGrid(),+ CreateConstrainedSmallImages(),+ CreateImageScenario(+ "5. Tiny Image Test (10x10)",+ "10x10 image in a large container should remain tiny and centered.",+ "TinyImage",+ "TinyImageResult",+ 10,+ 10,+ 300,+ 200,+ Colors.Plum,+ Colors.White,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateSmallImageWithFillTest(),+ CreateComparisonTest()+ }+ }+ };+ }++ View CreatePageHeader()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "Small Image Tests",+ FontSize = 20,+ FontAttributes = FontAttributes.Bold,+ HorizontalOptions = LayoutOptions.Center+ },+ new Label+ {+ Text = "Testing local square images that should not exceed their intrinsic size with AspectFit.",+ FontSize = 14,+ TextColor = Colors.Gray,+ HorizontalOptions = LayoutOptions.Center,+ HorizontalTextAlignment = TextAlignment.Center+ },+ new Label+ {+ Text = "Key test: small images should remain small, not stretch to fill large containers.",+ FontSize = 12,+ TextColor = Colors.Red,+ HorizontalOptions = LayoutOptions.Center,+ HorizontalTextAlignment = TextAlignment.Center,+ FontAttributes = FontAttributes.Bold+ }+ }+ };+ }++ View CreateMultipleSmallImages()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "2. Multiple Small Images with Different Alignments",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.DarkGreen+ },+ new Label+ {+ Text = "Start and End alignments in large containers.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ new StackLayout+ {+ Spacing = 10,+ Children =+ {+ CreateImageScenario(+ "Start Alignment",+ "50x50 image should stay at the top-left.",+ "SmallImageStart",+ "SmallImageStartResult",+ 50,+ 50,+ null,+ 120,+ Colors.LightGreen,+ Colors.Orange,+ LayoutOptions.Start,+ LayoutOptions.Start),+ CreateImageScenario(+ "End Alignment",+ "50x50 image should stay at the bottom-right.",+ "SmallImageEnd",+ "SmallImageEndResult",+ 50,+ 50,+ null,+ 120,+ Colors.LightCoral,+ Colors.Orange,+ LayoutOptions.End,+ LayoutOptions.End)+ }+ }+ }+ };+ }++ View CreateSmallImageAlignmentGrid()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "3. Small Image Alignment Grid (3x3)",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.DarkRed+ },+ new Label+ {+ Text = "All 9 alignment combinations should keep each image small.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ new Grid+ {+ RowDefinitions =+ {+ new RowDefinition { Height = new GridLength(100, GridUnitType.Absolute) },+ new RowDefinition { Height = new GridLength(100, GridUnitType.Absolute) },+ new RowDefinition { Height = new GridLength(100, GridUnitType.Absolute) }+ },+ ColumnDefinitions =+ {+ new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) },+ new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) },+ new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) }+ },+ BackgroundColor = Colors.LightGray,+ RowSpacing = 2,+ ColumnSpacing = 2,+ Children =+ {+ CreateGridImage("SmallGridStartStart", LayoutOptions.Start, LayoutOptions.Start, Colors.Red, 0, 0),+ CreateGridImage("SmallGridStartCenter", LayoutOptions.Start, LayoutOptions.Center, Colors.Orange, 0, 1),+ CreateGridImage("SmallGridStartEnd", LayoutOptions.Start, LayoutOptions.End, Colors.Yellow, 0, 2),+ CreateGridImage("SmallGridCenterStart", LayoutOptions.Center, LayoutOptions.Start, Colors.Green, 1, 0),+ CreateGridImage("SmallGridCenterCenter", LayoutOptions.Center, LayoutOptions.Center, Colors.Blue, 1, 1),+ CreateGridImage("SmallGridCenterEnd", LayoutOptions.Center, LayoutOptions.End, Colors.Purple, 1, 2),+ CreateGridImage("SmallGridEndStart", LayoutOptions.End, LayoutOptions.Start, Colors.Cyan, 2, 0),+ CreateGridImage("SmallGridEndCenter", LayoutOptions.End, LayoutOptions.Center, Colors.Magenta, 2, 1),+ CreateGridImage("SmallGridEndEnd", LayoutOptions.End, LayoutOptions.End, Colors.Brown, 2, 2)+ }+ }+ }+ };+ }++ View CreateConstrainedSmallImages()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "4. Small Images in Constrained Containers",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.DarkOrange+ },+ new Label+ {+ Text = "50x50 images in containers smaller than the source image.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ new StackLayout+ {+ Orientation = StackOrientation.Horizontal,+ HorizontalOptions = LayoutOptions.Center,+ Spacing = 15,+ Children =+ {+ CreateImageScenario(+ "30x30 Container",+ string.Empty,+ "SmallImageConstrained30",+ "SmallImageConstrained30Result",+ 50,+ 50,+ 30,+ 30,+ Colors.Red,+ Colors.Transparent,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateImageScenario(+ "40x40 Container",+ string.Empty,+ "SmallImageConstrained40",+ "SmallImageConstrained40Result",+ 50,+ 50,+ 40,+ 40,+ Colors.Blue,+ Colors.Transparent,+ LayoutOptions.Center,+ LayoutOptions.Center),+ CreateImageScenario(+ "60x60 Container",+ string.Empty,+ "SmallImageConstrained60",+ "SmallImageConstrained60Result",+ 50,+ 50,+ 60,+ 60,+ Colors.Green,+ Colors.Transparent,+ LayoutOptions.Center,+ LayoutOptions.Center)+ }+ }+ }+ };+ }++ View CreateSmallImageWithFillTest()+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "6. Small Image with Fill Alignment",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.Teal+ },+ new Label+ {+ Text = "Fill alignment uses the available layout slot and Center remains intrinsic-sized.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ new StackLayout+ {+ Orientation = StackOrientation.Horizontal,+ Spacing = 10,+ Children =+ {+ CreateFillComparisonImage("Fill Alignment", "SmallImageFill", LayoutOptions.Fill, LayoutOptions.Fill),+ CreateFillComparisonImage("Center Alignment", "SmallImageCenterCompare", LayoutOptions.Center, LayoutOptions.Center)+ }+ }+ }+ };+ }++ View CreateComparisonTest()+ {+ var tiny = CreateComparisonContainer("10x10", CreateTinyImageSource(), "ComparisonTiny", 10);+ var small = CreateComparisonContainer("50x50", CreateSmallImageSource(), "ComparisonSmall", 50);+ var medium = CreateComparisonContainer("100x100", CreateMediumImageSource(), "ComparisonMedium", 100);+ var large = CreateComparisonContainer("200x200", CreateLargeSquareImageSource(), "ComparisonLarge", 200);++ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = "7. Size Comparison Test",+ FontSize = 16,+ FontAttributes = FontAttributes.Bold,+ TextColor = Colors.Brown+ },+ new Label+ {+ Text = "Different image sizes in identical 80x80 containers.",+ FontSize = 12,+ TextColor = Colors.Gray+ },+ new StackLayout+ {+ Orientation = StackOrientation.Horizontal,+ Spacing = 10,+ HorizontalOptions = LayoutOptions.Center,+ Children =+ {+ tiny.Container,+ small.Container,+ medium.Container,+ large.Container+ }+ },+ tiny.Result,+ small.Result,+ medium.Result,+ large.Result+ }+ };+ }++ View CreateImageScenario(+ string title,+ string description,+ string imageAutomationId,+ string resultAutomationId,+ double sourceWidth,+ double sourceHeight,+ double? containerWidth,+ double containerHeight,+ Color containerColor,+ Color imageBackground,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions)+ {+ var image = CreateImage(imageAutomationId, CreateImageSource(sourceWidth, sourceHeight), verticalOptions, horizontalOptions, imageBackground);+ var container = new Grid+ {+ AutomationId = $"{imageAutomationId}Container",+ HeightRequest = containerHeight,+ BackgroundColor = containerColor,+ HorizontalOptions = containerWidth.HasValue ? LayoutOptions.Center : LayoutOptions.Fill,+ Children = { image }+ };++ if (containerWidth.HasValue)+ container.WidthRequest = containerWidth.Value;++ var stack = new StackLayout();++ stack.Children.Add(new Label+ {+ Text = title,+ FontSize = 16,+ FontAttributes = FontAttributes.Bold+ });++ if (!string.IsNullOrEmpty(description))+ {+ stack.Children.Add(new Label+ {+ Text = description,+ FontSize = 12,+ TextColor = Colors.Gray+ });+ }++ stack.Children.Add(container);+ stack.Children.Add(CreateAspectFitResultLabel(+ resultAutomationId,+ image,+ container,+ sourceWidth,+ sourceHeight,+ verticalOptions,+ horizontalOptions));++ return stack;+ }++ View CreateFillComparisonImage(+ string label,+ string automationId,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions)+ {+ return new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = label,+ FontSize = 12,+ FontAttributes = FontAttributes.Bold+ },+ new Grid+ {+ WidthRequest = 150,+ HeightRequest = 100,+ BackgroundColor = Colors.LightSeaGreen,+ Children =+ {+ CreateImage(+ automationId,+ CreateSmallImageSource(),+ verticalOptions,+ horizontalOptions,+ Colors.Yellow)+ }+ }+ }+ };+ }++ (StackLayout Container, Label Result) CreateComparisonContainer(+ string label,+ ImageSource source,+ string automationId,+ double sourceSize)+ {+ var image = CreateImage(automationId, source, LayoutOptions.Center, LayoutOptions.Center, Colors.White);+ var container = new Grid+ {+ WidthRequest = 80,+ HeightRequest = 80,+ BackgroundColor = Colors.Wheat,+ Children = { image }+ };++ return (+ new StackLayout+ {+ Children =+ {+ new Label+ {+ Text = label,+ FontSize = 10,+ HorizontalOptions = LayoutOptions.Center,+ FontAttributes = FontAttributes.Bold+ },+ container+ }+ },+ CreateAspectFitResultLabel(+ $"{automationId}Result",+ image,+ container,+ sourceSize,+ sourceSize,+ LayoutOptions.Center,+ LayoutOptions.Center));+ }++ Image CreateGridImage(+ string automationId,+ LayoutOptions vertical,+ LayoutOptions horizontal,+ Color color,+ int row,+ int column)+ {+ var image = CreateImage(automationId, CreateSmallImageSource(), vertical, horizontal, color);++ Grid.SetRow(image, row);+ Grid.SetColumn(image, column);++ return image;+ }++ Image CreateImage(+ string automationId,+ ImageSource source,+ LayoutOptions verticalOptions,+ LayoutOptions horizontalOptions,+ Color backgroundColor)+ {+ return new Image+ {+ AutomationId = automationId,+ Source = source,+ Aspect = Aspect.AspectFit,+ VerticalOptions = verticalOptions,+ HorizontalOptions = horizontalOptions,+ BackgroundColor = backgroundColor+ };+ }++ Label CreateAspectFitResultLabel(+ string automationId,+ Image image,+ VisualElement container,+ double sourceWidth,+ double sourceHeight,+ LayoutOptions expectedVertical,+ LayoutOptions expectedHorizontal)+ {+ var resultLabel = new Label+ {+ AutomationId = automationId,+ Text = "PENDING",+ FontSize = 12+ };++ void UpdateResult()+ {+ if (container.Width <= 0 || container.Height <= 0 || image.Width <= 0 || image.Height <= 0)+ return;++ var scale = System.Math.Min(1, System.Math.Min(container.Width / sourceWidth, container.Height / sourceHeight));+ var expectedWidth = sourceWidth * scale;+ var expectedHeight = sourceHeight * scale;++ var fitsSize = IsClose(image.Width, expectedWidth) && IsClose(image.Height, expectedHeight);+ var alignsHorizontally = Aligns(image.X, image.Width, container.Width, expectedHorizontal);+ var alignsVertically = Aligns(image.Y, image.Height, container.Height, expectedVertical);++ resultLabel.Text = fitsSize && alignsHorizontally && alignsVertically+ ? $"PASS width={image.Width:F1} height={image.Height:F1} x={image.X:F1} y={image.Y:F1}"+ : $"FAIL expected={expectedWidth:F1}x{expectedHeight:F1} actual={image.Width:F1}x{image.Height:F1} x={image.X:F1} y={image.Y:F1} container={container.Width:F1}x{container.Height:F1}";+ }++ image.SizeChanged += (_, _) => UpdateResult();+ container.SizeChanged += (_, _) => UpdateResult();++ return resultLabel;+ }++ static bool Aligns(double actualStart, double actualSize, double containerSize, LayoutOptions expected)+ {+ if (expected == LayoutOptions.Start)+ return IsClose(actualStart, 0);++ if (expected == LayoutOptions.Center)+ return IsClose(actualStart + (actualSize / 2), containerSize / 2);++ if (expected == LayoutOptions.End)+ return IsClose(actualStart + actualSize, containerSize);++ if (expected == LayoutOptions.Fill)+ return IsClose(actualSize, containerSize);++ return true;+ }++ static bool IsClose(double actual, double expected)+ {+ const double tolerance = 4;+ return System.Math.Abs(actual - expected) <= tolerance;+ }++ static ImageSource CreateImageSource(double sourceWidth, double sourceHeight)+ {+ if (sourceWidth == 10 && sourceHeight == 10)+ return CreateImageSource(Tiny10ImageBase64);++ if (sourceWidth == 100 && sourceHeight == 100)+ return CreateImageSource(Square100ImageBase64);++ if (sourceWidth == 200 && sourceHeight == 200)+ return CreateImageSource(Square200ImageBase64);++ return CreateImageSource(Square50ImageBase64);+ }++ static ImageSource CreateSmallImageSource() => CreateImageSource(Square50ImageBase64);++ static ImageSource CreateTinyImageSource() => CreateImageSource(Tiny10ImageBase64);++ static ImageSource CreateMediumImageSource() => CreateImageSource(Square100ImageBase64);++ static ImageSource CreateLargeSquareImageSource() => CreateImageSource(Square200ImageBase64);++ static ImageSource CreateImageSource(string base64Png)+ {+ var bytes = System.Convert.FromBase64String(base64Png);+ return ImageSource.FromStream(() => new System.IO.MemoryStream(bytes));+ }++ const string Square50ImageBase64 =+ "iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABQSURBVGhD7c9BDQAwEASh9W/6amPS8EAAu+1+IFIjUiNSI1IjUiNSI1IjUiNSI1IjUiNSI1IjUiNSI1IjUiNSI1IjUiNSI1IjUiNS80lk9wCwM3WW+Ab2EgAAAABJRU5ErkJggg==";+ const string Tiny10ImageBase64 =+ "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAUSURBVChTY/hPJBhViBdQW+H//wAj+46A3TfWvAAAAABJRU5ErkJggg==";+ const string Square100ImageBase64 =+ "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD9SURBVHhe7cihAQAwEISw33/p6wJ4KhAxubstP8GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezHgw48GMBzMezDi2B3P91mR8J4VmAAAAAElFTkSuQmCC";+ const string Square200ImageBase64 =+ "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHhSURBVHhe7cixDYAwAASxjM7mAenbYwMXbnzOcy7wIxOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygckEJhOYTGAygc+5LwiV0WhwA9t2AAAAAElFTkSuQmCC";+}diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.csnew file mode 100644index 0000000000..b29fc451b3--- /dev/null+++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs@@ -0,0 +1,87 @@+#if WINDOWS+using NUnit.Framework;+using UITest.Appium;+using UITest.Core;++namespace Microsoft.Maui.TestCases.Tests.Issues;++public class Issue30403PanoramicImages : _IssuesUITest+{+ public Issue30403PanoramicImages(TestDevice testDevice) : base(testDevice)+ {+ }++ public override string Issue =>+ "Image under WinUI does not respect VerticalOptions and HorizontalOptions with AspectFit (Panoramic)";++ [Test, Order(1)]+ [Category(UITestCategories.Image)]+ public void PanoramicImageCenterAlignment_ShouldRespectLayoutOptions()+ {+ AssertScenarioPassed("PanoramicCenterResult");+ }++ [Test, Order(2)]+ [Category(UITestCategories.Image)]+ public void PanoramicImageStartAlignment_ShouldAlignToTopLeft()+ {+ AssertScenarioPassed("PanoramicStartResult");+ }++ [Test, Order(3)]+ [Category(UITestCategories.Image)]+ public void PanoramicImageEndAlignment_ShouldAlignToBottomRight()+ {+ AssertScenarioPassed("PanoramicEndResult");+ }++ [Test, Order(4)]+ [Category(UITestCategories.Image)]+ public void PanoramicImageFillAlignment_ShouldUseAvailableLayoutSlot()+ {+ AssertScenarioPassed("PanoramicFillResult");+ }++ [Test, Order(5)]+ [Category(UITestCategories.Image)]+ public void ConstrainedWidthContainer_ShouldHandleNarrowSpace()+ {+ AssertScenarioPassed("PanoramicNarrowResult");+ }++ [Test, Order(6)]+ [Category(UITestCategories.Image)]+ public void ConstrainedHeightContainer_ShouldHandleShortSpace()+ {+ AssertScenarioPassed("PanoramicShortResult");+ }++ [Test, Order(7)]+ [Category(UITestCategories.Image)]+ public void MultipleImagesInGrid_ShouldRespectIndividualAlignments()+ {+ foreach (var resultId in new[]+ {+ "MultiPanoramicTopLeftResult",+ "MultiPanoramicTopRightResult",+ "MultiPanoramicBottomLeftResult",+ "MultiPanoramicBottomRightResult"+ })+ {+ AssertScenarioPassed(resultId);+ }+ }++ void AssertScenarioPassed(string automationId)+ {+ App.WaitForElement("PanoramicScroll");+ App.ScrollTo(automationId);++ var passed = App.WaitForTextToBePresentInElement(automationId, "PASS", TimeSpan.FromSeconds(10));+ var result = App.WaitForElement(automationId).GetText();++ Assert.That(passed, Is.True, result);+ Assert.That(result, Does.StartWith("PASS"), result);+ }+}+#endifdiff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.csnew file mode 100644index 0000000000..3be1a4103e--- /dev/null+++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs@@ -0,0 +1,88 @@+#if WINDOWS+using NUnit.Framework;+using UITest.Appium;+using UITest.Core;++namespace Microsoft.Maui.TestCases.Tests.Issues;++public class Issue30403SmallImages : _IssuesUITest+{+ public Issue30403SmallImages(TestDevice testDevice) : base(testDevice)+ {+ }++ public override string Issue =>+ "Image under WinUI does not respect VerticalOptions and HorizontalOptions with AspectFit (Small Images)";++ [Test, Order(1)]+ [Category(UITestCategories.Image)]+ public void SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize()+ {+ AssertScenarioPassed("SmallImageCenterResult");+ }++ [Test, Order(2)]+ [Category(UITestCategories.Image)]+ public void SmallImageStartAlignment_ShouldRespectAlignment()+ {+ AssertScenarioPassed("SmallImageStartResult");+ }++ [Test, Order(3)]+ [Category(UITestCategories.Image)]+ public void SmallImageEndAlignment_ShouldRespectAlignment()+ {+ AssertScenarioPassed("SmallImageEndResult");+ }++ [Test, Order(4)]+ [Category(UITestCategories.Image)]+ public void ConstrainedContainers_ShouldHandleSmallImages()+ {+ foreach (var resultId in new[]+ {+ "SmallImageConstrained30Result",+ "SmallImageConstrained40Result",+ "SmallImageConstrained60Result"+ })+ {+ AssertScenarioPassed(resultId);+ }+ }++ [Test, Order(5)]+ [Category(UITestCategories.Image)]+ public void TinyImage_ShouldRemainTiny()+ {+ AssertScenarioPassed("TinyImageResult");+ }++ [Test, Order(6)]+ [Category(UITestCategories.Image)]+ public void SizeComparison_ShouldShowDifferentSizes()+ {+ foreach (var resultId in new[]+ {+ "ComparisonTinyResult",+ "ComparisonSmallResult",+ "ComparisonMediumResult",+ "ComparisonLargeResult"+ })+ {+ AssertScenarioPassed(resultId);+ }+ }++ void AssertScenarioPassed(string automationId)+ {+ App.WaitForElement("SmallScroll");+ App.ScrollTo(automationId);++ var passed = App.WaitForTextToBePresentInElement(automationId, "PASS", TimeSpan.FromSeconds(10));+ var result = App.WaitForElement(automationId).GetText();++ Assert.That(passed, Is.True, result);+ Assert.That(result, Does.StartWith("PASS"), result);+ }+}+#endif|
/azp run maui-pr-uitests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/review -b feature/refactor-copilot-yml -p windows |
MauiBot
left a comment
There was a problem hiding this comment.
🤖 Automated review — alternative fix proposed
The expert-reviewer evaluation compared the PR fix against #2 automatically generated candidates and selected try-fix-2 as the strongest fix.
Why: try-fix-2 won because it is the only candidate with a recorded passing targeted Windows regression run. It fixes the PR review concerns by adding page-ready waits and a dedicated Fill layout-slot assertion while avoiding try-fix-1's false intrinsic-size assumption.
Please consider applying the candidate diff below (or use it as guidance). Once you push an update, this workflow will re-trigger and re-evaluate.
Candidate diff (`try-fix-2`)
diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs
index ed3a2a0c78..6f53f043d9 100644
--- a/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs
+++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue30403PanoramicImages.cs
@@ -156,6 +156,18 @@ public class Issue30403PanoramicImages : ContentPage
View CreateFillAlignmentTest()
{
+ var image = CreatePanoramicImage(
+ "PanoramicFill",
+ LayoutOptions.Fill,
+ LayoutOptions.Fill,
+ Colors.Yellow);
+ var container = new Grid
+ {
+ HeightRequest = 200,
+ BackgroundColor = Colors.Orange,
+ Children = { image }
+ };
+
return new StackLayout
{
Children =
@@ -173,19 +185,11 @@ public class Issue30403PanoramicImages : ContentPage
FontSize = 12,
TextColor = Colors.Gray
},
- new Grid
- {
- HeightRequest = 200,
- BackgroundColor = Colors.Orange,
- Children =
- {
- CreatePanoramicImage(
- "PanoramicFill",
- LayoutOptions.Fill,
- LayoutOptions.Fill,
- Colors.Yellow)
- }
- }
+ container,
+ CreateFillResultLabel(
+ "PanoramicFillResult",
+ image,
+ container)
}
};
}
@@ -445,6 +449,39 @@ public class Issue30403PanoramicImages : ContentPage
return resultLabel;
}
+ Label CreateFillResultLabel(
+ string automationId,
+ Image image,
+ VisualElement container)
+ {
+ var resultLabel = new Label
+ {
+ AutomationId = automationId,
+ Text = "PENDING",
+ FontSize = 12
+ };
+
+ void UpdateResult()
+ {
+ if (container.Width <= 0 || container.Height <= 0 || image.Width <= 0 || image.Height <= 0)
+ return;
+
+ var fillsSlot = IsClose(image.X, 0)
+ && IsClose(image.Y, 0)
+ && IsClose(image.Width, container.Width)
+ && IsClose(image.Height, container.Height);
+
+ resultLabel.Text = fillsSlot
+ ? $"PASS width={image.Width:F1} height={image.Height:F1} x={image.X:F1} y={image.Y:F1}"
+ : $"FAIL expected-slot={container.Width:F1}x{container.Height:F1} actual={image.Width:F1}x{image.Height:F1} x={image.X:F1} y={image.Y:F1}";
+ }
+
+ image.SizeChanged += (_, _) => UpdateResult();
+ container.SizeChanged += (_, _) => UpdateResult();
+
+ return resultLabel;
+ }
+
static bool Aligns(double actualStart, double actualSize, double containerSize, LayoutOptions expected)
{
if (expected == LayoutOptions.Start)
diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs
index d185658bca..75487781a5 100644
--- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs
+++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403PanoramicImages.cs
@@ -37,10 +37,9 @@ public class Issue30403PanoramicImages : _IssuesUITest
[Test, Order(4)]
[Category(UITestCategories.Image)]
- public void AllPanoramicImages_ShouldLoadAndDisplay()
+ public void PanoramicImageFillAlignment_ShouldUseAvailableSpace()
{
- foreach (var resultId in new[] { "PanoramicCenterResult", "PanoramicStartResult", "PanoramicEndResult" })
- AssertScenarioPassed(resultId);
+ AssertScenarioPassed("PanoramicFillResult");
}
[Test, Order(5)]
@@ -75,6 +74,7 @@ public class Issue30403PanoramicImages : _IssuesUITest
void AssertScenarioPassed(string automationId)
{
+ App.WaitForElement("PanoramicScroll");
App.ScrollTo(automationId);
var passed = App.WaitForTextToBePresentInElement(automationId, "PASS", TimeSpan.FromSeconds(10));
diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs
index f7f736f827..3be1a4103e 100644
--- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs
+++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30403SmallImages.cs
@@ -75,6 +75,7 @@ public class Issue30403SmallImages : _IssuesUITest
void AssertScenarioPassed(string automationId)
{
+ App.WaitForElement("SmallScroll");
App.ScrollTo(automationId);
var passed = App.WaitForTextToBePresentInElement(automationId, "PASS", TimeSpan.FromSeconds(10));
🤖 AI Summary
📊 Review Session —
|
| Test | Without Fix (expect FAIL) | With Fix (expect PASS) |
|---|---|---|
🖥️ Issue30403PanoramicImages Issue30403PanoramicImages |
❌ PASS — 457s | ✅ PASS — 455s |
🖥️ Issue30403SmallImages Issue30403SmallImages |
❌ PASS — 454s | ✅ PASS — 454s |
🔴 Without fix — 🖥️ Issue30403PanoramicImages: PASS ❌ · 457s
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics.Win2D -> D:\a\1\s\artifacts\bin\Graphics.Win2D\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Maps -> D:\a\1\s\artifacts\bin\Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Maps.dll
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Foldable -> D:\a\1\s\artifacts\bin\Controls.Foldable\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Foldable.dll
Controls.Maps -> D:\a\1\s\artifacts\bin\Controls.Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Maps.dll
Microsoft.AspNetCore.Components.WebView.Maui -> D:\a\1\s\artifacts\bin\Microsoft.AspNetCore.Components.WebView.Maui\Debug\net10.0-windows10.0.19041.0\Microsoft.AspNetCore.Components.WebView.Maui.dll
Controls.Xaml -> D:\a\1\s\artifacts\bin\Controls.Xaml\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Xaml.dll
Controls.TestCases.HostApp -> D:\a\1\s\artifacts\bin\Controls.TestCases.HostApp\Debug\net10.0-windows10.0.19041.0\win-x64\Controls.TestCases.HostApp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:05:31.72
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0\Microsoft.Maui.Graphics.dll
Controls.CustomAttributes -> D:\a\1\s\artifacts\bin\Controls.CustomAttributes\Debug\net10.0\Controls.CustomAttributes.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0\Microsoft.Maui.dll
Controls.Core.Design -> D:\a\1\s\artifacts\bin\Controls.Core.Design\Debug\net472\Microsoft.Maui.Controls.DesignTools.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0\Microsoft.Maui.Controls.dll
UITest.Core -> D:\a\1\s\artifacts\bin\UITest.Core\Debug\net10.0\UITest.Core.dll
UITest.Appium -> D:\a\1\s\artifacts\bin\UITest.Appium\Debug\net10.0\UITest.Appium.dll
UITest.NUnit -> D:\a\1\s\artifacts\bin\UITest.NUnit\Debug\net10.0\UITest.NUnit.dll
VisualTestUtils -> D:\a\1\s\artifacts\bin\VisualTestUtils\Debug\netstandard2.0\VisualTestUtils.dll
VisualTestUtils.MagickNet -> D:\a\1\s\artifacts\bin\VisualTestUtils.MagickNet\Debug\netstandard2.0\VisualTestUtils.MagickNet.dll
UITest.Analyzers -> D:\a\1\s\artifacts\bin\UITest.Analyzers\Debug\netstandard2.0\UITest.Analyzers.dll
Controls.TestCases.WinUI.Tests -> D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
Test run for D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
NUnit3TestExecutor discovered 7 of 7 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 5/26/2026 8:49:16 PM FixtureSetup for Issue30403PanoramicImages(Windows)
>>>>> 5/26/2026 8:49:27 PM PanoramicImageCenterAlignment_ShouldRespectLayoutOptions Start
>>>>> 5/26/2026 8:49:29 PM PanoramicImageCenterAlignment_ShouldRespectLayoutOptions Stop
Passed PanoramicImageCenterAlignment_ShouldRespectLayoutOptions [2 s]
>>>>> 5/26/2026 8:49:29 PM PanoramicImageStartAlignment_ShouldAlignToTopLeft Start
>>>>> 5/26/2026 8:49:30 PM PanoramicImageStartAlignment_ShouldAlignToTopLeft Stop
>>>>> 5/26/2026 8:49:30 PM PanoramicImageEndAlignment_ShouldAlignToBottomRight Start
Passed PanoramicImageStartAlignment_ShouldAlignToTopLeft [1 s]
>>>>> 5/26/2026 8:49:32 PM PanoramicImageEndAlignment_ShouldAlignToBottomRight Stop
>>>>> 5/26/2026 8:49:32 PM AllPanoramicImages_ShouldLoadAndDisplay Start
Passed PanoramicImageEndAlignment_ShouldAlignToBottomRight [1 s]
>>>>> 5/26/2026 8:49:35 PM AllPanoramicImages_ShouldLoadAndDisplay Stop
Passed AllPanoramicImages_ShouldLoadAndDisplay [3 s]
>>>>> 5/26/2026 8:49:35 PM ConstrainedWidthContainer_ShouldHandleNarrowSpace Start
>>>>> 5/26/2026 8:49:37 PM ConstrainedWidthContainer_ShouldHandleNarrowSpace Stop
>>>>> 5/26/2026 8:49:37 PM ConstrainedHeightContainer_ShouldHandleShortSpace Start
Passed ConstrainedWidthContainer_ShouldHandleNarrowSpace [1 s]
>>>>> 5/26/2026 8:49:38 PM ConstrainedHeightContainer_ShouldHandleShortSpace Stop
>>>>> 5/26/2026 8:49:38 PM MultipleImagesInGrid_ShouldRespectIndividualAlignments Start
Passed ConstrainedHeightContainer_ShouldHandleShortSpace [1 s]
>>>>> 5/26/2026 8:49:43 PM MultipleImagesInGrid_ShouldRespectIndividualAlignments Stop
Passed MultipleImagesInGrid_ShouldRespectIndividualAlignments [4 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.10] Discovering: Controls.TestCases.WinUI.Tests
[xUnit.net 00:00:00.31] Discovered: Controls.TestCases.WinUI.Tests
Results File: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403PanoramicImages.trx
Test Run Successful.
Total tests: 7
Passed: 7
Total time: 38.8977 Seconds
>>> TRX_RESULT_FILE: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403PanoramicImages.trx
🟢 With fix — 🖥️ Issue30403PanoramicImages: PASS ✅ · 455s
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics.Win2D -> D:\a\1\s\artifacts\bin\Graphics.Win2D\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Foldable -> D:\a\1\s\artifacts\bin\Controls.Foldable\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Foldable.dll
Microsoft.AspNetCore.Components.WebView.Maui -> D:\a\1\s\artifacts\bin\Microsoft.AspNetCore.Components.WebView.Maui\Debug\net10.0-windows10.0.19041.0\Microsoft.AspNetCore.Components.WebView.Maui.dll
Maps -> D:\a\1\s\artifacts\bin\Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Maps.dll
Controls.Xaml -> D:\a\1\s\artifacts\bin\Controls.Xaml\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Xaml.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Maps -> D:\a\1\s\artifacts\bin\Controls.Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Maps.dll
Controls.TestCases.HostApp -> D:\a\1\s\artifacts\bin\Controls.TestCases.HostApp\Debug\net10.0-windows10.0.19041.0\win-x64\Controls.TestCases.HostApp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:05:29.69
Determining projects to restore...
All projects are up-to-date for restore.
Controls.CustomAttributes -> D:\a\1\s\artifacts\bin\Controls.CustomAttributes\Debug\net10.0\Controls.CustomAttributes.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0\Microsoft.Maui.dll
Controls.Core.Design -> D:\a\1\s\artifacts\bin\Controls.Core.Design\Debug\net472\Microsoft.Maui.Controls.DesignTools.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0\Microsoft.Maui.Controls.dll
UITest.Core -> D:\a\1\s\artifacts\bin\UITest.Core\Debug\net10.0\UITest.Core.dll
UITest.Appium -> D:\a\1\s\artifacts\bin\UITest.Appium\Debug\net10.0\UITest.Appium.dll
VisualTestUtils -> D:\a\1\s\artifacts\bin\VisualTestUtils\Debug\netstandard2.0\VisualTestUtils.dll
UITest.NUnit -> D:\a\1\s\artifacts\bin\UITest.NUnit\Debug\net10.0\UITest.NUnit.dll
VisualTestUtils.MagickNet -> D:\a\1\s\artifacts\bin\VisualTestUtils.MagickNet\Debug\netstandard2.0\VisualTestUtils.MagickNet.dll
UITest.Analyzers -> D:\a\1\s\artifacts\bin\UITest.Analyzers\Debug\netstandard2.0\UITest.Analyzers.dll
Controls.TestCases.WinUI.Tests -> D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
Test run for D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
NUnit3TestExecutor discovered 7 of 7 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 5/26/2026 9:04:25 PM FixtureSetup for Issue30403PanoramicImages(Windows)
>>>>> 5/26/2026 9:04:36 PM PanoramicImageCenterAlignment_ShouldRespectLayoutOptions Start
>>>>> 5/26/2026 9:04:38 PM PanoramicImageCenterAlignment_ShouldRespectLayoutOptions Stop
Passed PanoramicImageCenterAlignment_ShouldRespectLayoutOptions [2 s]
>>>>> 5/26/2026 9:04:38 PM PanoramicImageStartAlignment_ShouldAlignToTopLeft Start
>>>>> 5/26/2026 9:04:40 PM PanoramicImageStartAlignment_ShouldAlignToTopLeft Stop
Passed PanoramicImageStartAlignment_ShouldAlignToTopLeft [1 s]
>>>>> 5/26/2026 9:04:40 PM PanoramicImageEndAlignment_ShouldAlignToBottomRight Start
>>>>> 5/26/2026 9:04:41 PM PanoramicImageEndAlignment_ShouldAlignToBottomRight Stop
>>>>> 5/26/2026 9:04:41 PM AllPanoramicImages_ShouldLoadAndDisplay Start
Passed PanoramicImageEndAlignment_ShouldAlignToBottomRight [1 s]
>>>>> 5/26/2026 9:04:45 PM AllPanoramicImages_ShouldLoadAndDisplay Stop
Passed AllPanoramicImages_ShouldLoadAndDisplay [3 s]
>>>>> 5/26/2026 9:04:45 PM ConstrainedWidthContainer_ShouldHandleNarrowSpace Start
>>>>> 5/26/2026 9:04:46 PM ConstrainedWidthContainer_ShouldHandleNarrowSpace Stop
>>>>> 5/26/2026 9:04:46 PM ConstrainedHeightContainer_ShouldHandleShortSpace Start
Passed ConstrainedWidthContainer_ShouldHandleNarrowSpace [1 s]
>>>>> 5/26/2026 9:04:47 PM ConstrainedHeightContainer_ShouldHandleShortSpace Stop
>>>>> 5/26/2026 9:04:47 PM MultipleImagesInGrid_ShouldRespectIndividualAlignments Start
Passed ConstrainedHeightContainer_ShouldHandleShortSpace [1 s]
>>>>> 5/26/2026 9:04:52 PM MultipleImagesInGrid_ShouldRespectIndividualAlignments Stop
Passed MultipleImagesInGrid_ShouldRespectIndividualAlignments [4 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.11] Discovering: Controls.TestCases.WinUI.Tests
[xUnit.net 00:00:00.32] Discovered: Controls.TestCases.WinUI.Tests
Results File: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403PanoramicImages.trx
Test Run Successful.
Total tests: 7
Passed: 7
Total time: 39.9538 Seconds
>>> TRX_RESULT_FILE: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403PanoramicImages.trx
🔴 Without fix — 🖥️ Issue30403SmallImages: PASS ❌ · 454s
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics.Win2D -> D:\a\1\s\artifacts\bin\Graphics.Win2D\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.dll
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Maps -> D:\a\1\s\artifacts\bin\Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Maps.dll
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Foldable -> D:\a\1\s\artifacts\bin\Controls.Foldable\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Foldable.dll
Controls.Maps -> D:\a\1\s\artifacts\bin\Controls.Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Maps.dll
Microsoft.AspNetCore.Components.WebView.Maui -> D:\a\1\s\artifacts\bin\Microsoft.AspNetCore.Components.WebView.Maui\Debug\net10.0-windows10.0.19041.0\Microsoft.AspNetCore.Components.WebView.Maui.dll
Controls.Xaml -> D:\a\1\s\artifacts\bin\Controls.Xaml\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Xaml.dll
Controls.TestCases.HostApp -> D:\a\1\s\artifacts\bin\Controls.TestCases.HostApp\Debug\net10.0-windows10.0.19041.0\win-x64\Controls.TestCases.HostApp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:05:28.12
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0\Microsoft.Maui.dll
Controls.CustomAttributes -> D:\a\1\s\artifacts\bin\Controls.CustomAttributes\Debug\net10.0\Controls.CustomAttributes.dll
Controls.Core.Design -> D:\a\1\s\artifacts\bin\Controls.Core.Design\Debug\net472\Microsoft.Maui.Controls.DesignTools.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0\Microsoft.Maui.Controls.dll
UITest.Core -> D:\a\1\s\artifacts\bin\UITest.Core\Debug\net10.0\UITest.Core.dll
UITest.Appium -> D:\a\1\s\artifacts\bin\UITest.Appium\Debug\net10.0\UITest.Appium.dll
UITest.NUnit -> D:\a\1\s\artifacts\bin\UITest.NUnit\Debug\net10.0\UITest.NUnit.dll
VisualTestUtils -> D:\a\1\s\artifacts\bin\VisualTestUtils\Debug\netstandard2.0\VisualTestUtils.dll
VisualTestUtils.MagickNet -> D:\a\1\s\artifacts\bin\VisualTestUtils.MagickNet\Debug\netstandard2.0\VisualTestUtils.MagickNet.dll
UITest.Analyzers -> D:\a\1\s\artifacts\bin\UITest.Analyzers\Debug\netstandard2.0\UITest.Analyzers.dll
Controls.TestCases.WinUI.Tests -> D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
Test run for D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
NUnit3TestExecutor discovered 6 of 6 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 5/26/2026 8:56:49 PM FixtureSetup for Issue30403SmallImages(Windows)
>>>>> 5/26/2026 8:56:59 PM SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize Start
>>>>> 5/26/2026 8:57:01 PM SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize Stop
Passed SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize [2 s]
>>>>> 5/26/2026 8:57:01 PM SmallImageStartAlignment_ShouldRespectAlignment Start
>>>>> 5/26/2026 8:57:03 PM SmallImageStartAlignment_ShouldRespectAlignment Stop
Passed SmallImageStartAlignment_ShouldRespectAlignment [1 s]
>>>>> 5/26/2026 8:57:03 PM SmallImageEndAlignment_ShouldRespectAlignment Start
>>>>> 5/26/2026 8:57:04 PM SmallImageEndAlignment_ShouldRespectAlignment Stop
Passed SmallImageEndAlignment_ShouldRespectAlignment [1 s]
>>>>> 5/26/2026 8:57:05 PM ConstrainedContainers_ShouldHandleSmallImages Start
>>>>> 5/26/2026 8:57:09 PM ConstrainedContainers_ShouldHandleSmallImages Stop
Passed ConstrainedContainers_ShouldHandleSmallImages [4 s]
>>>>> 5/26/2026 8:57:09 PM TinyImage_ShouldRemainTiny Start
>>>>> 5/26/2026 8:57:11 PM TinyImage_ShouldRemainTiny Stop
Passed TinyImage_ShouldRemainTiny [1 s]
>>>>> 5/26/2026 8:57:11 PM SizeComparison_ShouldShowDifferentSizes Start
>>>>> 5/26/2026 8:57:17 PM SizeComparison_ShouldShowDifferentSizes Stop
Passed SizeComparison_ShouldShowDifferentSizes [5 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.12] Discovering: Controls.TestCases.WinUI.Tests
[xUnit.net 00:00:00.32] Discovered: Controls.TestCases.WinUI.Tests
Results File: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403SmallImages.trx
Test Run Successful.
Total tests: 6
Passed: 6
Total time: 40.8157 Seconds
>>> TRX_RESULT_FILE: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403SmallImages.trx
🟢 With fix — 🖥️ Issue30403SmallImages: PASS ✅ · 454s
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics.Win2D -> D:\a\1\s\artifacts\bin\Graphics.Win2D\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Maps -> D:\a\1\s\artifacts\bin\Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Maps.dll
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Microsoft.AspNetCore.Components.WebView.Maui -> D:\a\1\s\artifacts\bin\Microsoft.AspNetCore.Components.WebView.Maui\Debug\net10.0-windows10.0.19041.0\Microsoft.AspNetCore.Components.WebView.Maui.dll
Controls.Maps -> D:\a\1\s\artifacts\bin\Controls.Maps\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Maps.dll
Controls.Xaml -> D:\a\1\s\artifacts\bin\Controls.Xaml\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Xaml.dll
Controls.Foldable -> D:\a\1\s\artifacts\bin\Controls.Foldable\Debug\net10.0-windows10.0.19041.0\Microsoft.Maui.Controls.Foldable.dll
Controls.TestCases.HostApp -> D:\a\1\s\artifacts\bin\Controls.TestCases.HostApp\Debug\net10.0-windows10.0.19041.0\win-x64\Controls.TestCases.HostApp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:05:28.99
Determining projects to restore...
All projects are up-to-date for restore.
Controls.CustomAttributes -> D:\a\1\s\artifacts\bin\Controls.CustomAttributes\Debug\net10.0\Controls.CustomAttributes.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Graphics -> D:\a\1\s\artifacts\bin\Graphics\Debug\net10.0\Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Essentials -> D:\a\1\s\artifacts\bin\Essentials\Debug\net10.0\Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Core -> D:\a\1\s\artifacts\bin\Core\Debug\net10.0\Microsoft.Maui.dll
Controls.Core.Design -> D:\a\1\s\artifacts\bin\Controls.Core.Design\Debug\net472\Microsoft.Maui.Controls.DesignTools.dll
Controls.BindingSourceGen -> D:\a\1\s\artifacts\bin\Controls.BindingSourceGen\Debug\netstandard2.0\Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.80-ci+azdo.14198135
Controls.Core -> D:\a\1\s\artifacts\bin\Controls.Core\Debug\net10.0\Microsoft.Maui.Controls.dll
UITest.Core -> D:\a\1\s\artifacts\bin\UITest.Core\Debug\net10.0\UITest.Core.dll
UITest.Appium -> D:\a\1\s\artifacts\bin\UITest.Appium\Debug\net10.0\UITest.Appium.dll
UITest.NUnit -> D:\a\1\s\artifacts\bin\UITest.NUnit\Debug\net10.0\UITest.NUnit.dll
VisualTestUtils -> D:\a\1\s\artifacts\bin\VisualTestUtils\Debug\netstandard2.0\VisualTestUtils.dll
VisualTestUtils.MagickNet -> D:\a\1\s\artifacts\bin\VisualTestUtils.MagickNet\Debug\netstandard2.0\VisualTestUtils.MagickNet.dll
UITest.Analyzers -> D:\a\1\s\artifacts\bin\UITest.Analyzers\Debug\netstandard2.0\UITest.Analyzers.dll
Controls.TestCases.WinUI.Tests -> D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
Test run for D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in D:\a\1\s\artifacts\bin\Controls.TestCases.WinUI.Tests\Debug\net10.0\Controls.TestCases.WinUI.Tests.dll
NUnit3TestExecutor discovered 6 of 6 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 5/26/2026 9:11:59 PM FixtureSetup for Issue30403SmallImages(Windows)
>>>>> 5/26/2026 9:12:09 PM SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize Start
>>>>> 5/26/2026 9:12:12 PM SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize Stop
Passed SmallImageInLargeContainer_ShouldNotExceedIntrinsicSize [2 s]
>>>>> 5/26/2026 9:12:12 PM SmallImageStartAlignment_ShouldRespectAlignment Start
>>>>> 5/26/2026 9:12:13 PM SmallImageStartAlignment_ShouldRespectAlignment Stop
Passed SmallImageStartAlignment_ShouldRespectAlignment [1 s]
>>>>> 5/26/2026 9:12:13 PM SmallImageEndAlignment_ShouldRespectAlignment Start
>>>>> 5/26/2026 9:12:15 PM SmallImageEndAlignment_ShouldRespectAlignment Stop
>>>>> 5/26/2026 9:12:15 PM ConstrainedContainers_ShouldHandleSmallImages Start
Passed SmallImageEndAlignment_ShouldRespectAlignment [1 s]
>>>>> 5/26/2026 9:12:20 PM ConstrainedContainers_ShouldHandleSmallImages Stop
Passed ConstrainedContainers_ShouldHandleSmallImages [4 s]
>>>>> 5/26/2026 9:12:20 PM TinyImage_ShouldRemainTiny Start
>>>>> 5/26/2026 9:12:21 PM TinyImage_ShouldRemainTiny Stop
>>>>> 5/26/2026 9:12:21 PM SizeComparison_ShouldShowDifferentSizes Start
Passed TinyImage_ShouldRemainTiny [1 s]
>>>>> 5/26/2026 9:12:27 PM SizeComparison_ShouldShowDifferentSizes Stop
Passed SizeComparison_ShouldShowDifferentSizes [5 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.10] Discovering: Controls.TestCases.WinUI.Tests
[xUnit.net 00:00:00.30] Discovered: Controls.TestCases.WinUI.Tests
Results File: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403SmallImages.trx
Test Run Successful.
Total tests: 6
Passed: 6
Total time: 40.3502 Seconds
>>> TRX_RESULT_FILE: D:\a\1\s\CustomAgentLogsTmp\UITests\TestResults\Issue30403SmallImages.trx
⚠️ Failure Details
- ❌ Issue30403PanoramicImages PASSED without fix (should fail) — tests don't catch the bug
- ❌ Issue30403SmallImages PASSED without fix (should fail) — tests don't catch the bug
📁 Fix files reverted (1 files)
eng/pipelines/ci-copilot.yml
🧪 UI Tests — Image
Detected UI test categories: Image
❌ Deep UI tests — 54 passed, 1 failed across 1 category on platform-pool agent (replaces in-process counts above).
🧪 UI Test Execution Results (deep, platform pool)
| Category | Tests | Snapshot diffs |
|---|---|---|
Image |
54/57 (1 ❌) | — |
❌ Image — 1 failed test
RemovingImageWithGestureFromLayoutWithinGestureHandlerDoesNotCrash
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 2757
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 2784
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 793
at Microsoft.Maui.TestCases.Tests.Issues.Bugzilla57758.RemovingImageWithGestureFromLayoutWithinGestureHandlerDoesNotCrash() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla57758.cs:line 21
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandle
...
📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)
🔍 Regression Cross-Reference
🟢 No implementation files modified — skipping regression cross-reference.
🔍 Pre-Flight — Context & Validation
Issue: #31686 - [Testing] Include more testing around Windows Image Aspect recent fixes
PR: #35620 - [Testing] Include more testing around Windows Image Aspect recent fixes
Platforms Affected: Windows
Files Changed: 0 implementation, 4 test
Key Findings
- PR [Testing] Include more testing around Windows Image Aspect recent fixes #35620 is a test-only replacement for [Testing] Include more testing around Windows Image Aspect recent fixes #31694 that adds deterministic local-image Windows UI coverage for Image AspectFit scenarios.
- The issue asks for broader coverage around panoramic images, small images, constrained containers, alignment combinations, mixed sizes, and related Windows Image Aspect regressions.
- Review comments include a prior agent review that selected a second candidate after learning that Fill must be validated as a layout-slot scenario, not an intrinsic bitmap-size scenario.
- Gate verification was already completed by the caller and failed; this phase did not rerun or overwrite gate output.
Code Review Summary
Verdict: NEEDS_CHANGES
Confidence: medium
Errors: 0 | Warnings: 3 | Suggestions: 2
Key code review findings:
App.ScrollToruns before waiting forPanoramicScroll/SmallScroll, creating a Windows Helix readiness race.AllPanoramicImages_ShouldLoadAndDisplayrepeats the first three panoramic assertions without new coverage.PanoramicFillis rendered but has no PASS/FAIL label and no NUnit assertion.- The small-image 3x3 grid is visual-only.
IssueTracker.Noneavoids collisions but loses direct [Testing] Include more testing around Windows Image Aspect recent fixes #31686 traceability.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #35620 | Adds deterministic local-image Windows UI tests with HostApp-computed PASS/FAIL labels for panoramic and small AspectFit scenarios. | Gate failed before this task; Image UI category previously passed in prior review comment | Issue30403PanoramicImages.cs, Issue30403SmallImages.cs in HostApp and Shared.Tests |
Original PR; good foundation but leaves Fill visual-only and repeats first three panoramic checks. |
🔬 Code Review — Deep Analysis
Code Review PR #35620
Independent Assessment
What this changes: Adds two new HostApp pages (Issue30403PanoramicImages, Issue30403SmallImages) and two corresponding Windows-only NUnit test classes. The pages embed Base64-encoded PNGs as hermetic inline ImageSource objects and compute PASS/FAIL result strings via SizeChanged callbacks. The NUnit tests use App.WaitForTextToBePresentInElement to assert those labels show "PASS".
Inferred motivation: An earlier approach used Appium geometry checks and an external image host. Moving correctness judgement into MAUI layout measurements and embedding image bytes directly removes external network dependencies and Appium geometry variance.
Reconciliation with PR Narrative
Author claims: Replaces #31694; removes dummyimage.com; returns fresh stream per load; moves Appium geometry checks to HostApp PASS/FAIL labels; fixes #31686.
Agreement/disagreement: The implementation matches those claims. The coverage rendered in HostApp is broader than the NUnit assertions: PanoramicFill and the small 3x3 alignment grid are visual-only in the submitted PR.
Findings
Warning App.ScrollTo fires before page is confirmed ready
Issue30403PanoramicImages.cs:78 and Issue30403SmallImages.cs:78 call App.ScrollTo(automationId) before any page/root element wait. Slow Windows Helix runs can race page creation/layout.
Warning AllPanoramicImages_ShouldLoadAndDisplay is redundant
Issue30403PanoramicImages.cs:40 reasserts only the first three panoramic labels already covered by the ordered tests, adding runtime without new coverage.
Warning PanoramicFill scenario is unasserted
Issue30403PanoramicImages.cs:157 renders a Fill scenario but has no PASS/FAIL result label and no NUnit assertion. A Fill + AspectFit regression would not be caught.
Suggestion 3x3 small-image alignment grid is visual-only
Issue30403SmallImages.cs:148 renders all nine combinations but does not assert them.
Suggestion IssueTracker.None loses issue traceability
Both HostApp pages avoid linking to #31686; this may be intentional to avoid navigation collision but is less traceable.
Devil's Advocate
The submitted test strategy is sound and deterministic. The warnings are about flake resistance and missing automated coverage rather than a broken underlying approach. The Fill case requires special care because LayoutOptions.Fill validates the allocated view slot, not the drawn bitmap's intrinsic AspectFit dimensions.
Verdict: NEEDS_CHANGES
Confidence: medium
Summary: The PR is a good foundation, but the readiness race, redundant panoramic aggregate test, and unasserted Fill scenario make it worth exploring alternatives.
🔧 Fix — Analysis & Comparison
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | code-review + maui-expert-reviewer guidance | Reuse existing AspectFit result helper for Fill, add page-ready waits, replace redundant aggregate panoramic test. | FAILED | 3 files | Failed because Fill view bounds are layout-slot bounds, not intrinsic bitmap bounds. |
| 2 | learned from try-fix-1 failure | Add Fill-specific layout-slot result helper, add page-ready waits, replace redundant aggregate test with Fill assertion. | PASSED | 3 files | Better than PR: covers unasserted Fill scenario and reduces scroll startup flakiness without broad refactor. |
| PR | PR #35620 | Deterministic local-image Windows UI tests with HostApp-computed PASS/FAIL labels for intrinsic AspectFit scenarios. | Gate failed before this task; prior Image UI run passed | 4 files | Original PR; solid foundation but leaves Fill visual-only and repeats first three panoramic checks. |
Cross-Pollination
| Model | Round | New Ideas? | Details |
|---|---|---|---|
| code-review / maui-expert-reviewer | 1 | Yes | Identified startup wait hardening, redundant panoramic coverage, and unasserted Fill scenario. |
| test failure feedback | 2 | Yes | Candidate 1 proved Fill needs a separate assertion because LayoutOptions.Fill validates layout-slot sizing, not intrinsic AspectFit bitmap sizing. |
| gpt-5.5 orchestration | 2 | No further needed | Candidate 2 passed the targeted Windows regression tests and is demonstrably better than the PR's current test implementation. |
Exhausted: No - stopped because Candidate #2 passed all targeted Windows tests and is materially better than the PR's current test-only fix.
Selected Fix: Candidate #2 - targeted, semantic improvement that adds missing automated Fill coverage and hardens test readiness while preserving the PR's deterministic local-image strategy.
📋 Report — Final Recommendation
Comparative Analysis PR #35620
Ranking
-
try-fix-2 Winner
- Result: PASSED
pwsh .github\scripts\BuildAndRunHostApp.ps1 -Platform windows -TestFilter "FullyQualifiedName~Issue30403"with 14/14 tests. - Why: It preserves the PR's deterministic local-image strategy, fixes the
ScrollToreadiness race, removes the redundant panoramic aggregate assertion, and adds meaningful automated Fill coverage using a dedicated layout-slot assertion. It also incorporates the lesson from try-fix-1 that Fill must not be validated against intrinsic AspectFit bitmap bounds.
- Result: PASSED
-
pr-plus-reviewer
- Result: Environment-blocked / unverified in the sandbox.
- Why lower than try-fix-2: It applies the expert feedback and additionally attempts small-image Fill coverage, but the targeted Windows validation could not reach the test stage because sandbox build-task prerequisites/restore assets were missing and the build-task retry did not complete in a reasonable time. Since it was not regression-proven, it ranks below the passing try-fix-2 candidate.
-
pr
- Result: Gate failed before this phase; prior Image UI run was reported as passing in earlier context.
- Why lower than try-fix-2: The raw PR is a solid test-only foundation, but it leaves
PanoramicFill/small Fill scenarios visual-only and contains a redundant aggregate panoramic test. It also lacks the root scroll waits that harden the Appium scroll/assertion flow.
-
try-fix-1
- Result: FAILED targeted Windows regression tests: 13 passed, 1 failed.
- Why: It correctly identified the missing Fill assertion and page-ready waits, but reused the intrinsic AspectFit result helper for Fill. The failure (
expected=800.0x200.0 actual=978.0x200.0 ...) proves Fill must be asserted as layout-slot sizing instead.
Decision
The single winning candidate is try-fix-2. It is the only candidate with a recorded passing targeted Windows regression result, and candidates that failed regression tests are ranked lower than passing candidates as required. Although pr-plus-reviewer includes one additional coverage idea, it remains unverified in this environment and should not displace a proven passing candidate.
…es (#35620) <!-- 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! ### Description of Change Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback. Changes from the previous PR: - Removes external `dummyimage.com` dependencies and malformed query strings by using deterministic local PNG streams. - Returns a fresh stream for each image load. - Moves fragile Appium geometry checks into HostApp-computed `PASS`/`FAIL` labels so tests assert layout results from MAUI view measurements. - Keeps coverage for panoramic images, small images, constrained containers, alignment combinations, and size comparisons. ### Issues Fixed Fixes #31686 ---------
…es (#35620) <!-- 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! ### Description of Change Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback. Changes from the previous PR: - Removes external `dummyimage.com` dependencies and malformed query strings by using deterministic local PNG streams. - Returns a fresh stream for each image load. - Moves fragile Appium geometry checks into HostApp-computed `PASS`/`FAIL` labels so tests assert layout results from MAUI view measurements. - Keeps coverage for panoramic images, small images, constrained containers, alignment combinations, and size comparisons. ### Issues Fixed Fixes #31686 ---------
…es (#35620) <!-- 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! ### Description of Change Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback. Changes from the previous PR: - Removes external `dummyimage.com` dependencies and malformed query strings by using deterministic local PNG streams. - Returns a fresh stream for each image load. - Moves fragile Appium geometry checks into HostApp-computed `PASS`/`FAIL` labels so tests assert layout results from MAUI view measurements. - Keeps coverage for panoramic images, small images, constrained containers, alignment combinations, and size comparisons. ### Issues Fixed Fixes #31686 ---------
…es (#35620) <!-- 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! ### Description of Change Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback. Changes from the previous PR: - Removes external `dummyimage.com` dependencies and malformed query strings by using deterministic local PNG streams. - Returns a fresh stream for each image load. - Moves fragile Appium geometry checks into HostApp-computed `PASS`/`FAIL` labels so tests assert layout results from MAUI view measurements. - Keeps coverage for panoramic images, small images, constrained containers, alignment combinations, and size comparisons. ### Issues Fixed Fixes #31686 ---------
…es (#35620) <!-- 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! ### Description of Change Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback. Changes from the previous PR: - Removes external `dummyimage.com` dependencies and malformed query strings by using deterministic local PNG streams. - Returns a fresh stream for each image load. - Moves fragile Appium geometry checks into HostApp-computed `PASS`/`FAIL` labels so tests assert layout results from MAUI view measurements. - Keeps coverage for panoramic images, small images, constrained containers, alignment combinations, and size comparisons. ### Issues Fixed Fixes #31686 ---------
## What's Coming .NET MAUI inflight/candidate introduces significant improvements across all platforms with focus on quality, performance, and developer experience. This release includes 153 commits with various improvements, bug fixes, and enhancements. ## Activityindicator - [Android] Fix CollectionView ActivityIndicator not animating after header height change by @Vignesh-SF3580 in #35358 <details> <summary>🔧 Fixes</summary> - [CollectionView items fail to update ActivityIndicator state after header height change](#33780) </details> ## Animation - [Android] Fix Shadow property affecting transform matrix. by @Shalini-Ashokan in #32962 <details> <summary>🔧 Fixes</summary> - [[Android] Applying Shadow property affects the properties in Visual Transform Matrix](#32731) </details> ## API - Add delegate-based alert dialog extensibility convention (no public API changes) by @Redth in #35095 <details> <summary>🔧 Fixes</summary> - [Alert/Dialog system (`DisplayAlert`, `DisplayActionSheet`, `DisplayPromptAsync`) needs a public extensibility point](#34104) </details> ## Blazor - [Android] Fix for BlazorWebView predictive back callback blocks Android back-to-home animation by @BagavathiPerumal in #35538 <details> <summary>🔧 Fixes</summary> - [[Android] BlazorWebView predictive back callback blocks Android back-to-home animation](#35397) </details> - [Android] Fix BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled by @devanathan-vaithiyanathan in #35611 <details> <summary>🔧 Fixes</summary> - [[inflight regression] Android BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled](#35573) </details> ## Border - [Windows] Fixed the ContentView clip is not updated when wrapping inside the Border by @Ahamed-Ali in #30408 <details> <summary>🔧 Fixes</summary> - [[Windows] ContentView clip is not updated when wrapping inside the Border](#30404) </details> - Fix Border.StrokeDashArray leaks dashed Borders when using a shared Application resource by @devanathan-vaithiyanathan in #35544 <details> <summary>🔧 Fixes</summary> - [`Border.StrokeDashArray` leaks dashed Borders when using a shared Application resource](#35492) </details> - [Windows] Border: Add AutomationPeer support by @Vignesh-SF3580 in #35577 <details> <summary>🔧 Fixes</summary> - [Adding AutomationPeers to Windows Borders](#27627) </details> - [Windows] Fixed BoxView improper rendering inside Border by @Dhivya-SF4094 in #28465 <details> <summary>🔧 Fixes</summary> - [[Windows] Issues with BoxView Placement Inside Border](#19668) </details> ## Button - Prevent NullReferenceException in LayoutButton by @GamesAgeddon in #35284 <details> <summary>🔧 Fixes</summary> - [NullReferenceException on iOS in Button.LayoutButton from WrapperView.LayoutSubviews](#31048) </details> - Fix TextColor null reset to restore platform defaults on iOS and Android by @Shalini-Ashokan in #35563 <details> <summary>🔧 Fixes</summary> - [[Windows, Android, iOS & Mac]Button TextColor does not restore to platform default when reset to null after dynamic update](#35513) </details> ## CollectionView - Fix CollectionView grid spacing updates for first row and column by @KarthikRajaKalaimani in #34527 <details> <summary>🔧 Fixes</summary> - [[MAUI] I2_Vertical grid for horizontal Item Spacing and Vertical Item Spacing - horizontally updating the spacing only applies to the second column](#34257) </details> - [MacCatalyst] Fix CollectionView Header/Footer Not Expanding to Content Width by @KarthikRajaKalaimani in #35213 <details> <summary>🔧 Fixes</summary> - [[MacOS][CV2] I8_View header and footer_Horizontal_View - Footer on the right doesn't adapt when resizing the window](#35113) </details> - [iOS/MacCatalyst] Fix IndicatorView not updating when IndicatorSize is changed to default value by @Shalini-Ashokan in #35215 <details> <summary>🔧 Fixes</summary> - [[iOS/MacCatalyst] IndicatorView does not update when IndicatorSize is dynamically changed to the default value](#35214) </details> - CollectionView selecteditem background lost if collectionview (or parent) IsEnabled changed. by @KarthikRajaKalaimani in #31540 <details> <summary>🔧 Fixes</summary> - [CollectionView selecteditem background lost if collectionview (or parent) IsEnabled changed.](#20615) </details> - [iOS/macOS] CollectionView: Fix FlowDirection not working on EmptyView by @Dhivya-SF4094 in #32674 <details> <summary>🔧 Fixes</summary> - [[iOS, MacOS] FlowDirection not working on EmptyView in CollectionView](#32404) - [[iOS, Mac] CollectionView EmptyViewTemplate content text is mirrored when FlowDirection is RightToLeft](#34522) </details> - Fix iOS CollectionView stale layout invalidations by @filipnavara in #35245 <details> <summary>🔧 Fixes</summary> - [[iOS] CollectionView tries to invalidate cells with invalid indexes](#35244) </details> - Fix Android grouped CollectionView header/footer rebind leak by @AdamEssenmacher in #35368 <details> <summary>🔧 Fixes</summary> - [Memory leak when scrolling a CollectionView with IsGrouped=true](#17698) </details> - [Windows] Fix for Item should scrolled based on the GroupHeaderTemplate by @SuthiYuvaraj in #28074 <details> <summary>🔧 Fixes</summary> - [I9_Scroll by object for grouped data - The group name is always pined at the top after clicking 'Scroll to Proboscis Monkey' button](#27922) </details> - [Android] Fix ScrollTo regression when IsGrouped true on CollectionView by @SubhikshaSf4851 in #35356 <details> <summary>🔧 Fixes</summary> - [[10.0.60] ScrollTo(0) not working anymore on CollectionView when IsGrouped="True"](#35313) </details> - [Android] Fix CollectionView scrolling performance regression by @devanathan-vaithiyanathan in #35379 <details> <summary>🔧 Fixes</summary> - [[10.0.60] CollectionView scrolling performance regression](#35344) </details> - Optimize parent dynamic resource refresh by @AdamEssenmacher in #35408 <details> <summary>🔧 Fixes</summary> - [Memory usage increases when scrolling collectionview if resources count is more than 191](#22053) </details> - Fix CI failure for CollectionView Scrolling Feature Tests due to PR #35379 by @devanathan-vaithiyanathan in #35536 - [iOS & Mac] CarouselViewController2 leaks on iOS/MacCatalyst due to unremoved orientation notification observer by @SubhikshaSf4851 in #35532 <details> <summary>🔧 Fixes</summary> - [CarouselViewController2 leaks on iOS/MacCatalyst due to unremoved orientation notification observer](#35472) </details> - Fix CollectionView.SelectedItems leaks popped views when bound to a retained ObservableCollection by @HarishwaranVijayakumar in #35558 <details> <summary>🔧 Fixes</summary> - [`CollectionView.SelectedItems` leaks popped views when bound to a retained `ObservableCollection`](#35497) </details> - Fix for Android - Dynamic Updates to CollectionView Header/Footer and Templates Are Not Displayed by @SuthiYuvaraj in #28904 <details> <summary>🔧 Fixes</summary> - [Android - Dynamic Updates to CollectionView Header/Footer and Templates Are Not Displayed](#28676) </details> - [Windows] Fix CarouselView EmptyView display when filtering to zero items by @Shalini-Ashokan in #29247 <details> <summary>🔧 Fixes</summary> - [[Windows] [Scenario Day] EmptyView using Template displayed at the same time as the content](#7150) </details> - [Android/iOS] Fix IsEnabled=False on CollectionView not working by @devanathan-vaithiyanathan in #27749 <details> <summary>🔧 Fixes</summary> - [[iOS/Android] CollectionView IsEnabled Not Working](#27770) </details> - Fix CarouselView.Loop property does not update dynamically and fails to maintain the scroll position when the loop value is changed at runtime by @devanathan-vaithiyanathan in #29527 <details> <summary>🔧 Fixes</summary> - [[Android] CarouselView.Loop = false causes crash on Android when changed at runtime](#29411) - [Loop Binding in CarouselView Not Updating Dynamically at Runtime](#29449) </details> - [iOS / Mac] Fix CollectionView.ScrollTo(index) silently failing whenIsGrouped="True" by @Dhivya-SF4094 in #35609 <details> <summary>🔧 Fixes</summary> - [CollectionView.ScrollTo(index) doesn't work correctly when IsGrouped="True" on iOS, MacCatalyst, and Windows](#35326) </details> - Fix Android nested carousel scrolling by @AdamEssenmacher in #35656 <details> <summary>🔧 Fixes</summary> - [Vertical scrolling not working for CarouselView and CustomLayouts](#7814) </details> - [Inflight regression] Fixed Test failures ModalTabbedPagePushAsyncShouldOverlayBottomNavigationView and GroupedCollectionViewScrollToIndexScrollsToCorrectItem by @Dhivya-SF4094 in #35823 - Fix CarouselView tests fail in June 8 Candidate by @devanathan-vaithiyanathan in #35825 ## Core - Reduce allocations on AnimationManager by @pictos in #35612 <details> <summary>🔧 Fixes</summary> - [AnimationManager is allocating a lot](#35654) </details> ## Core Lifecycle - Fix device test memory by @pictos in #35487 <details> <summary>🔧 Fixes</summary> - [Memory leak Device.Test pass with false positive](#35485) </details> ## Datepicker - Fix MacCatalyst DatePicker focus handling by @AdamEssenmacher in #35553 <details> <summary>🔧 Fixes</summary> - [[mauipalooza] DatePicker focus only works first time](#5947) </details> ## DateTimePicker - [Android] Fix DatePicker dialog dismisses after the device is rotated by @HarishwaranVijayakumar in #34980 <details> <summary>🔧 Fixes</summary> - [[Android] [Regression] DatePicker dialog dismisses after the device is rotated](#34973) </details> ## Docs - doc: Add paragraph to README.md explaining how to fetch the `maui` project templates by @durandt in #34561 ## Drawing - [Android] Fix LinearGradientBrush rendering as opaque black box by @SubhikshaSf4851 in #35299 <details> <summary>🔧 Fixes</summary> - [[Regression] LinearGradientBrush broken on Android in 10.0.60](#35280) - [10.0.60 breaks transparency on Brushes (on Android?)](#35354) </details> - Fix polygon points collection handler leak by @AdamEssenmacher in #35526 <details> <summary>🔧 Fixes</summary> - [PolygonHandler and PolylineHandler leak when Points is replaced before disconnect](#35387) </details> ## Editor - [iOS] Fix Editor losing scrollability after rotation when CharacterSpacing is applied by @Vignesh-SF3580 in #35309 <details> <summary>🔧 Fixes</summary> - [[.NET 10][iOS] D2 - Editor can't be scrolled after rotating simulator.](#35114) </details> - [Inflight/Candidate][iOS & Mac] Fix for Editor height inconsistency when VerticalTextAlignment is Center or End on iOS and MacCatalyst by @BagavathiPerumal in #35662 <details> <summary>🔧 Fixes</summary> - [[MAUI] D13_Customize_Text_Alignment - Text Editor Height is not consistent](#35615) </details> ## Entry - [iOS/Mac] Fix Entry clear button retaining tint color after TextColor is reset to null by @SyedAbdulAzeemSF4852 in #35177 <details> <summary>🔧 Fixes</summary> - [[iOS/Mac]Entry ClearButtonVisibility color does not reset when TextColor is set to null](#35076) </details> - [iOS/MacCatalyst] Fix Entry clear button appearing dimmed compared to TextColor by @SyedAbdulAzeemSF4852 in #35541 <details> <summary>🔧 Fixes</summary> - [[MacCatalyst] [Entry] ClearButtonVisibility color appears dimmed compared to TextColor](#35517) </details> - Fix pill-shaped focus ring on macOS 26 by @Dhivya-SF4094 in #35393 <details> <summary>🔧 Fixes</summary> - [.Net 10 Picker item not centered and wrong focus outline of Entry on Mac](#34899) </details> - Fix Entry select all text on refocus not working on WinUI by @kubaflo in #35383 ## Essentials - [Android] Fix Capture video crashes after stopping recording on Android 12 by @HarishwaranVijayakumar in #35638 <details> <summary>🔧 Fixes</summary> - [Capture video crashes after stopping recording on Android 12](#28891) </details> - [Essentials] Browser.OpenAsync(External): drop visibility-filtered ResolveActivity pre-check by @Kebechet in #35652 <details> <summary>🔧 Fixes</summary> - [Browser.OpenAsync(External) on Android throws FeatureNotSupportedException for verified App Link owner URLs even with documented <queries> fix applied](#35651) </details> ## Essentials Texttospeech - [Mac, iOS, Windows] Fix for inconsistent Text-to-Speech rate behavior by @HarishwaranVijayakumar in #32850 <details> <summary>🔧 Fixes</summary> - [[Essentials] TTS rate](#32492) </details> ## Flyoutpage - [iOS/Mac] Fix FlyoutPage RTL FlowDirection is not working by @devanathan-vaithiyanathan in #34831 <details> <summary>🔧 Fixes</summary> - [[iOS/Mac] FlyoutPage RTL FlowDirection is not working properly](#34830) </details> - [Android] Fix for Android 16 Back button is not working after command from FlyoutPage by @BagavathiPerumal in #35196 <details> <summary>🔧 Fixes</summary> - [Android: BackButton on Android 16 not working after command from FlyOutPage](#33508) </details> ## Gestures - Fix DragGestureRecognizer.DropCompleted event not firing in Android platform by @KarthikRajaKalaimani in #35179 <details> <summary>🔧 Fixes</summary> - [[Android] DragGestureRecognizer.DropCompleted event not firing](#17554) </details> - Windows: Ensure layouts without background participate in hit testing by @jpd21122012 in #34364 <details> <summary>🔧 Fixes</summary> - [[Windows] TapGestureRecognizer does NOT work on a ContentView without Background](#32279) </details> - [iOS] Fix VoiceOver dropping child labels on layouts with SemanticProperties.Hint or TapGestureRecognizer by @Vignesh-SF3580 in #35590 <details> <summary>🔧 Fixes</summary> - [[iOS] VoiceOver does not correctly describe View with GestureRecognizers](#34380) </details> ## Hybridwebview - Fix RemovePossibleQueryString to also strip URL fragments by @kubaflo in #35551 <details> <summary>🔧 Fixes</summary> - [HybridWebViewQueryStringHelper.RemovePossibleQueryString removes '?' but not other special characters e.g. '#'](#31472) </details> - [Revert] - [Windows] Fix WebView blank rendering when used with HybridWebView by @SubhikshaSf4851 in #35814 ## Image - Avoid image source layout invalidation for fixed-size views by @AdamEssenmacher in #35369 <details> <summary>🔧 Fixes</summary> - [Image source swaps thrash layout under fixed constraints, tanking frame rate when scrolling virtualized collections](#32457) </details> - [Windows] Fix Image layout inconsistency caused by async decode race in GetDesiredSize by @praveenkumarkarunanithi in #34699 <details> <summary>🔧 Fixes</summary> - [[Windows] Image cropping produces inconsistent results when window is minimized or resized](#32393) </details> - [Testing] Include more testing around Windows Image Aspect recent fixes by @kubaflo in #35620 <details> <summary>🔧 Fixes</summary> - [[Testing] Include more testing around Windows Image Aspect recent fixes](#31686) </details> - Revert PR #30068 — Fix FontImageSource centering regression on Windows by @Shalini-Ashokan in #35642 <details> <summary>🔧 Fixes</summary> - [[Windows] Image with FontImageSource is not centered and gets clipped when WidthRequest/HeightRequest equals FontImageSource Size](#35618) </details> - [Android] Fix screenshot from WebView content not working by @kubaflo in #35384 <details> <summary>🔧 Fixes</summary> - [[Android] Loading the captured screenshot from webview content to Image control does not visible](#30010) </details> ## Label - Improve label mapping performance and ensure complete coverage including ToPlatform and subsequent property changes by @Tamilarasan-Paranthaman in #31159 - Fix for Label.FormattedText leaks labels when shared FormattedString is stored in Application.Resources by @BagavathiPerumal in #35582 <details> <summary>🔧 Fixes</summary> - [`Label.FormattedText` leaks labels when shared `FormattedString` is stored in `Application.Resources`](#35495) </details> - [iOS] Fix Label Span formatting test failures on candidate branch by @Vignesh-SF3580 in #35815 ## Layout - [iOS, Mac] Fix Item spacing not properly applied between items in Horizontal LinearItemsLayout by @Dhivya-SF4094 in #35445 <details> <summary>🔧 Fixes</summary> - [[CollectionView2] Item spacing not properly applied between items in Horizontal LinearItemsLayout](#35429) </details> - [Windows] Add Automation Id support for Layouts. by @SubhikshaSf4851 in #35562 <details> <summary>🔧 Fixes</summary> - [[Windows] AutomationId does not work for ContentView, Layouts and controls that inherit them](#4715) </details> - Avoid layout diagnostics allocations without listeners by @AdamEssenmacher in #35475 <details> <summary>🔧 Fixes</summary> - [MAUI 10 layout diagnostics no-consumer path is not zero-allocation](#35473) </details> - [Windows/Android] FlexLayout: Fix wrap misalignment due to floating-point precision by @SuthiYuvaraj in #31341 <details> <summary>🔧 Fixes</summary> - [FlexLayout Wrap Misalignment with Dynamically-Sized Buttons in .NET MAUI](#30957) </details> ## Listview - Fix Binding for ListView.IsRefreshing by @bill2004158 in #28516 <details> <summary>🔧 Fixes</summary> - [Bind ListView.IsRefreshing is not work.](#28514) </details> ## Map - Fix iOS/Catalyst MapPool retention with MapElements by @AdamEssenmacher in #35480 <details> <summary>🔧 Fixes</summary> - [iOS/Mac Catalyst MapHandler leaks MAUI Map views and MapElements through MapPool](#35479) </details> - Fix Android map view lifecycle cleanup by @AdamEssenmacher in #35476 <details> <summary>🔧 Fixes</summary> - [Navigating to a page with Maps multiple times Increase RAM Usage but doesn't reduce it back after navigating back](#15257) </details> - Fix Android map element options retention by @AdamEssenmacher in #35634 <details> <summary>🔧 Fixes</summary> - [[Regression] [Android] [Maps] Map locks up after rendering 50 Polylines](#20502) </details> ## Menubar - [MacCatalyst] Fix KeyboardAccelerator with Cmd+Shift modifiers breaks entire MenuBarItem on Mac Catalyst by @KarthikRajaKalaimani in #35318 <details> <summary>🔧 Fixes</summary> - [[Bug] KeyboardAccelerator with Cmd+Shift modifiers breaks entire MenuBarItem on Mac Catalyst](#35279) </details> ## Navigation - [iOS, Mac] Fix OnBackButtonPressed not invoked for NavigationPage and Shell by @Dhivya-SF4094 in #35072 <details> <summary>🔧 Fixes</summary> - [On Screen Back Button Does Not Fire OnBackButtonPressed in Android](#9095) - [ContentPage's OnBackButtonPressed not invoked on iOS and MacCatalyst](#8296) </details> - Fix Android stale ContainerView root leak by @AdamEssenmacher in #35372 <details> <summary>🔧 Fixes</summary> - [Android: Stale ContainerView retains replaced FlyoutPage graph](#35371) </details> - [Android] Fix for predictive back-to-home animation blocked by unconditional back callback registration by @BagavathiPerumal in #35223 <details> <summary>🔧 Fixes</summary> - [OnBackInvokedCallbacks block back-to-home animation](#34594) - [Migrate to OnBackPressedCallback](#24752) </details> - Revert [Android, iOS] - Flyout icon should remain visible when a page is pushed onto a NavigationPage or Shell page with the back button disabled. by @praveenkumarkarunanithi in #35604 ## Picker - [iOS] Fix Picker CharacterSpacing lost after item selection when Title is set by @SyedAbdulAzeemSF4852 in #34974 <details> <summary>🔧 Fixes</summary> - [[iOS] Picker loses CharacterSpacing after item selection when Title is set](#34971) </details> - [iOS] Fix Picker CharacterSpacing ignored on initial load by @SyedAbdulAzeemSF4852 in #34957 <details> <summary>🔧 Fixes</summary> - [[iOS] Picker ignores CharacterSpacing on initial load](#34955) </details> - [Windows] Fix for Picker CharacterSpacing Not Being Applied to Title and Dropdown Items by @SyedAbdulAzeemSF4852 in #30612 <details> <summary>🔧 Fixes</summary> - [[Windows] Picker CharacterSpacing property not applied to Title and PickerItems text](#30464) </details> - Fix Picker SelectedIndex deferred initialization by @AdamEssenmacher in #35629 <details> <summary>🔧 Fixes</summary> - [Picker Attribute "SelectedIndex" Not being respected on page load on Android?](#9150) </details> ## Progressbar - Fix iOS ProgressBar bounding box by @AdamEssenmacher in #35507 <details> <summary>🔧 Fixes</summary> - [[iOS] ProgressBar and Label don't correctly obey height and width at the core level](#7935) </details> ## RadioButton - [Windows, Android] Fix Border Color and Border Width Not applying for Radio Button by @HarishwaranVijayakumar in #35616 <details> <summary>🔧 Fixes</summary> - [[Windows, Android] Border Color and Border Width Not applying for Radio Button.](#35587) </details> - [inflight/current] Fixes a CS0111 build failure in RadioButton.cs caused by a duplicate OnPropertyChanged override by @HarishwaranVijayakumar in #35631 - Revert - Fix TalkBack not correctly narrating RadioButtons with Content by @devanathan-vaithiyanathan in #35625 <details> <summary>🔧 Fixes</summary> - [[Android] MissingMethodException AccessibilityNodeInfoCompat.set_Checked(bool) on 10.0.70 due to AndroidX.Core 1.17 breaking change](#35584) </details> ## Refreshview - [Windows] Fix RefreshView IsRefreshing property not working while binding by @devanathan-vaithiyanathan in #34845 <details> <summary>🔧 Fixes</summary> - [[Windows] RefreshView IsRefreshing property not working while binding](#30535) </details> - [Android] Fix for RefreshView triggering pull-to-refresh when scrolling inside a WebView with internal scrollable content by @BagavathiPerumal in #34614 <details> <summary>🔧 Fixes</summary> - [[Android] RefreshView triggers pull-to-refresh immediately when scrolling up inside a WebView](#33510) </details> ## SafeArea - [Android] Fix bottom safe area padding dropping to zero when keyboard is shown by @praveenkumarkarunanithi in #35084 <details> <summary>🔧 Fixes</summary> - [[Android] Bottom insets issues when keyboard is shown.](#32871) </details> - Gate SafeArea inset listeners in recycler items by @AdamEssenmacher in #35664 <details> <summary>🔧 Fixes</summary> - [[10.0.60] CollectionView scrolling performance regression](#35344) </details> ## ScrollView - [Windows] Fix COMException when restoring a ScrollView as ContentPage.Content after swapping it out by @Vignesh-SF3580 in #35360 <details> <summary>🔧 Fixes</summary> - [COMException when clone a page's content to a object and set it back later in mainthread on Windows](#35277) </details> - Fix - ScrollView.ScrollToAsync(x, y, animated) doesn't work when called from Page.OnAppearing by @Shalini-Ashokan in #35395 <details> <summary>🔧 Fixes</summary> - [[iOS] ScrollView.ScrollToAsync(x, y, animated) doesn't work when called from Page.OnAppearing](#31177) </details> ## Searchbar - [Android] Fix SearchBar IME full-screen extract mode in landscape orientation by @SubhikshaSf4851 in #35197 <details> <summary>🔧 Fixes</summary> - [[Android] Investigate SearchBar presentation in horizontal screen orientation ](#14708) </details> - [iOS 26] Fix SearchBar layout spacing issues for small HeightRequest values by @devanathan-vaithiyanathan in #35347 <details> <summary>🔧 Fixes</summary> - [Spacing problem with maui 10.0.60 iOS](#35286) </details> ## SearchBar - [Windows] Fix SearchHandler does not focus when ShowSoftInputAsync is called by @praveenkumarkarunanithi in #35079 <details> <summary>🔧 Fixes</summary> - [[Windows] SearchHandler.ShowSoftInputAsync() does not focus the SearchHandler](#34930) </details> ## Shell - Fix Android layout jump when navigating with IME open and NavBarIsVisible=false by @jpd21122012 in #34621 <details> <summary>🔧 Fixes</summary> - [Shell page without NavBar jumping when navigating with keyboard open](#34584) </details> - [Android] Add defensive not null check to SearchHandlerAppearanceTracker.FocusChange by @Transis-Felipe in #29939 - [Android] Fix for Shell colors change before navigation completes on Android in .NET 10 by @BagavathiPerumal in #35295 <details> <summary>🔧 Fixes</summary> - [Shell colors change before navigation completes on Android in .NET 10](#35060) </details> - [Windows] Fix Shell FlyoutItem not taking full width by @SubhikshaSf4851 in #35131 <details> <summary>🔧 Fixes</summary> - [MAUI WinUI Grids don't render properly in flyout menu](#19542) - [[Windows] [.NET 8 RC2] FlyoutItem Backgroundcolor Is not fully displaying](#18238) </details> - [Android, iOS, Catalyst] Fix SearchHandler.BackgroundColor cannot be reset to null by @HarishwaranVijayakumar in #35224 <details> <summary>🔧 Fixes</summary> - [[Android, iOS, Catalyst] SearchHandler.BackgroundColor cannot be reset to null](#35088) </details> - Fix for ApplyQueryAttributes being called on non-destination pages during back navigation by @BagavathiPerumal in #35392 <details> <summary>🔧 Fixes</summary> - [ApplyQueryAttributes gets called for not activated (navigated to) page on back](#35183) </details> - [Android] Fix Shell flyout background to follow Material 3 theme colors by @SyedAbdulAzeemSF4852 in #35148 <details> <summary>🔧 Fixes</summary> - [[Android] Shell Flyout ignores Material 3 surface color when UseMaterial3 is enabled](#35147) </details> - [Android] Fix Shell.FlyoutHeader background incorrect by @SyedAbdulAzeemSF4852 in #35489 <details> <summary>🔧 Fixes</summary> - [[Android] Shell.FlyoutHeader background is incorrect](#35416) </details> - [iOS/MacCatalyst] Fix Shell.BackgroundColor not applied to bottom TabBar by @Shalini-Ashokan in #35545 <details> <summary>🔧 Fixes</summary> - [[MacCatalyst] Shell.BackgroundColor not applied to bottom TabBar](#35380) - [[Catalyst] Shell.TabBarBackgroundColor is not applied](#35381) </details> - [Android] Fix Shell FlyoutIcon tint loss after navigation by @SyedAbdulAzeemSF4852 in #35561 <details> <summary>🔧 Fixes</summary> - [[Android] The flyout icon loses colours](#35390) </details> - [iOS] Fix Shell - opened keyboard on modal page shifts parent page/frame behind modal after update to 10.0.60 by @KarthikRajaKalaimani in #35559 <details> <summary>🔧 Fixes</summary> - [[iOS] Shell - opened keyboard on modal page shifts parent page/frame behind modal after update to 10.0.60](#35401) </details> - Fix intermediate pages not receiving query parameters in multi-page Shell navigation by @mattleibow in #35432 <details> <summary>🔧 Fixes</summary> - [Shell GoToAsync: no way to pass query parameters to intermediate pages in multi-segment navigation](#35107) </details> - [Windows] Fix Shell title bar overlap with window controls in RTL mode by @Shalini-Ashokan in #33109 <details> <summary>🔧 Fixes</summary> - [[Windows] Binding RTL FlowDirection in Shell causes Flyout MenuIcon and native window controls to overlap](#32476) </details> - [macOS] Fix IsEnabled property false not working on MenuBarItem by @devanathan-vaithiyanathan in #35546 <details> <summary>🔧 Fixes</summary> - [[macOS] IsEnabled property false not working on MenuBarItem](#34038) </details> - Fix Android Shell top inset when nav bar is hidden by @ne0rrmatrix in #35555 <details> <summary>🔧 Fixes</summary> - [wrong statusbar height when Android device has a notch](#35103) </details> - Fix Changing Content property of ShellContent doesn't change visual content by @devanathan-vaithiyanathan in #34630 <details> <summary>🔧 Fixes</summary> - [Changing Content property of ShellContent doesn't change visual content. ](#12669) </details> - Fixed a NullReferenceException when starting application with empty shell on Windows by @Shalini-Ashokan in #28879 <details> <summary>🔧 Fixes</summary> - [NullReferenceException when starting application with empty shell on Windows](#21562) - [Using SelectionChangedCommand with CollectionView in Shell.FlyoutContent results in Win32 Unhandled Exception](#10041) </details> ## Slider - [iOS] Slider: Scale ThumbImageSource to match default thumb size by @NirmalKumarYuvaraj in #34184 <details> <summary>🔧 Fixes</summary> - [[Slider] MAUI Slider thumb image is big on android](#13258) </details> ## Stepper - Fix iOS 26 Stepper overlap in landscape by @AdamEssenmacher in #35374 <details> <summary>🔧 Fixes</summary> - [[.NET10] D10-The number and buttons overlap after rotating the simulator.](#35211) </details> ## SwipeView - Fix SwipeViews with invoked properties crash the app in Release mode by @BagavathiPerumal in #35208 <details> <summary>🔧 Fixes</summary> - [[iOS/Catalyst] Swipeviews with invoked properties crash the app in Release](#18055) </details> - Fix SwipeItemView command leak by @AdamEssenmacher in #35510 <details> <summary>🔧 Fixes</summary> - [`SwipeItemView.Command` leaks row views and command parameters through `CanExecuteChanged`](#35498) </details> - [iOS/Android] Fix SwipeItem.IsVisible not refreshing native swipe items when binding changes by @SyedAbdulAzeemSF4852 in #35217 <details> <summary>🔧 Fixes</summary> - [SwipeItem.IsVisible doesn't properly refresh the native swipe items when the binding value changes dynamically](#34832) </details> - Fix SwipeView memory leak when SwipeItems are reused or replaced by @Vignesh-SF3580 in #35539 <details> <summary>🔧 Fixes</summary> - [SwipeView leaks when SwipeItems are reused or replaced](#35481) </details> - Fix SwipeItem IconImageSource color handling and rendering across platforms by @Shalini-Ashokan in #35632 <details> <summary>🔧 Fixes</summary> - [[Android] SwipeItem IconImageSource should allow more configuration](#23074) </details> ## Switch - [Android/Windows] Fix RadioButton gradient not clearing when switching background by @Shalini-Ashokan in #34997 <details> <summary>🔧 Fixes</summary> - [RadioButton Background does not reset when set to null at runtime](#34993) </details> - [Windows] Fix "PlatformView cannot be null here" exception during handler disconnect by @kubaflo in #35314 <details> <summary>🔧 Fixes</summary> - ["PlatformView cannot be null here" Exception in Switch control [Windows]](#27101) </details> - [iOS 26] Fix Switch ThumbColor and OffColor not applied on initial load by @SyedAbdulAzeemSF4852 in #35400 <details> <summary>🔧 Fixes</summary> - [iOS 26 Switch default color for Off and On is incorrect + Off Color is not applied at start + Thumb Colors is not applied](#35257) </details> - [Android] Fix AppBar flicker on CheckBox/Switch toggle with Material 3 by @Dhivya-SF4094 in #35181 <details> <summary>🔧 Fixes</summary> - [[Android] AppBar flicker while changing the CheckBox or Switch state after scrolling in Material 3](#35180) </details> - [Android] Fix Switch Shadow Does Not Follow Thumb when Toggle On or Off by @Dhivya-SF4094 in #35623 <details> <summary>🔧 Fixes</summary> - [[Android] Switch Shadow Does Not Follow Thumb when Toggle On or Off](#30046) </details> ## TabbedPage - [Android] Fix TabbedPage truncating tab titles instead of scrolling by @Shalini-Ashokan in #35086 <details> <summary>🔧 Fixes</summary> - [Maui migrating Xamarin to Maui - Tabbed Page Scroll Issue - Tabs are not scrolling](#16470) </details> - [Android] Fix BottomNavigationView remaining visible for TabbedPage inside modal NavigationPage after PushAsync by @Dhivya-SF4094 in #35359 <details> <summary>🔧 Fixes</summary> - [Android TabbedPage inside Modal Navigation does not overlay BottomNavigationView after PushAsync in .NET MAUI 10.0.60](#35331) </details> - [Android & iOS] TabbedPage leaks with shared GradientBrush. by @SubhikshaSf4851 in #35543 <details> <summary>🔧 Fixes</summary> - [TabbedPage leaks renderer/manager when BarBackground uses shared GradientBrush resource](#35469) </details> ## Templates - Bumps Syncfusion.Maui.Toolkit dependency to version 1.0.10 by @PaulAndersonS in #35608 ## Toolbar - Fix Android app bar inset background coloring by @ne0rrmatrix in #35601 <details> <summary>🔧 Fixes</summary> - [Android Edge-to-Edge: Shell and NavigationPage Top Bar colour is not used for status bar.](#35568) </details> ## Tooling - Add default .gitignore to MAUI project templates by @davidortinau in #34862 <details> <summary>🔧 Fixes</summary> - [Add a gitignore file to the Maui template in VS 2022](#4131) </details> - Fix: Propagate AdditionalProperties from ProjectReference in ResizetizeCollectItems by @mattleibow in #35575 <details> <summary>🔧 Fixes</summary> - [Resizetizer GetMauiItems does not propagate ProjectReference AdditionalProperties](#35574) </details> ## WebView - [Windows] Fix WebView blank rendering when used with HybridWebView by @SubhikshaSf4851 in #35092 <details> <summary>🔧 Fixes</summary> - [[Windows] WebView Regression from NET9 to NET10](#34558) </details> - Fix AOT integration test failures: suppress IL3050/IL2026 for HybridWebViewHandler in AddControlsHandlers by @mattleibow via @Copilot in #34868 - Fix Android activity result callback leak by @AdamEssenmacher in #35436 <details> <summary>🔧 Fixes</summary> - [Android WebView file chooser callbacks leak via ActivityResultCallbackRegistry](#35405) </details> - [Windows] Fix WebView Does Not Inherit App Theme by @devanathan-vaithiyanathan in #35037 <details> <summary>🔧 Fixes</summary> - [WebView on Windows Does Not Inherit App Theme](#34823) </details> - Fix for WebView leaks when reusing a shared WebViewSource by @BagavathiPerumal in #35524 <details> <summary>🔧 Fixes</summary> - [WebView leaks when reusing a shared WebViewSource](#35483) </details> - Destroy Android WebView on handler disconnect by @AdamEssenmacher in #35552 <details> <summary>🔧 Fixes</summary> - [Right way to dispose page with WebView](#18021) </details> ## Xaml - Fix: Enable VisualStateManager to set Style property dynamically by @Shalini-Ashokan in #33389 <details> <summary>🔧 Fixes</summary> - [Setting the `Style` property using the `VisualStateManager` within a Style resource does not work](#17175) </details> - Fix Implicit parameter conversion from integer to byte fails with source generated XAML by @KarthikRajaKalaimani in #35444 <details> <summary>🔧 Fixes</summary> - [Implicit parameter conversion from integer to byte fails with source generated XAML](#35396) </details> <details> <summary>🔧 Infrastructure (3)</summary> - Fix: Build fails when appicon is an empty (but valid) SVG by @Shalini-Ashokan in #35305 <details> <summary>🔧 Fixes</summary> - [Build fails when appicon is an empty (but valid) svg after upgrade to 10.0.60](#35293) </details> - [inflight/current] Fix CS0111 duplicate GetNativeCharacterSpacing in PickerHandlerTests.iOS by @SyedAbdulAzeemSF4852 in #35419 - Update WinAppSDK to 1.8.260508005 by @kubaflo in #35678 </details> <details> <summary>🧪 Testing (3)</summary> - Backport Test Fixes and Snapshots from SR to Inflight Branch by @Tamilarasan-Paranthaman in #35499 - Fix hardcoded version of Microsoft.DotNet.XHarness.TestRunners.Xunit in test projects by @akoeplinger in #29905 - [Testing] Fixed Build error on inflight/ candidate PR 35716 by @HarishKumarSF4517 in #35730 </details> <details> <summary>🏠 Housekeeping (1)</summary> - [HouseKeeping] Fix inconsistant namespace in HostApp by @NirmalKumarYuvaraj in #35210 </details> <details> <summary>📦 Other (8)</summary> - Add .cab and ReconnectModal.razor.js to signing config by @jesuszarate in #35026 - Fix typo in Clipboard.shared.cs by @Deadpikle in #35316 - Fix single modifier for NSMenuItem accelerators by @jeremy-visionaid in #35351 - Avoid unnecessary LINQ enumerations by @jeremy-visionaid in #35272 - [Testing] Replace retryDelay with retryTimeout in UI tests by @kubaflo in #35367 - Replace JavaFinalize() with Dispose(bool) in GenericAnimatorListener by @jonathanpeppers in #35548 - Fix incorrect SDK provisioning commands in integration-tests instructions by @davidnguyen-tech in #34992 - Fix VisualElement.ChangeVisualState() gets stuck in Selected state by @Dhivya-SF4094 in #35421 <details> <summary>🔧 Fixes</summary> - [VisualElement's ChangeVisualState gets stuck in Selected state](#35399) </details> </details> <details> <summary>📝 Issue References</summary> Fixes #4131, Fixes #4715, Fixes #5947, Fixes #7150, Fixes #7814, Fixes #7935, Fixes #8296, Fixes #9095, Fixes #9150, Fixes #10041, Fixes #12669, Fixes #13258, Fixes #14708, Fixes #15257, Fixes #16470, Fixes #17175, Fixes #17554, Fixes #17698, Fixes #18021, Fixes #18055, Fixes #18238, Fixes #19542, Fixes #19668, Fixes #20502, Fixes #20615, Fixes #21562, Fixes #22053, Fixes #23074, Fixes #24752, Fixes #27101, Fixes #27627, Fixes #27770, Fixes #27922, Fixes #28514, Fixes #28676, Fixes #28891, Fixes #29411, Fixes #29449, Fixes #30010, Fixes #30046, Fixes #30404, Fixes #30464, Fixes #30535, Fixes #30957, Fixes #31048, Fixes #31177, Fixes #31472, Fixes #31686, Fixes #32279, Fixes #32393, Fixes #32404, Fixes #32457, Fixes #32476, Fixes #32492, Fixes #32731, Fixes #32871, Fixes #33508, Fixes #33510, Fixes #33780, Fixes #34038, Fixes #34104, Fixes #34257, Fixes #34380, Fixes #34522, Fixes #34558, Fixes #34584, Fixes #34594, Fixes #34823, Fixes #34830, Fixes #34832, Fixes #34899, Fixes #34930, Fixes #34955, Fixes #34971, Fixes #34973, Fixes #34993, Fixes #35060, Fixes #35076, Fixes #35088, Fixes #35103, Fixes #35107, Fixes #35113, Fixes #35114, Fixes #35147, Fixes #35180, Fixes #35183, Fixes #35211, Fixes #35214, Fixes #35244, Fixes #35257, Fixes #35277, Fixes #35279, Fixes #35280, Fixes #35286, Fixes #35293, Fixes #35313, Fixes #35326, Fixes #35331, Fixes #35344, Fixes #35354, Fixes #35371, Fixes #35380, Fixes #35381, Fixes #35387, Fixes #35390, Fixes #35396, Fixes #35397, Fixes #35399, Fixes #35401, Fixes #35405, Fixes #35416, Fixes #35429, Fixes #35469, Fixes #35472, Fixes #35473, Fixes #35479, Fixes #35481, Fixes #35483, Fixes #35485, Fixes #35492, Fixes #35495, Fixes #35497, Fixes #35498, Fixes #35513, Fixes #35517, Fixes #35568, Fixes #35573, Fixes #35574, Fixes #35584, Fixes #35587, Fixes #35615, Fixes #35618, Fixes #35651, Fixes #35654 </details> **Full Changelog**: main...inflight/candidate
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 from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Replaces #31694 with the same Windows Image Aspect test coverage, updated to account for review feedback.
Changes from the previous PR:
dummyimage.comdependencies and malformed query strings by using deterministic local PNG streams.PASS/FAILlabels so tests assert layout results from MAUI view measurements.Issues Fixed
Fixes #31686