Skip to content

[Bug] Transition effect "display" value update not reflected in Player after clip repositioning #52

@Pablituuu

Description

@Pablituuu

There is a synchronization issue between the Studio state (JSON) and the Video Player. When a clip with an active transition is moved to a new position on the timeline, the transition's display attribute (which controls the timing/offset of the effect) updates correctly in the JSON. However, the Player does not reflect this change and continues to attempt rendering the effect at its previous position or fails to show it at all.

Steps to Reproduce

  • Create a clip and apply any transition (e.g., Fade, Slide).
  • Play the video and confirm the transition works at the current position.
  • Move the clip to a different point on the timeline.
  • Verify the clip's JSON in the Studio state: The transition object's display property should be updated to reflect the new time.
  • Play the video again.

Expected Behavior

The Player should react to the JSON update and render the transition effect at the new timestamp defined by the updated display property.

Actual Behavior

The Player ignores the update. Even though the underlying data (JSON) is correct, the visual effect is either missing or desynchronized from the clip's new position.

Technical Observations

State Sync: The communication between the Editor and Studio is working; the state is correctly updated and persisted.
Persistent Data: Checking the clip metadata confirms the display value is accurate after the move.
Player Engine: The issue likely lies within the Player's rendering loop or the effect's lifecycle. It seems the engine is not re-calculating the effect's start time (timing) when the clip's offset changes.

COMBO EDITOR REPRODUCE

https://www.loom.com/share/be193d720f6544d2b96c2a1069f29a9f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions