Repository navigation
AnimatedVisualPlayer: Port WinUI implementation - #23889
Conversation
|
Claude finished @morning4coffe-dev's task in 6m 58s —— View job Review complete
SummaryVerdict: fix-first — one blocking-thread issue; the rest are lower-severity. Issues found
O(n) LINQ scans in
What looks good
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 224209 found UI Test snapshots differences: Details
|
|
|
|
Claude finished @morning4coffe-dev's task in 8m 36s —— View job Review complete
SummaryVerdict: fix-first — the blocking-thread call and the new lock inconsistency both need to land before merge; the remainder are lower-severity. Previous inline findings — still unresolved (inline comments already exist on the PR):
New findings from this review pass:
O(n) LINQ scans — pre-existing, not in diff: What landed in the fix commit (
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
Claude finished @morning4coffe-dev's task in 4m 53s —— View job Review complete
SummaryVerdict: fix-first — the 4 findings from the previous two review passes remain open. No new blocking issues were introduced by the latest two commits. What landed in
|
| Severity | File | Finding |
|---|---|---|
| 🔴 High | LottieVisualSource.skia.cs:65 |
Task.Run(...).GetAwaiter().GetResult() blocks UI thread |
| 🟡 Medium | LottieVisualSourceBase.cs:229 |
_hasPendingAnimatedVisualInvalidation / _pendingAnimatedVisualInvalidation reset outside _stateGate lock in ClearLoadState |
| 🟡 Medium | KeyFrameEvaluator.cs:46 |
Dead ternary — both branches identical |
| 🟢 Low | LottieVisualSourceBase.cs:125 |
null! suppression on non-nullable return type; change to IAnimatedVisual2? |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 224238 found UI Test snapshots differences: Details
|
|
Claude finished @morning4coffe-dev's task in 1m 38s —— View job Review complete
SummaryVerdict: fix-first — the 4 findings from previous review passes remain open. The latest commit introduces no new issues. Latest commit (
|
| Severity | File | Finding |
|---|---|---|
| 🔴 High | LottieVisualSource.skia.cs:65 |
Task.Run(...).GetAwaiter().GetResult() blocks the UI thread during Skottie JSON parse |
| 🟡 Medium | LottieVisualSourceBase.cs:229 |
_hasPendingAnimatedVisualInvalidation / _pendingAnimatedVisualInvalidation reset outside _stateGate lock in ClearLoadState — inconsistent with every other write site |
| 🟡 Medium | KeyFrameEvaluator.cs:46 |
Dead ternary — both branches produce Math.Max(iterationCount, 1) |
| 🟢 Low | LottieVisualSourceBase.cs:125 |
null! suppression on non-nullable return type; change to IAnimatedVisual2? |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 224270 found UI Test snapshots differences: Details
|
Setting AnimationController.Progress on a controller that has NOT been explicitly paused now re-anchors the animation WITHOUT pausing it, so a negative PlaybackRate keeps driving from the new position. This is how AnimatedVisualPlayer starts a reverse play at the end (controller.Progress=1). Scrubbing (paused controller) still holds as before. Adds KeyFrameEvaluator .SeekTo and CompositionObject.SeekAnimationProgress. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012Y55hpyP9BgSDg6hGBGJpZ
LottieGen reconfigures a single reusable ExpressionAnimation (different Expression + reference parameters) and starts it on many targets — e.g. binding each shape's TrimStart/TrimEnd to "Min/Max(my.TStart,my.TEnd)" where "my" is that shape's own geometry. Uno shared the instance, so every target ended up bound to the last-configured reference parameters and its trim never tracked its own TStart/TEnd. Shapes with a narrow initial trim (e.g. the "L" curl in the LottieFiles logo, initial trim [0.8,0.81]) stayed invisible. Clone the ExpressionAnimation when it is started on a target (WinUI snapshots animation state on StartAnimation); keyframe animations keep sharing the instance. Adds a regression test. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012Y55hpyP9BgSDg6hGBGJpZ
|
Claude finished @morning4coffe-dev's task in 5m 50s —— View job Review complete
SummaryVerdict: ship — all four previously open findings are resolved in commit Previous findings — all resolved ✓
New commits reviewed
Observations (non-blocking, outside diff context — inline comments not possible)
|
|
Reconciled and published at Reconciliation
Breaking API alignmentThe removal of the nine Uno-only Validation
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 225410 found UI Test snapshots differences: Details
|
|
Claude finished @morning4coffe-dev's task in 7m 47s —— View job Review complete
SummaryVerdict: ship — all four previously open findings remain resolved; the two new commits introduce one low-severity inconsistency (inline comment posted) and no new blocking issues. New commits reviewed
New inline finding
What looks good in this pass
Persistent non-blocking observations (not in diff — inline comments not possible)
|
WinAppSDK sync generator drift detected on
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 227161 found UI Test snapshots differences: Details
|
|
Claude finished @morning4coffe-dev's task in 3m 54s —— View job Review complete
SummaryVerdict: ship — the new commit is correct; the single low-severity finding from the previous pass remains open (inline comment already posted). New commit reviewed
Specific members moved to "Skipping already declared" (correctly, since hand-authored partials now own them): The Still-open finding (inline comment already posted in prior pass)
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 227181 found UI Test snapshots differences: Details
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23889/wasm-skia-net9/index.html |
|
The build 227184 found UI Test snapshots differences: Details
|
|
Tick the box to add this pull request to the merge queue (same as
|
SKCanvasElement.CreateElementVisual() passed Compositor.GetSharedCompositor() to the branch's neutral SKCanvasVisual instead of the per-element ElementVisualCompositor, reverting a fix for AnimatedVisualPlayer CI failures (master a1f2024). Ported to the branch's neutral type. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XsQppKuZgijApgJxaTZt81
GitHub Issue: closes #23881
PR Type:
✨ Feature
What changed? 🚀
Ports
AnimatedVisualPlayerdirectly from Microsoft WinUI commit3cae15f0for the Skia renderer.AnimationControllerplayback-rate, progress, seeking, and commit behavior.IAnimatedVisualSource3/IAnimatedVisual2and Composition-driven rendering.This targets
feature/breakingchanges. The public Uno-only members previously added toIAnimatedVisualSourceare removed in favor of the WinUI contract.PR Checklist ✅
Screenshots Compare Test Runresults.Validation
git diff --check