You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(composition): Default stroke miter limit to 1 - #25484
@Nacl-HCl can you adjust the runtime test so it runs on both Uno and WinUI targets? So that we also have the WinUI native confirmation of the default value
Thanks — done. I've moved When_Default_StrokeMiterLimit out of the #if __SKIA__ block so it runs on both Uno and WinUI targets; the test body itself is unchanged.
Note on the Analyze (csharp) failure on this head (0fb2fdf, CodeQL Advanced run 42551429490, attempt #2): the only error is MSB3923: Failed to download file "https://github.com/gfx-rs/wgpu-native/releases/download/v29.0.1.1/wgpu-windows-x86_64-msvc-release.zip" — 504 (Gateway Time-out) — while building SamplesApp for CodeQL analysis (Uno.UI.Composition.WebGpu/wgpu-native.targets:166). The SamplesApp assembly itself built successfully before that download step, and this PR does not touch the WebGPU / wgpu-native targets, so the failure looks like a transient network issue on the runner rather than something this change caused. The other two CodeQL jobs (javascript-typescript, java-kotlin) passed.
🎉 Congratulations on getting your very first pull request merged into Uno Platform! This is a huge milestone — you are now officially part of the community of contributors helping shape the future of cross-platform .NET development, and your code will reach developers and apps all over the world. 🌍
We are genuinely grateful for the time and care you put into this contribution. Every PR — big or small — makes Uno Platform better for everyone, and we hope this is the first of many. We cannot wait to see what you build next! 🚀
As a small thank-you, we would love to send you some swag so you can wear your contributor status with pride. And if you have any feedback or ideas on how we can make contributing to Uno Platform even better, please open a feedback issue — we truly value your perspective.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: closes #25351
PR Type:
🐞 Bugfix
What changed? 🚀
CompositionSpriteShape.StrokeMiterLimitnow defaults to1, matching WinUI and ensuring newly created shapes start with a valid miter limit.A Skia Desktop runtime regression test verifies the default value.
Validation
Expected:<1>. Actual:<0>.net11.0-desktopSamplesApp successfully with no warnings or errors.Impact
Newly created
CompositionSpriteShapeinstances that do not explicitly setStrokeMiterLimitwill now use1instead of the invalid default value0.PR Checklist ✅
Screenshots Compare Test Runresults.