Skip to content

[Android] GraphicsView scaling after canvas.ResetState - fix#31183

Merged
PureWeen merged 1 commit into
dotnet:inflight/currentfrom
kubaflo:fix-31182
Aug 15, 2025
Merged

[Android] GraphicsView scaling after canvas.ResetState - fix#31183
PureWeen merged 1 commit into
dotnet:inflight/currentfrom
kubaflo:fix-31182

Fix GraphicsView scaling after canvas.ResetState on Android

3a6a1c7
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-UITests-public failed Aug 15, 2025 in 2h 0m 30s

Build #9.0.110-ci+pr.31183.azdo.148567 had test failures

Details

Tests

  • Failed: 146 (1.85%)
  • Passed: 7,630 (96.67%)
  • Other: 117 (1.48%)
  • Total: 7,893

Annotations

Check failure on line 759 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L759

PowerShell exited with code '1'.

Check failure on line 929 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L929

PowerShell exited with code '1'.

Check failure on line 624 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L624

PowerShell exited with code '1'.

Check failure on line 594 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L594

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue17694(Android).Issue17694Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.Issues.Issue17694(Android).Issue17694Test

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

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message)
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext)
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|8_0(String name, <>c__DisplayClass8_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 340
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 199
   at Microsoft.Maui.TestCases.Tests.Issues.Issue17694.Issue17694Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17694.cs:line 24
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntry_WithShadow

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntry_WithShadow

The app was expected to be running still, investigate as possible crash
TearDown : The app was expected to be running still, investigate as possible crash
Raw output
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 87
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 38
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

--TearDown
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 87
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 38
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

1)    at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 87
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 38
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue3884(Android).Issue3884Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.Issues.Issue3884(Android).Issue3884Test

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

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message)
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext)
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|8_0(String name, <>c__DisplayClass8_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 340
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 199
   at Microsoft.Maui.TestCases.Tests.Issues.Issue3884.Issue3884Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue3884.cs:line 21
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.BoxViewFeatureTests(Android).BoxView_CornerRadiusWithOpacityAndShadow

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.BoxViewFeatureTests(Android).BoxView_CornerRadiusWithOpacityAndShadow

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

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message)
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext)
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|8_0(String name, <>c__DisplayClass8_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 340
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 199
   at Microsoft.Maui.TestCases.Tests.BoxViewFeatureTests.BoxView_CornerRadiusWithOpacityAndShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/BoxViewFeatureTests.cs:line 116
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)