fix: reuse the comparison capture across paused seeks #4970
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.43) × (1 − Review Confidence (0.42)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 81% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #4970"
general
weight: 0.35
coderabbitai[bot]
!1. What changes
!2. Why and how
!3. What to check
Fixed issues / References
Please check
Scene.Edited). An edit inside a scene shown here through a Scene Drawable raises noEditedhere, so it reaches the comparison at this scene's next edit instead of the next seek.<details><summary>Full description</summary>
Description
Scene.Editedhandler, which, unlikeOnSceneEdited, stays subscribed during playback. Each capture records the count it saw, and a paused render reuses the capture, and so the renderer, until the count moves. A failed capture is never reused, so the next render retries it.Screenshots / Render output
None: nothing on screen changes.
Affected areas
Beutl.Engine(rendering / scene / track)Beutl.ProjectSystem(project / document persistence)Beutl.Editor,Beutl.Editor.Components,Beutl.Controls)Beutl.Extensibility(plugin abstractions)Beutl.NodeGraph(node editor)Beutl.FFmpegIpc/Beutl.FFmpegWorker(media IPC boundary)Beutl.Api(server API client)Breaking changes
None.
Raises the format floor?
No.
Test plan
PlayerViewEffectComparisonTests.Paused_seeks_reuse_the_comparison_capture_until_the_scene_is_edited(tests/Beutl.HeadlessUITests/): starts a comparison, seeks five frames while paused and checks that each render keeps the first capture; then changes the blur and checks that the next render captures again and the comparison shows the edit. With the fix's call reverted on the merged branch, it fails at the first seek.dotnet build tests/Beutl.HeadlessUITests/Beutl.HeadlessUITests.csproj -m:2(after merging main)dotnet test tests/Beutl.HeadlessUITests/Beutl.HeadlessUITests.csproj -f net11.0 --no-build --filter "FullyQualifiedName~PlayerViewEffectComparisonTests|FullyQualifiedName~PreviewWorkingScaleIndicatorTests": 12 passed.</details>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Effect comparison previews now update when scene edits change the effect, so the comparison reflects the latest settings.
* Seeking between frames while paused no longer causes the comparison preview to refresh unnecessarily, helping keep the preview consistent and responsive.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->