Skip to content

Conversation

@rmarinho
Copy link
Member

@rmarinho rmarinho commented Apr 8, 2025

Reverts #28756

The PR had failing unit tests

Copilot AI review requested due to automatic review settings April 8, 2025 21:20
@rmarinho rmarinho requested a review from a team as a code owner April 8, 2025 21:20
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.

Copilot reviewed 9 out of 16 changed files in this pull request and generated 1 comment.

Files not reviewed (7)
  • src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt: Language not supported
  • src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt: Language not supported
Comments suppressed due to low confidence (1)

src/Controls/tests/Core.UnitTests/PageTests.cs:572

  • Replacing 'LabelInvalidateMeasureCheck' with 'Label' removes custom invalidation counting logic. Verify that this test still adequately verifies measure invalidation propagation as originally intended.
var label = new Label()

}

internal virtual void InvalidateMeasureInternal(InvalidationTrigger trigger)
internal void InvalidateMeasureInternal(InvalidationTrigger trigger)
Copy link

Copilot AI Apr 8, 2025

Choose a reason for hiding this comment

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

Changing the method from 'virtual' to a non-virtual implementation may affect subclasses that previously overrode this method. Confirm that this reversion does not break any intended override behavior in descendant classes.

Copilot uses AI. Check for mistakes.
@rmarinho rmarinho merged commit 4ff875a into main Apr 8, 2025
2 of 35 checks passed
@rmarinho rmarinho deleted the revert-28756-streamline-measure-invalidation branch April 8, 2025 21:21
albyrock87 added a commit to albyrock87/maui that referenced this pull request Apr 8, 2025
rmarinho pushed a commit that referenced this pull request Apr 9, 2025
…28872)" (#28873)

* Revert "Revert "Cleanup virtual layer measure invalidation (#28756)" (#28872)"

This reverts commit 4ff875a.

* Fix compatibility unit test
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 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.

2 participants