Skip to content

[main] Revert "[Android, iOS] Dynamically setting SearchHandler Query property does not update text in the search box (#28400)" #30250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 27, 2025

Conversation

PureWeen
Copy link
Member

Backport of #30222 to main

/cc @PureWeen

@Copilot Copilot AI review requested due to automatic review settings June 26, 2025 15:46
@PureWeen PureWeen requested a review from a team as a code owner June 26, 2025 15:46
@PureWeen PureWeen added this to the .NET 9 SR9 milestone Jun 26, 2025
@PureWeen PureWeen added the p/0 Work that we can't release without label Jun 26, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR backports the revert of dynamic updates to the SearchHandler.Query property on Android and iOS, removing associated tests and handler logic.

  • Disable the failing Issue29492 test on both Windows and iOS
  • Remove the shared and host app UI tests for Issue14497
  • Strip out the dynamic text‐update branches from the iOS and Android SearchHandlerAppearanceTracker

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29492.cs Expand the test exclusion to iOS
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue14497.cs Remove the shared test for dynamic SearchHandler behavior
src/Controls/tests/TestCases.HostApp/Issues/Issue14497.cs Remove the host‐app UI for dynamic SearchHandler behavior
src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SearchHandlerAppearanceTracker.cs Remove QueryProperty and CharacterSpacingProperty update logic
src/Controls/src/Core/Compatibility/Handlers/Shell/Android/SearchHandlerAppearanceTracker.cs Remove QueryProperty update logic and UpdateText helper
Comments suppressed due to low confidence (2)

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SearchHandlerAppearanceTracker.cs:115

  • Removing this dynamic update branch changes the public behavior of the SearchHandler.Query property and may be a breaking change; please confirm this is acceptable for a minor release.
			{

mattleibow
mattleibow previously approved these changes Jun 26, 2025
@github-project-automation github-project-automation bot moved this from Todo to Approved in MAUI SDK Ongoing Jun 26, 2025
Copy link
Contributor

@bhavanesh2001 bhavanesh2001 left a comment

Choose a reason for hiding this comment

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

Should #30166 be closed then?

Rethink things as described here? #30166 (review)

jsuarezruiz
jsuarezruiz previously approved these changes Jun 27, 2025
PureWeen added 3 commits June 27, 2025 12:04
…ty does not update text in the search box (#28400)"

This reverts commit 559da79.

# Conflicts:
#	src/Controls/src/Core/Compatibility/Handlers/Shell/Android/SearchHandlerAppearanceTracker.cs
#	src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SearchHandlerAppearanceTracker.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue14497.cs
#	src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue14497.cs
…rty (#29497)"

This reverts commit 9827339.

# Conflicts:
#	src/Controls/src/Core/Compatibility/Handlers/Shell/Android/SearchHandlerAppearanceTracker.cs
#	src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SearchHandlerAppearanceTracker.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue29492.cs
#	src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29492.cs
@github-actions github-actions bot dismissed stale reviews from jsuarezruiz and mattleibow via c4531bb June 27, 2025 12:04
@github-actions github-actions bot force-pushed the backport/pr-30222-to-main branch from 8432e4d to c4531bb Compare June 27, 2025 12:04
@PureWeen PureWeen merged commit 4a654cb into main Jun 27, 2025
126 of 129 checks passed
@PureWeen PureWeen deleted the backport/pr-30222-to-main branch June 27, 2025 18:33
@github-project-automation github-project-automation bot moved this from Approved to Done in MAUI SDK Ongoing Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p/0 Work that we can't release without
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants