MatchedGeometryEffectClipShapeModifierExample buggy behavior
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Run ./setup.sh to use Apple's AttributeGraph backend, then set MatchedGeometryEffectClipShapeModifierExample as the root view and reproduce the transition. Compare it with MatchedGeometryEffectModifierExample and trace the clipShape overload and .clipRect rendering path. Done means the clipped content matches SwiftUI's compositing order during the transition and finishes aligned with the destination frame.
Written by the indexing model from the issue text.
Description
Description
MatchedGeometryEffectClipShapeModifierExample does not render the same transition in OpenSwiftUI as it does in SwiftUI. The standard MatchedGeometryEffectModifierExample now behaves correctly, so the remaining problem appears specific to the clipShape overload and .clipRect rendering path.
Reproduction
Due to jcmosc/Compute#60, set up the project with Apple's AttributeGraph backend:
./setup.sh
Do not use ./setup.sh --compute, because the example currently crashes with the Compute/IAG backend.
Then use the clip-shape example as the root view:
struct ContentView: View {
var body: some View {
MatchedGeometryEffectClipShapeModifierExample()
}
}
Run the Example app with OpenSwiftUI.
Expected behavior
The clipped content transitions between the source and destination frames with the same compositing order as SwiftUI, then finishes exactly at the destination frame.
Actual behavior
The transitioning clipped content remains visually on top throughout the animation, and its final rendered position does not align with the destination endpoint.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 84
- Avg merge
- 2h 8m
- Merged PRs (30d)
- 62
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenSwiftUIProject/OpenSwiftUI
-
macOS button text differs from SwiftUI in interaction snapshotsPossibly taken @Kyle-Ye claimed this today. Openarea: rendering area: text impact: visual-diff platform: macOS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenSwiftUIProject/OpenSwiftUI#1140 ·
Maintainers usually reply within 1 day
-
Add Accessibility supportPossibly taken @Kyle-Ye claimed this 15 days ago. Openarea: accessibility area: hosting-bridge type: feature
OpenSwiftUIProject/OpenSwiftUI#1112 · 1 assignee ·
Maintainers usually reply within 1 day
-
Add Gauge supportOpenarea: rendering area: view type: feature
Difficulty 4/5 3-5 days Newbie friendliness 42/100
OpenSwiftUIProject/OpenSwiftUI#1022 ·
Maintainers usually reply within 1 day
-
Add List supportOpenarea: layout area: rendering area: view type: feature
Difficulty 5/5 Over a week Newbie friendliness 28/100
OpenSwiftUIProject/OpenSwiftUI#919 ·
Maintainers usually reply within 1 day
-
area: layout area: rendering area: view type: feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
OpenSwiftUIProject/OpenSwiftUI#918 · 1 comment ·
Maintainers usually reply within 1 day
All issues in OpenSwiftUIProject/OpenSwiftUI
Similar issues
-
install.ps1: Windows PowerShell 5.1 aborts after a successful cosign verification (NativeCommandError on 'Verified OK')Possibly taken @sly321-pixel claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OneBusAway/onebusaway-ios#1518 ·
Maintainers usually reply within 2 days
-
area: agents
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#19972 · 1 comment ·
Maintainers usually reply within 1 day
-
VerificationCodeInputField: iPad Return key clears/hides OTP fieldsPossibly taken @amansingh1207 claimed this today. Openneeds attention
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
firebase/FirebaseUI-iOS#1407 ·
Maintainers usually reply within 5 days
-
component: swift renderer P2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
a2ui-project/a2ui#3146 ·
Maintainers usually reply within 2 days