-
Notifications
You must be signed in to change notification settings - Fork 840
Revert "fix(progressring): ring sizing should respect the ActualSize and Stretch" #22212
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 reverts changes from PR #22186 that addressed ProgressRing sizing with respect to ActualSize and Stretch properties. The revert removes a test case and restores the original SafeEdge calculation in Skia rendering.
Fixes https://github.com/unoplatform/uno/issues/#ISSUE_NUMBER or include a note if this is internal maintenance approved by a team member.
Key Changes
- Removed
When_Stretch_Fillruntime test that validated ProgressRing sizing behavior - Reverted SafeEdge constant from
SK_MaxS32FitsInFloat / 4 - 1back toSK_MaxS32FitsInFloat / 2 - 1in Skia Visual rendering
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_ProgressRing.cs | Removes the When_Stretch_Fill test method and cleans up unused imports (Windows.Foundation.Metadata and Uno.UI.RuntimeTests.Helpers) |
| src/Uno.UI.Composition/Composition/Visual.skia.cs | Reverts SafeEdge calculation to original value and removes explanatory comment about clipping bounds issues with LottieVisualSourceBase |
Code Review: The revert itself is clean and complete. However, the PR lacks proper issue linking as required by the Uno Platform contribution guidelines. Please add a reference to the GitHub issue that describes why this revert is needed, or document that this is approved internal maintenance.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22212/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-22212/docs/index.html |
|
The build 189506 found UI Test snapshots differences: Details
|
|
The build 189506 found UI Test snapshots differences: Details
|
|
|
Reverts #22186