Skip to content

Conversation

@PureWeen
Copy link
Member

Description of Change

Backport of #30023 to SR8

* Reverting the OnMeasure changes and 27614 test cases

* Resaved the Android images

* Change in unshipped file
# Conflicts:
#	src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
Copilot AI review requested due to automatic review settings June 19, 2025 17:48
@PureWeen PureWeen requested a review from a team as a code owner June 19, 2025 17:48
@PureWeen PureWeen requested review from Aguilex and jsuarezruiz June 19, 2025 17:48
@PureWeen
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

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

Backports the revert of the Android Label sizing fix (removing the custom OnMeasure logic) to the SR8 branch, and updates tests accordingly.

  • Removes the OnMeasure override and helper from MauiTextView on Android
  • Updates PublicAPI to reflect removal of that override
  • Cleans up old tests for issue 27614 and adds a new test and HostApp page for issue 29542

Reviewed Changes

Copilot reviewed 6 out of 25 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt Marks the MauiTextView.OnMeasure override as removed in Unshipped API
src/Core/src/Platform/Android/MauiTextView.cs Deletes the custom OnMeasure override and GetMaxLineWidth helper
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29542.cs Adds a new UI test for label sizing in a CollectionView scenario
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27614.cs Removes old tests covering the previous label sizing issue
src/Controls/tests/TestCases.HostApp/Issues/Issue29542.cs Adds a HostApp page to exercise the new CollectionView test
src/Controls/tests/TestCases.HostApp/Issues/Issue27614.cs Removes the HostApp page for the old label sizing tests

@PureWeen PureWeen merged commit 2ecc375 into release/9.0.1xx-sr8 Jun 20, 2025
7 checks passed
@PureWeen PureWeen deleted the backport_revert_27614 branch June 20, 2025 16:05
@github-actions github-actions bot locked and limited conversation to collaborators Jul 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants