Skip to content

[Android] Input controls should not change keyboard visibility - UITest#29569

Merged
jfversluis merged 3 commits intodotnet:inflight/currentfrom
kubaflo:test-29558
Aug 11, 2025
Merged

[Android] Input controls should not change keyboard visibility - UITest#29569
jfversluis merged 3 commits intodotnet:inflight/currentfrom
kubaflo:test-29558

Conversation

@kubaflo
Copy link
Contributor

@kubaflo kubaflo commented May 18, 2025

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!

Issues Fixed

Fixes #29558

Copilot AI review requested due to automatic review settings May 18, 2025 15:43
@kubaflo kubaflo requested a review from a team as a code owner May 18, 2025 15:43
@kubaflo kubaflo requested review from jfversluis and jsuarezruiz May 18, 2025 15:43
@kubaflo kubaflo self-assigned this May 18, 2025
Copy link
Contributor

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 introduces a new UITest for Android to ensure that input controls do not change keyboard visibility unexpectedly.

  • Adds a UITest in TestCases.Shared.Tests to validate keyboard visibility after unfocusing input controls
  • Updates the host app with corresponding UI components and event handling to support the test
  • Ensures automated tests cover the issue described in #29558

Reviewed Changes

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

File Description
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29558.cs Introduces a new UITest verifying keyboard visibility behavior for various input controls
src/Controls/tests/TestCases.HostApp/Issues/Issue29558.xaml.cs Implements the event handler for triggering unfocus on different input controls
src/Controls/tests/TestCases.HostApp/Issues/Issue29558.xaml Provides the UI layout that includes input controls and a button to trigger unfocus

@kubaflo kubaflo added the area-testing Unit tests, device tests label May 18, 2025
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label May 18, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen added this to the .NET 9 SR8 milestone May 20, 2025
@PureWeen PureWeen moved this from Todo to Changes Requested in MAUI SDK Ongoing May 20, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen modified the milestones: .NET 9 SR8, .NET 9 SR9 Jun 9, 2025
@PureWeen PureWeen removed this from the .NET 9 SR9 milestone Jul 3, 2025
@PureWeen PureWeen added this to the .NET 9 SR10 milestone Jul 3, 2025
@PureWeen PureWeen modified the milestones: .NET 9 SR10, .NET 9 SR12 Aug 4, 2025
@jfversluis jfversluis changed the base branch from main to inflight/current August 11, 2025 14:10
@jfversluis jfversluis merged commit 48a31a0 into dotnet:inflight/current Aug 11, 2025
75 of 79 checks passed
@github-project-automation github-project-automation bot moved this from Changes Requested to Done in MAUI SDK Ongoing Aug 11, 2025
github-actions bot pushed a commit that referenced this pull request Aug 11, 2025
…st (#29569)

* [Android] Input controls should not change keyboard visibility - test

* searchBar

* CR fixes
github-actions bot pushed a commit that referenced this pull request Aug 15, 2025
…st (#29569)

* [Android] Input controls should not change keyboard visibility - test

* searchBar

* CR fixes
github-actions bot pushed a commit that referenced this pull request Aug 15, 2025
…st (#29569)

* [Android] Input controls should not change keyboard visibility - test

* searchBar

* CR fixes
github-actions bot pushed a commit that referenced this pull request Aug 19, 2025
…st (#29569)

* [Android] Input controls should not change keyboard visibility - test

* searchBar

* CR fixes
github-actions bot pushed a commit that referenced this pull request Aug 22, 2025
…st (#29569)

* [Android] Input controls should not change keyboard visibility - test

* searchBar

* CR fixes
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Testing] Create Tests for all input based controls that make sure we don't change keyboard behavior

5 participants