Skip to content

[iOS/MacCatalyst] Fix Entry clear button appearing dimmed compared to TextColor - #35541

Merged
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-35517
May 22, 2026
Merged

[iOS/MacCatalyst] Fix Entry clear button appearing dimmed compared to TextColor#35541
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-35517

Conversation

@SyedAbdulAzeemSF4852

Copy link
Copy Markdown
Contributor

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!

Issue Details

  • When an Entry control has a TextColor set and ClearButtonVisibility is enabled, the clear button (✕) appears faded/dimmed compared to the TextColor.

Root Cause

  • The system clear button icon uses UIImageRenderingMode.AlwaysOriginal, which causes UIKit to completely ignore TintColor. The original code attempted to work around this by compositing a tinted copy of the icon using CGBlendMode.SourceIn, but this compositing approach produces a faded/pastel result instead of the full-opacity color.

Description of Change

  • Replace the broken CGBlendMode.SourceIn compositing approach with UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the icon as a solid color silhouette using TintColor at full opacity. When TextColor is null, call SetImage(null) to fully release the custom image and restore UIKit's default system appearance.

Issues Fixed

Fixes #35517

Validated the behaviour in the following platforms

  • Windows
  • Android
  • iOS
  • Mac

Output

Platform Before After
iOS
Mac
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

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

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

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35541"
@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label May 20, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label May 20, 2026
@kubaflo

kubaflo commented May 20, 2026

Copy link
Copy Markdown
Collaborator

/review -b feature/regression-check -p ios

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Expert Review — 6 findings

See inline comments for details.


internal static void UpdateClearButtonColor(this UITextField textField, IEntry entry)
{
if (textField.ValueForKey(new NSString("clearButton")) is UIButton clearButton)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[major] Handler lifecycle / iOS specifics — The private clearButton subview is created lazily by UIKit and ValueForKey("clearButton") returns null until UIKit allocates it (typically the first time WhileEditing mode actually shows the button after BecomeFirstResponder). The initial MapClearButtonVisibility / MapTextColor runs happen at handler-connect time, when the subview is still null, so UpdateClearButtonColor is a silent no-op. There is no EditingDidBegin re-trigger (see MauiTextFieldProxy.OnEditingBegan in EntryHandler.iOS.cs), so the first time the user focuses the entry they will see the un-tinted system clear button with the original faded appearance — i.e. the very bug this PR is meant to fix is still observable on first focus. Consider re-invoking UpdateClearButtonColor from OnEditingBegan (or from LayoutSubviews once the subview exists), or kicking off a delayed dispatch after ClearButtonMode is set. Worth confirming on a real device — the new test happens to pass because Text="hello" is set before BecomeFirstResponder so the subview already exists by the time the test polls.

// Setting TintColor to null allows the system to automatically apply the appropriate color based on the current theme (light or dark mode)
// Release any custom image so UIKit restores its own system clear button appearance.
// Setting TintColor to null alone is not enough — the template image persists.
clearButton.SetImage(null, UIControlState.Normal);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[moderate] Undocumented UIKit behavior — Calling clearButton.SetImage(null, …) on the private _UIClearButton to "restore the system default" is an undocumented assumption. For ordinary UIButton instances, setting the image for a state to nil simply removes it; whether UIKit re-resolves the system clear icon for _UIClearButton specifically is private behavior that can differ between iOS versions and MacCatalyst. If UIKit does not auto-restore, transitioning TextColor from a set value back to null will leave the user with an invisible clear button (the affordance is gone). A safer pattern is to capture the original ImageForState(Highlighted) the first time the subview is observed (the old code grabbed defaultClearImage for exactly this reason) and explicitly re-apply it in the null branch. At minimum, this needs an explicit round-trip device test (added in the reviewer additions to this PR).

});
if (sourceImage is not null)
{
UIImage templateImage = sourceImage.ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[minor] Performance — avoidable per-mapper allocationImageWithRenderingMode allocates a new UIImage on every MapTextColor invocation. MapTextColor runs on handler connect, on every TextColor change, and on AppTheme transitions. After the first call the stored image is already AlwaysTemplate, so re-wrapping is wasted allocation each subsequent run. Skip the wrap when sourceImage.RenderingMode == UIImageRenderingMode.AlwaysTemplate (applied in the reviewer-additions edit). Also: new NSString("clearButton") on line 228 allocates a fresh NSString on every call — promote to a static readonly NSString field.

}, timeout: 2000);

Assert.NotNull(clearButton);
Assert.Equal(Colors.Blue.ToPlatform(), clearButton.TintColor);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[moderate] Test asserts implementation strategy, not user-visible outcome — The bug report was "clear button appears faded/dimmed" — i.e. a pixel-level defect. Asserting RenderingMode == AlwaysTemplate and TintColor == Blue only verifies the chosen implementation path; an alternate fix (e.g. drawing a custom opaque image, or compositing via a different blend mode) would regress this test even while correctly fixing the user-visible bug. Prefer adding an outcome-based assertion alongside: render the button to a bitmap and verify the icon pixels are fully opaque at TintColor (alpha ≈ 1.0 at the icon center). Keep the current assertions as supplementary 'how we did it' checks rather than the sole regression coverage.

return entry.AttributedText.GetCharacterSpacing();
}

[Fact(DisplayName = "Entry ClearButton uses template rendering tinted to TextColor")]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[moderate] Missing round-trip regression test — The PR adds two behaviors: (1) tinting when TextColor is set, and (2) restoring the system image when TextColor is cleared. Only (1) is tested. Path (2) is the riskier one because SetImage(null, …) on the private _UIClearButton is undocumented (see comment on TextFieldExtensions.cs:234). Add a regression test that sets TextColor, then clears it, and asserts the clear button is still visible/usable. A reviewer-added test (EntryClearButtonRestoredWhenTextColorCleared) demonstrates the shape.


internal static void UpdateClearButtonColor(this UITextField textField, IEntry entry)
{
if (textField.ValueForKey(new NSString("clearButton")) is UIButton clearButton)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[minor] MacCatalyst scope — Issue #35517 names MacCatalyst 26 as the most affected target, but the PR gate verification ran on iOS only. .iOS.cs compiles for both iOS and MacCatalyst, and the KVC clearButton key works on both, but the underlying clear icon on MacCatalyst is bridged through AppKit and may have different rendering-mode semantics (especially on macCatalyst 26 where UIKit-to-AppKit translation for private subviews changed). Recommend a manual MacCatalyst smoke test (and ideally a MacCatalyst-targeted CI run) before merge. The fix is conceptually correct, but the platform where the bug is worst hasn't been empirically verified.

@MauiBot MauiBot added s/agent-review-incomplete s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) labels May 20, 2026
@MauiBot

MauiBot commented May 20, 2026

Copy link
Copy Markdown
Collaborator

🤖 AI Summary

👋 @SyedAbdulAzeemSF4852 — new AI review results are available. Please review the latest session below.

📊 Review Sessiona542ea0 · fix: Entry clear button color appears dimmed when TextColor is set on iOS/MacCatalyst · 2026-05-20 12:41 UTC
🚦 Gate — Test Before & After Fix

Gate Result: ✅ PASSED

Platform: IOS · Base: main · Merge base: 568bbfb2

Test Without Fix (expect FAIL) With Fix (expect PASS)
📱 EntryHandlerTests (EntryClearButtonUsesTemplateRenderingTintedToTextColor) Category=Entry ✅ FAIL — 317s ✅ PASS — 190s
🔴 Without fix — 📱 EntryHandlerTests (EntryClearButtonUsesTemplateRenderingTintedToTextColor): FAIL ✅ · 317s

(truncated to last 15,000 chars)

extColor()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7728790] 2026-05-20 04:57:56.772657-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7730300] 2026-05-20 04:57:56.772808-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    Execution time: 0.2790736
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7731810] 2026-05-20 04:57:56.773001-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7732980] 2026-05-20 04:57:56.773152-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]       value: Entry
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7734850] 2026-05-20 04:57:56.773347-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[FAIL] Entry ClearButton uses template rendering tinted to TextColor
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7736190] 2026-05-20 04:57:56.773450-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[FAIL] Entry ClearButton uses template rendering tinted to TextColor   Test name: Entry ClearButton uses template rendering tinted to TextColor
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7736300]    Assembly:  [Microsoft.Maui.Core.DeviceTests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7736880] 2026-05-20 04:57:56.773547-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    Exception messages: Assert.Equal() Failure: Values differ
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7736960] Expected: AlwaysTemplate
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7737850] 2026-05-20 04:57:56.773627-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] Actual:   Automatic   Exception stack traces:    at Microsoft.Maui.DeviceTests.EntryHandlerTests.<>c__DisplayClass65_1.<<EntryClearButtonUsesTemplateRenderingTintedToTextColor>b__1>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7737980] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7738040]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass48_0.<<AttachAndRun>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7738080] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7739340] 2026-05-20 04:57:56.773720-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__51`1[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7740630] 2026-05-20 04:57:56.773891-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__51`1[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7740880]    at Microsoft.Maui.DeviceTests.EntryHandlerTests.<>c__DisplayClass65_0.<<EntryClearButtonUsesTemplateRenderingTintedToTextColor>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7741570] 2026-05-20 04:57:56.773991-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7741690]    at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7741720] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7743120] 2026-05-20 04:57:56.774110-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7743200] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7743910] 2026-05-20 04:57:56.774249-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]    at Microsoft.Maui.DeviceTests.EntryHandlerTests.EntryClearButtonUsesTemplateRenderingTintedToTextColor()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7743960] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7743990]    Execution time: 0.2790736
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7744020]    Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.7744090]       value: Entry
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:56.9908590] 2026-05-20 04:57:56.990530-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.2224640] 2026-05-20 04:57:57.222148-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.4491800] 2026-05-20 04:57:57.448913-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6772480] 2026-05-20 04:57:57.676983-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6774600] 2026-05-20 04:57:57.677291-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] Microsoft.Maui.DeviceTests.EntryHandlerTests 15.6660218 ms
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6776740] 2026-05-20 04:57:57.677500-0700 Microsoft.Maui.Core.DeviceTests[6778:44328]
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6776840] Test collection for Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextInputTests
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6821340] 2026-05-20 04:57:57.681902-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6861550] 2026-05-20 04:57:57.685926-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6889640] 2026-05-20 04:57:57.688772-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6908110] 2026-05-20 04:57:57.690668-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6925100] 2026-05-20 04:57:57.692368-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6940320] 2026-05-20 04:57:57.693884-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6954990] 2026-05-20 04:57:57.695370-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6972780] 2026-05-20 04:57:57.697075-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.6993380] 2026-05-20 04:57:57.699161-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7032650] 2026-05-20 04:57:57.702960-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7052650] 2026-05-20 04:57:57.705053-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7067340] 2026-05-20 04:57:57.706584-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7078450] 2026-05-20 04:57:57.707723-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7089410] 2026-05-20 04:57:57.708828-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7100460] 2026-05-20 04:57:57.709902-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.7112440] 2026-05-20 04:57:57.711118-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9242560] 2026-05-20 04:57:57.923960-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] 	[PASS] CursorPositionDoesntResetWhenNativeTextValueChanges
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9244650] 2026-05-20 04:57:57.924268-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextInputTests 0.2421132 ms
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9260400] 2026-05-20 04:57:57.925893-0700 Microsoft.Maui.Core.DeviceTests[6778:45470] Failed tests:
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9261650] 2026-05-20 04:57:57.926024-0700 Microsoft.Maui.Core.DeviceTests[6778:45470] 1) 	[FAIL] Entry ClearButton uses template rendering tinted to TextColor   Test name: Entry ClearButton uses template rendering tinted to TextColor
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9261910]    Assembly:  [Microsoft.Maui.Core.DeviceTests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9262770] 2026-05-20 04:57:57.926120-0700 Microsoft.Maui.Core.DeviceTests[6778:45470]    Exception messages: Assert.Equal() Failure: Values differ
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9262980] Expected: AlwaysTemplate
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9264040] 2026-05-20 04:57:57.926211-0700 Microsoft.Maui.Core.DeviceTests[6778:45470] Actual:   Automatic   Exception stack traces:    at Microsoft.Maui.DeviceTests.EntryHandlerTests.<>c__DisplayClass65_1.<<EntryClearButtonUsesTemplateRenderingTintedToTextColor>b__1>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9264210] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9264270]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass48_0.<<AttachAndRun>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9264300] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9264980] 2026-05-20 04:57:57.926356-0700 Microsoft.Maui.Core.DeviceTests[6778:45470]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__51`1[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9265910] 2026-05-20 04:57:57.926435-0700 Microsoft.Maui.Core.DeviceTests[6778:45470]    at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__51`1[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9266020]    at Microsoft.Maui.DeviceTests.EntryHandlerTests.<>c__DisplayClass65_0.<<EntryClearButtonUsesTemplateRenderingTintedToTextColor>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9267050] 2026-05-20 04:57:57.926527-0700 Microsoft.Maui.Core.DeviceTests[6778:45470] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9267160]    at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9267190] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9267580] 2026-05-20 04:57:57.926626-0700 Microsoft.Maui.Core.DeviceTests[6778:45470]    at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9267770] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9268460] 2026-05-20 04:57:57.926727-0700 Microsoft.Maui.Core.DeviceTests[6778:45470]    at Microsoft.Maui.DeviceTests.EntryHandlerTests.EntryClearButtonUsesTemplateRenderingTintedToTextColor()
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9268560] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9268610]    Execution time: 0.2790736
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9268640]    Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9268670]       value: Entry
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9273630] 2026-05-20 04:57:57.927247-0700 Microsoft.Maui.Core.DeviceTests[6778:45470] Tests run: 233 Passed: 231 Inconclusive: 0 Failed: 1 Ignored: 1
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9310530] 2026-05-20 04:57:57.930877-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] Xml file was written to the provided writer.
�[40m�[37mdbug�[39m�[22m�[49m: [04:57:57.9312270] 2026-05-20 04:57:57.931026-0700 Microsoft.Maui.Core.DeviceTests[6778:44328] Tests run: 1257 Passed: 231 Inconclusive: 0 Failed: 1 Ignored: 1025
�[40m�[37mdbug�[39m�[22m�[49m: ==================== End of ApplicationLog ====================
�[40m�[37mdbug�[39m�[22m�[49m: 
�[40m�[32minfo�[39m�[22m�[49m: Uninstalling the application 'com.microsoft.maui.core.devicetests' from 'iPhone 11 Pro'
�[40m�[37mdbug�[39m�[22m�[49m: 
�[40m�[37mdbug�[39m�[22m�[49m: Running /Applications/Xcode_26.0.1.app/Contents/Developer/usr/bin/simctl
�[40m�[37mdbug�[39m�[22m�[49m: Process simctl exited with 0
�[40m�[32minfo�[39m�[22m�[49m: Application 'com.microsoft.maui.core.devicetests' was uninstalled successfully
�[40m�[32minfo�[39m�[22m�[49m: <<XHARNESS_RESULT_START>>
      {
        "version": 1,
        "machineName": "KR6TVKX395-1",
        "exitCode": 1,
        "exitCodeName": "TESTS_FAILED",
        "platform": "apple",
        "device": "iPhone 11 Pro",
        "deviceOsVersion": "26.0",
        "files": [
          {
            "name": "test-ios-simulator-64_26.0-BE1F5F5D-EB64-4AF7-ACD9-8A7C8CE2121F.log",
            "type": "executionlog"
          },
          {
            "name": "list-ios-simulator-64_26.0-20260520_045710.log",
            "type": "devicelist"
          },
          {
            "name": "test-ios-simulator-64_26.0-20260520_045717.log",
            "type": "testlog"
          },
          {
            "name": "iPhone 11 Pro.log",
            "type": "systemlog"
          },
          {
            "name": "Microsoft.Maui.Core.DeviceTests.log",
            "type": "systemlog"
          },
          {
            "name": "com.microsoft.maui.core.devicetests.log",
            "type": "applicationlog"
          },
          {
            "name": "xunit-test-ios-simulator-64_26.0-20260520_045717.xml",
            "type": "xmllog"
          }
        ]
      }
      <<XHARNESS_RESULT_END>>
XHarness exit code: 1 (TESTS_FAILED)
  Passed: 0
  Failed: 0
  Tests completed with exit code: 1

🟢 With fix — 📱 EntryHandlerTests (EntryClearButtonUsesTemplateRenderingTintedToTextColor): PASS ✅ · 190s

(truncated to last 15,000 chars)

l Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.5514740] 2026-05-20 05:01:12.551307-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Email Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.6676970] 2026-05-20 05:01:12.667432-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] [RTILog] -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8672240] 2026-05-20 05:01:12.866967-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] NextMovesRtlToLtrMultilineEntry
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8703900] 2026-05-20 05:01:12.870191-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] DisconnectHandlerDoesntCrash
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8739880] 2026-05-20 05:01:12.873738-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8766510] 2026-05-20 05:01:12.876461-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8780970] 2026-05-20 05:01:12.877966-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8793130] 2026-05-20 05:01:12.879168-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8810250] 2026-05-20 05:01:12.880890-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8823050] 2026-05-20 05:01:12.882180-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8835020] 2026-05-20 05:01:12.883372-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8846410] 2026-05-20 05:01:12.884519-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Validates Chat Keyboard
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:12.8873010] 2026-05-20 05:01:12.887137-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Text Property Initializes Correctly when IsReadOnly Mapper is Executed Before Text Mapper
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.0052410] 2026-05-20 05:01:13.004955-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] [RTILog] -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.1942990] 2026-05-20 05:01:13.194001-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] NextMovesSkipsHiddenAncestor
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.3106350] 2026-05-20 05:01:13.310276-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] [RTILog] -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.4995550] 2026-05-20 05:01:13.499260-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] NextMovesBackToTopIgnoringNotEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.5029310] 2026-05-20 05:01:13.502757-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Text Property Initializes Correctly when IsPassword Mapper is Executed Before Text Mapper
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.6149650] 2026-05-20 05:01:13.614720-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] [RTILog] -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:13.8007140] 2026-05-20 05:01:13.800447-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Entry ClearButton uses template rendering tinted to TextColor
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.0112170] 2026-05-20 05:01:14.010970-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.2311560] 2026-05-20 05:01:14.230502-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.4504620] 2026-05-20 05:01:14.450025-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6618500] 2026-05-20 05:01:14.661377-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] IsTextPredictionEnabled differs from IsSpellCheckEnabled
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6625210] 2026-05-20 05:01:14.662101-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] Microsoft.Maui.DeviceTests.EntryHandlerTests 16.0340741 ms
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6630290] 2026-05-20 05:01:14.662537-0700 Microsoft.Maui.Core.DeviceTests[7520:51480]
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6630940] Test collection for Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextStyleTests
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6772370] 2026-05-20 05:01:14.676877-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6824390] 2026-05-20 05:01:14.682123-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6862180] 2026-05-20 05:01:14.686039-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6897390] 2026-05-20 05:01:14.689442-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6948350] 2026-05-20 05:01:14.694554-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6976890] 2026-05-20 05:01:14.697514-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.6996360] 2026-05-20 05:01:14.699463-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7016560] 2026-05-20 05:01:14.701486-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family and Weight Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7075970] 2026-05-20 05:01:14.707352-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Attributes Initialize Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7103860] 2026-05-20 05:01:14.710187-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Attributes Initialize Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7135070] 2026-05-20 05:01:14.713350-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Attributes Initialize Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7154330] 2026-05-20 05:01:14.715271-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Attributes Initialize Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7189800] 2026-05-20 05:01:14.718840-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7203590] 2026-05-20 05:01:14.720221-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7222460] 2026-05-20 05:01:14.722062-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Family Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7260270] 2026-05-20 05:01:14.725810-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Size Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7285940] 2026-05-20 05:01:14.728450-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Size Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7299240] 2026-05-20 05:01:14.729805-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Size Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7312000] 2026-05-20 05:01:14.731077-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Font Size Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7332120] 2026-05-20 05:01:14.733085-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Auto Scaling Enabled Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7347840] 2026-05-20 05:01:14.734651-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] Auto Scaling Enabled Initializes Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7349810] 2026-05-20 05:01:14.734819-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextStyleTests 0.0625451 ms
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7351440] 2026-05-20 05:01:14.735010-0700 Microsoft.Maui.Core.DeviceTests[7520:51480]
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7351540] Test collection for Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextInputTests
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7603170] 2026-05-20 05:01:14.759987-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7626650] 2026-05-20 05:01:14.762490-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7645180] 2026-05-20 05:01:14.764385-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7659340] 2026-05-20 05:01:14.765815-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7674220] 2026-05-20 05:01:14.767289-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7687570] 2026-05-20 05:01:14.768637-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7710350] 2026-05-20 05:01:14.770897-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7729070] 2026-05-20 05:01:14.772680-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7749460] 2026-05-20 05:01:14.774808-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7769200] 2026-05-20 05:01:14.776777-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7786050] 2026-05-20 05:01:14.778478-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7801420] 2026-05-20 05:01:14.780024-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7813280] 2026-05-20 05:01:14.781207-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7824190] 2026-05-20 05:01:14.782294-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7844350] 2026-05-20 05:01:14.784321-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.7855090] 2026-05-20 05:01:14.785407-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] TextChanged Events Fire Correctly
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.9972290] 2026-05-20 05:01:14.996946-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] 	[PASS] CursorPositionDoesntResetWhenNativeTextValueChanges
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.9975120] 2026-05-20 05:01:14.997328-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] Microsoft.Maui.DeviceTests.EntryHandlerTests+EntryTextInputTests 0.2540463 ms
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:14.9996860] 2026-05-20 05:01:14.999462-0700 Microsoft.Maui.Core.DeviceTests[7520:51667] Tests run: 233 Passed: 232 Inconclusive: 0 Failed: 0 Ignored: 1
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:15.0055520] 2026-05-20 05:01:15.005306-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] Xml file was written to the provided writer.
�[40m�[37mdbug�[39m�[22m�[49m: [05:01:15.0056340] 2026-05-20 05:01:15.005436-0700 Microsoft.Maui.Core.DeviceTests[7520:51480] Tests run: 1257 Passed: 232 Inconclusive: 0 Failed: 0 Ignored: 1025
�[40m�[37mdbug�[39m�[22m�[49m: ==================== End of ApplicationLog ====================
�[40m�[37mdbug�[39m�[22m�[49m: 
�[40m�[32minfo�[39m�[22m�[49m: Uninstalling the application 'com.microsoft.maui.core.devicetests' from 'iPhone 11 Pro'
�[40m�[37mdbug�[39m�[22m�[49m: 
�[40m�[37mdbug�[39m�[22m�[49m: Running /Applications/Xcode_26.0.1.app/Contents/Developer/usr/bin/simctl
�[40m�[37mdbug�[39m�[22m�[49m: Process simctl exited with 0
�[40m�[32minfo�[39m�[22m�[49m: Application 'com.microsoft.maui.core.devicetests' was uninstalled successfully
�[40m�[32minfo�[39m�[22m�[49m: <<XHARNESS_RESULT_START>>
      {
        "version": 1,
        "machineName": "KR6TVKX395-1",
        "exitCode": 0,
        "exitCodeName": "SUCCESS",
        "platform": "apple",
        "device": "iPhone 11 Pro",
        "deviceOsVersion": "26.0",
        "files": [
          {
            "name": "test-ios-simulator-64_26.0-BE1F5F5D-EB64-4AF7-ACD9-8A7C8CE2121F.log",
            "type": "executionlog"
          },
          {
            "name": "list-ios-simulator-64_26.0-20260520_050044.log",
            "type": "devicelist"
          },
          {
            "name": "test-ios-simulator-64_26.0-20260520_050050.log",
            "type": "testlog"
          },
          {
            "name": "iPhone 11 Pro.log",
            "type": "systemlog"
          },
          {
            "name": "Microsoft.Maui.Core.DeviceTests.log",
            "type": "systemlog"
          },
          {
            "name": "com.microsoft.maui.core.devicetests.log",
            "type": "applicationlog"
          },
          {
            "name": "xunit-test-ios-simulator-64_26.0-20260520_050050.xml",
            "type": "xmllog"
          }
        ]
      }
      <<XHARNESS_RESULT_END>>
XHarness exit code: 0
  Passed: 232
  Failed: 0
  Tests completed successfully

📁 Fix files reverted (1 files)
  • src/Core/src/Platform/iOS/TextFieldExtensions.cs

🧪 UI Tests — ViewBaseTests

Detected UI test categories: ViewBaseTests

🧪 UI Test Execution Results

⏭️ SKIPPED — 0 passed, 0 failed, 1 skipped (platform: ios)

Category Result Tests Duration Notes
ViewBaseTests ⏭️ SKIPPED 0s Runner threw an exception

Failures here are informational only — they do not block the gate or affect try-fix candidate scoring.


🔍 Pre-Flight — Context & Validation

Pre-Flight — PR #35541

Issue (#35517)

On iOS/MacCatalyst, when an Entry has TextColor set and ClearButtonVisibility=WhileEditing,
the system clear button (✕) appears faded compared to the entry text — most obvious on MacCatalyst 26.

Root cause

The system clear-button glyph in UITextField's private clearButton is a UIImage
authored with UIImageRenderingMode.AlwaysOriginal. That rendering mode tells UIKit to
ignore TintColor and paint the image exactly as authored. The image itself contains
semi-transparent pixels (anti-aliasing + designed translucency for the system look).

Previous MAUI workaround (GetClearButtonTintImage) tried to composite a flat-fill
rectangle on top of the original glyph using CGBlendMode.SourceIn. That preserves the
original alpha mask, so the result still has the baked-in translucency — hence "faded".

PR's current fix

File: src/Core/src/Platform/iOS/TextFieldExtensions.csUpdateClearButtonColor

  • When TextColor is non-null: pull the current clear-button UIImage, convert it via
    ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate), set that template image
    for Normal and Highlighted, then assign clearButton.TintColor = entry.TextColor.ToPlatform().
    Template rendering tells UIKit to draw the image's silhouette filled at full opacity
    using TintColor, bypassing the baked-in alpha.
  • When TextColor is null: clear images via SetImage(null, …) for both states and
    reset TintColor, so UIKit restores the default appearance.
  • Deletes the no-longer-needed GetClearButtonTintImage helper.

Test added: EntryClearButtonUsesTemplateRenderingTintedToTextColor in
src/Core/tests/DeviceTests/Handlers/Entry/EntryHandlerTests.iOS.cs — asserts
clearButton.TintColor == Blue and image.RenderingMode == AlwaysTemplate after
becoming first responder.

Gate result (already verified)

✅ PASSED on iOS:

  • Without fix → FAIL (image RenderingMode = Automatic, expected AlwaysTemplate)
  • With fix → PASS

Diff summary

  • src/Core/src/Platform/iOS/TextFieldExtensions.cs — +20 / −36 (deletes compositing helper)
  • src/Core/tests/DeviceTests/Handlers/Entry/EntryHandlerTests.iOS.cs — +36 (new test)

Constraints for alternative candidates

  1. iOS clear button is a private subview that only exists while editing
    (UITextField.ValueForKey("clearButton") returns null otherwise). Any approach
    that targets a "missing" button at color-set time is moot until editing begins.
  2. The new test asserts both TintColor and RenderingMode == AlwaysTemplate. A truly
    different approach (e.g., custom drawn image, rightView-based custom button) would
    change the contract the test encodes — must justify.
  3. UpdateClearButtonColor runs on every TextColor mapper invocation; perf matters.

Risk areas

  • Tinting a clear button that doesn't exist yet: PR is silently a no-op until editing.
    Consider whether application code that sets TextColor before editing experiences a
    one-frame flash of default-colored button when editing begins. (Not asserted by gate.)
  • SetImage(null, …) for the TextColor=null branch is new behavior; verify it does not
    permanently hide the clear button if the cached system image is also nilled internally.
  • MacCatalyst-26-specific behavior driven this report; iOS gate passes, but MacCatalyst
    was not separately exercised by the gate runner.

🔧 Fix — Analysis & Comparison

Try-Fix Aggregate — PR #35541

Platform: iOS · Gate: ✅ Passed for PR's current fix · Candidates generated: 3 · Candidates run: 0

Summary

Three meaningfully different alternative approaches were generated via the MAUI
expert reviewer. None were promoted past the design+analysis phase because
the PR's existing fix already passes the gate AND the gate test asserts the PR's
specific implementation strategy (UIImageRenderingMode == AlwaysTemplate,
TintColor == Blue) rather than the user-visible outcome. Every meaningfully
different alternative therefore fails the gate test by construction, regardless
of whether it correctly fixes the reported bug.

This is a substantive finding about the PR's test design, not about the
candidates themselves. Recommend the PR test be revised to assert outcome
(opaque pixel sampled from the rendered image matches TextColor) rather than
strategy — see "Recommendation to PR author" below.

Candidates considered

# Approach Status Reason
1 Custom-drawn vector glyph (UIGraphicsImageRenderer, AlwaysOriginal, no TintColor) Rejected, not executed Fails gate assertions on RenderingMode and TintColor. Visual divergence from Apple's glyph is a secondary objection.
2 UIImage.ImageWithTintColor(...AlwaysOriginal) Rejected, not executed Fails gate assertions; additionally, expert review flagged unverified risk that ImageWithTintColor preserves source-image translucency and may not actually fix the bug.
3 Custom MauiClearButton as textField.RightView, system clear disabled Rejected, not executed Fails gate assertions (no system clear button exists in this design). Architecturally cleanest but largest behavioral surface — accessibility label, RTL mirroring, text-rect overlap all become MAUI's responsibility.

Detailed write-ups: try-fix-1/content.md, try-fix-2/content.md, try-fix-3/content.md.

Why the iteration loop stopped

The expert reviewer's analysis converged on three approaches that span the
realistic design space:

  • Smallest delta from PR (Candidate 2 — swap one API call) — would have been
    the natural "try first," but it has a real correctness risk that requires
    pixel-sampling to disprove, and it still fails the brittle gate assertion.
  • Strongest correctness guarantee (Candidate 1 — own the pixels) — fixes
    bug definitively at the cost of glyph fidelity, fails the same assertion.
  • Strongest architecture (Candidate 3 — own the control) — eliminates
    private-API dependence, but is by far the largest change for a cosmetic fix.

A fourth approach (re-apply tint on layoutSubviews/EditingDidBegin to address
the "clear button doesn't exist yet" lifecycle case) was deliberately excluded
as not meaningfully different — it's the PR's exact strategy moved to a
different lifecycle hook. The expert reviewer specifically warned against
counting such variants as "different."

No further candidates were generated because the design space of meaningfully
different approaches is exhausted by the three above. Trivial variations
(different glyph size, caching the templated image, etc.) are improvements to
the PR's approach, not alternatives to it.

Recommendation

Keep the PR's current fix. It is correct, small, low-risk, and gated by a
passing test.

Recommendation to PR author (improvement, not blocker)

The new test EntryClearButtonUsesTemplateRenderingTintedToTextColor asserts
implementation details:

Assert.Equal(Colors.Blue.ToPlatform(), clearButton.TintColor);
Assert.Equal(UIImageRenderingMode.AlwaysTemplate, image.RenderingMode);

Consider replacing the second assertion with an outcome-based check that the
rendered button is actually opaque and the actual color of TextColor. This
would let future maintainers swap implementation strategies (e.g., to
ImageWithTintColor, custom drawing, or custom RightView) without rewriting
the test. A pixel-sampling helper like AssertionExtensions.AssertContainsColor
(already used elsewhere in DeviceTests) is the established pattern.

Optional follow-up

Track Candidate 3 (custom RightView) as a longer-term hardening item — the
fact that the bug manifested specifically in MacCatalyst 26, where the private
clear-button structure differs from iOS, is a signal that the ValueForKey
contract is unstable across UIKit revisions.


📋 Report — Final Recommendation

Comparative Report — PR #35541

Platform: iOS · Gate: ✅ Passed for PR's current fix.

Candidates evaluated

# Candidate Gate / regression Source
1 pr (raw PR fix) ✅ Passes (verified by gate) PR HEAD 7aee2fbb08
2 pr-plus-reviewer (PR + expert additions) ✅ Passes — additions are strictly additive (cache NSString, skip re-wrap when already template, add regression test for TextColor→null round-trip, add outcome-based assertion) Expert reviewer working tree
3 try-fix-1 — custom-drawn vector glyph (AlwaysOriginal, no TintColor) ❌ Fails gate by construction (asserts RenderingMode == AlwaysTemplate and TintColor == Blue). Not executed. try-fix-1/content.md
4 try-fix-2ImageWithTintColor(...AlwaysOriginal) ❌ Fails gate by construction (same assertions). Additionally has unverified correctness risk that ImageWithTintColor preserves source per-pixel alpha and so may not fix the visible bug at all. Not executed. try-fix-2/content.md
5 try-fix-3 — Custom MauiClearButton as RightView, system clear disabled ❌ Fails gate (no system clear button exists under this design). Largest behavioral surface (RTL, a11y, text-rect overlap). Not executed. try-fix-3/content.md

Ranking

Per the ranking rule (candidates that failed regression tests rank below candidates that passed them):

  1. pr-plus-reviewer — passes gate, strictly improves on pr (perf micro-opt, additional outcome-based assertion, round-trip regression test for the riskier null branch).
  2. pr — passes gate, sound approach, but missing the round-trip regression test and contains one per-invocation NSString allocation plus an unconditional ImageWithRenderingMode re-wrap.
  3. try-fix-1 — failed-by-construction. Correctly fixes the visible bug via baked-in opaque pixels, but trades glyph fidelity and is a larger change than the PR. No advantage over pr-plus-reviewer.
  4. try-fix-2 — failed-by-construction. Smallest delta from PR, but the central premise (ImageWithTintColor produces an opaque result over a partially-transparent source) is unverified and contradicted by the bug pre-mortem. Would not be safe to ship without a pixel-sampling spike.
  5. try-fix-3 — failed-by-construction. Architecturally cleanest (no private-API dependence) but largest behavioral surface and overkill for a cosmetic bug; tracked as a possible follow-up hardening item, not a replacement.

Selection rationale

  • All three try-fix-N candidates fail the gate test by construction because the test pins the PR's implementation strategy (AlwaysTemplate + TintColor). Per the explicit ranking rule, they must rank below candidates that pass.
  • Between the two remaining candidates, pr-plus-reviewer strictly dominates pr:
    • Both pass the existing gate (additions are non-behavioral for the working path).
    • pr-plus-reviewer adds an outcome-based assertion alongside the existing implementation-shape assertions (does not weaken them).
    • pr-plus-reviewer adds a new test EntryClearButtonRestoredWhenTextColorCleared covering the riskier SetImage(null, …) / TextColor → null round-trip, which the raw PR does not exercise.
    • pr-plus-reviewer removes a per-mapper-invocation NSString allocation and prevents redundant UIImage allocation when the image is already template-rendered.

Open risk shared by both winning candidates

The expert reviewer's most important call-out applies to both pr and pr-plus-reviewer and is NOT addressed by either: the private clearButton subview is lazily allocated by UIKit during BecomeFirstResponder, so a TextColor set before first focus is a silent no-op until the mapper runs again. There is no EditingDidBegin re-hook in MauiTextFieldProxy, so first-focus on an empty entry may still show the un-tinted system glyph (the original symptom). The PR's test masks this because it sets Text = "hello" before focusing.

This is device-verification work, not a static-review fix, and the expert reviewer correctly chose not to auto-apply a lifecycle change. Recommend the PR author verify:

  1. First-focus on an empty Entry with TextColor set, and
  2. The same on MacCatalyst 26 (the originally-reported worst case; the iOS-only gate didn't exercise it).

If either fails on a real device, the follow-up is to invoke UpdateClearButtonColor from MauiTextFieldProxy.OnEditingBegan in EntryHandler.iOS.cs. This was deliberately not bundled into pr-plus-reviewer because it crosses the static-review/device-verification boundary.

Winner

pr-plus-reviewer — same correctness as pr, strictly better test coverage, two small perf improvements, no behavioral risk delta. The PR's existing fix should be retained and the reviewer's additive edits should be applied on top.


@sheiksyedm
sheiksyedm marked this pull request as ready for review May 21, 2026 08:48
@kubaflo
kubaflo changed the base branch from main to inflight/current May 21, 2026 10:05

@kubaflo kubaflo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you please resolve conflicts?

@kubaflo
kubaflo merged commit ff182fa into dotnet:inflight/current May 22, 2026
36 checks passed
@github-actions github-actions Bot added this to the .NET 10.0 SR8 milestone May 22, 2026
PureWeen pushed a commit that referenced this pull request Jun 2, 2026
… TextColor (#35541)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Details
- When an Entry control has a TextColor set and ClearButtonVisibility is
enabled, the clear button (✕) appears faded/dimmed compared to the
TextColor.

### Root Cause

- The system clear button icon uses UIImageRenderingMode.AlwaysOriginal,
which causes UIKit to completely ignore TintColor. The original code
attempted to work around this by compositing a tinted copy of the icon
using CGBlendMode.SourceIn, but this compositing approach produces a
faded/pastel result instead of the full-opacity color.

### Description of Change
- Replace the broken CGBlendMode.SourceIn compositing approach with
UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the
icon as a solid color silhouette using TintColor at full opacity. When
TextColor is null, call SetImage(null) to fully release the custom image
and restore UIKit's default system appearance.

### Issues Fixed
Fixes #35517

### Validated the behaviour in the following platforms

- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <img
src="https://github.com/user-attachments/assets/3f4ac9be-0ec8-429b-8bdd-d381163d8119">
| <img
src="https://github.com/user-attachments/assets/4a8897c3-0fc0-4ebf-9bf7-0aef1d359dff">
|
| Mac | <img
src="https://github.com/user-attachments/assets/2a6c890a-7a72-4d5c-b7c8-fbbd6fa4cb32">
| <img
src="https://github.com/user-attachments/assets/2a2318a4-b1dd-4ef5-8907-20befb57c907">
|
PureWeen pushed a commit that referenced this pull request Jun 11, 2026
… TextColor (#35541)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Details
- When an Entry control has a TextColor set and ClearButtonVisibility is
enabled, the clear button (✕) appears faded/dimmed compared to the
TextColor.

### Root Cause

- The system clear button icon uses UIImageRenderingMode.AlwaysOriginal,
which causes UIKit to completely ignore TintColor. The original code
attempted to work around this by compositing a tinted copy of the icon
using CGBlendMode.SourceIn, but this compositing approach produces a
faded/pastel result instead of the full-opacity color.

### Description of Change
- Replace the broken CGBlendMode.SourceIn compositing approach with
UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the
icon as a solid color silhouette using TintColor at full opacity. When
TextColor is null, call SetImage(null) to fully release the custom image
and restore UIKit's default system appearance.

### Issues Fixed
Fixes #35517

### Validated the behaviour in the following platforms

- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <img
src="https://github.com/user-attachments/assets/3f4ac9be-0ec8-429b-8bdd-d381163d8119">
| <img
src="https://github.com/user-attachments/assets/4a8897c3-0fc0-4ebf-9bf7-0aef1d359dff">
|
| Mac | <img
src="https://github.com/user-attachments/assets/2a6c890a-7a72-4d5c-b7c8-fbbd6fa4cb32">
| <img
src="https://github.com/user-attachments/assets/2a2318a4-b1dd-4ef5-8907-20befb57c907">
|
@sheiksyedm sheiksyedm modified the milestones: .NET 10 SR8, .NET 10 SR9 Jun 18, 2026
PureWeen pushed a commit that referenced this pull request Jun 22, 2026
… TextColor (#35541)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Details
- When an Entry control has a TextColor set and ClearButtonVisibility is
enabled, the clear button (✕) appears faded/dimmed compared to the
TextColor.

### Root Cause

- The system clear button icon uses UIImageRenderingMode.AlwaysOriginal,
which causes UIKit to completely ignore TintColor. The original code
attempted to work around this by compositing a tinted copy of the icon
using CGBlendMode.SourceIn, but this compositing approach produces a
faded/pastel result instead of the full-opacity color.

### Description of Change
- Replace the broken CGBlendMode.SourceIn compositing approach with
UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the
icon as a solid color silhouette using TintColor at full opacity. When
TextColor is null, call SetImage(null) to fully release the custom image
and restore UIKit's default system appearance.

### Issues Fixed
Fixes #35517

### Validated the behaviour in the following platforms

- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <img
src="https://github.com/user-attachments/assets/3f4ac9be-0ec8-429b-8bdd-d381163d8119">
| <img
src="https://github.com/user-attachments/assets/4a8897c3-0fc0-4ebf-9bf7-0aef1d359dff">
|
| Mac | <img
src="https://github.com/user-attachments/assets/2a6c890a-7a72-4d5c-b7c8-fbbd6fa4cb32">
| <img
src="https://github.com/user-attachments/assets/2a2318a4-b1dd-4ef5-8907-20befb57c907">
|
TamilarasanSF4853 added a commit to TamilarasanSF4853/maui that referenced this pull request Jun 25, 2026
kubaflo pushed a commit that referenced this pull request Jun 25, 2026
… TextColor (#35541)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Details
- When an Entry control has a TextColor set and ClearButtonVisibility is
enabled, the clear button (✕) appears faded/dimmed compared to the
TextColor.

### Root Cause

- The system clear button icon uses UIImageRenderingMode.AlwaysOriginal,
which causes UIKit to completely ignore TintColor. The original code
attempted to work around this by compositing a tinted copy of the icon
using CGBlendMode.SourceIn, but this compositing approach produces a
faded/pastel result instead of the full-opacity color.

### Description of Change
- Replace the broken CGBlendMode.SourceIn compositing approach with
UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the
icon as a solid color silhouette using TintColor at full opacity. When
TextColor is null, call SetImage(null) to fully release the custom image
and restore UIKit's default system appearance.

### Issues Fixed
Fixes #35517

### Validated the behaviour in the following platforms

- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <img
src="https://github.com/user-attachments/assets/3f4ac9be-0ec8-429b-8bdd-d381163d8119">
| <img
src="https://github.com/user-attachments/assets/4a8897c3-0fc0-4ebf-9bf7-0aef1d359dff">
|
| Mac | <img
src="https://github.com/user-attachments/assets/2a6c890a-7a72-4d5c-b7c8-fbbd6fa4cb32">
| <img
src="https://github.com/user-attachments/assets/2a2318a4-b1dd-4ef5-8907-20befb57c907">
|
kubaflo pushed a commit that referenced this pull request Jun 26, 2026
…#35541 (#36134)

On macOS, some of the Entry feature test cases are failing in the
candidate PR #35716 in CI due to
changes to the clear button. These failures are caused by PR
#35541, so its changes were reverted
from the candidate PR.

<img width="617" height="328" alt="image"
src="https://github.com/user-attachments/assets/c115f31a-cde8-4689-81d5-8d251741c47c"
/>
kubaflo pushed a commit that referenced this pull request Jul 3, 2026
… TextColor (#35541)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Details
- When an Entry control has a TextColor set and ClearButtonVisibility is
enabled, the clear button (✕) appears faded/dimmed compared to the
TextColor.

### Root Cause

- The system clear button icon uses UIImageRenderingMode.AlwaysOriginal,
which causes UIKit to completely ignore TintColor. The original code
attempted to work around this by compositing a tinted copy of the icon
using CGBlendMode.SourceIn, but this compositing approach produces a
faded/pastel result instead of the full-opacity color.

### Description of Change
- Replace the broken CGBlendMode.SourceIn compositing approach with
UIImageRenderingMode.AlwaysTemplate, which tells UIKit to render the
icon as a solid color silhouette using TintColor at full opacity. When
TextColor is null, call SetImage(null) to fully release the custom image
and restore UIKit's default system appearance.

### Issues Fixed
Fixes #35517

### Validated the behaviour in the following platforms

- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <img
src="https://github.com/user-attachments/assets/3f4ac9be-0ec8-429b-8bdd-d381163d8119">
| <img
src="https://github.com/user-attachments/assets/4a8897c3-0fc0-4ebf-9bf7-0aef1d359dff">
|
| Mac | <img
src="https://github.com/user-attachments/assets/2a6c890a-7a72-4d5c-b7c8-fbbd6fa4cb32">
| <img
src="https://github.com/user-attachments/assets/2a2318a4-b1dd-4ef5-8907-20befb57c907">
|
@PureWeen PureWeen mentioned this pull request Jul 6, 2026
PureWeen added a commit that referenced this pull request Jul 6, 2026
## 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
@kubaflo kubaflo mentioned this pull request Jul 6, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-entry Entry community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

5 participants