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 rounded shape containment during clip discard - #988
This issue was found while validating the not-yet-merged JindoKitOpenSwiftUIContentView.
In its minimal Dynamic Island presentation, the symbol was positioned correctly,
but the capsule background was rendered at the top-left corner. The example code
is not included in this pull request.
The rounded shape was being tested using its rectangular bounding box. Because
the bounding box corners extend outside an equivalent rounded clip, the clip was
incorrectly retained. This introduced an unnecessary inherited rendering
boundary and caused the shape to lose its accumulated position.
Changes
Preserve rounded shape geometry when checking whether a clip fully contains
display-list content.
Keep rectangular content on the existing rectangle-containment path.
Clamp rounded-corner containment using the rectangle’s shortest dimension.
Recheck swapped clip entries after removing a redundant clip.
Add regression coverage for non-square rounded rectangles.
❌ Patch coverage is 10.00000% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.61%. Comparing base (f36a53c) to head (d6a06d0). ⚠️ Report is 2 commits behind head on main.
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
area: graphicsColor, shape, gradient, image, symbols, and graphics primitives.area: renderingDisplayList, render backends, renderer hosts, drawing, and effects.impact: visual-diffVisual mismatch, screenshot diff, or rendering fidelity issue.type: bugSomething is not working correctly.
1 participant
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.
Background
This issue was found while validating the not-yet-merged
JindoKitOpenSwiftUIContentView.In its minimal Dynamic Island presentation, the symbol was positioned correctly,
but the capsule background was rendered at the top-left corner. The example code
is not included in this pull request.
The rounded shape was being tested using its rectangular bounding box. Because
the bounding box corners extend outside an equivalent rounded clip, the clip was
incorrectly retained. This introduced an unnecessary inherited rendering
boundary and caused the shape to lose its accumulated position.
Changes
display-list content.