Skip to content

[Bug]: A duplicated clip (Ctrl+C / Ctrl+V) loses its anchored zoom and Full Camera regions #1007

Description

@EtienneLescot

What happens

Copying a clip and pasting it (Ctrl+C / Ctrl+V) inserts a duplicate after the original, but the duplicate does not carry the modifiers anchored to the original. In the test, the clip had a zoom (135.6–244.5 s) and a Full Camera region (59.9–87.8 s). After two pastes the project still held one zoom and one Full Camera region, both on the original clip.

Cause

duplicateClip in src/lib/ai-edition/document/timeline.ts (line 1006 on main) copies only trimRanges to the new clip id. Zooms, Full Camera regions, speed regions, annotations and audio fragments anchored to the clip are not copied.

Expected

A duplicated clip carries its anchored modifiers (new ids, clipId set to the copy), the same way it carries its trims.

Steps

  1. Add a zoom and a Full Camera segment over a clip.
  2. Select the clip, Ctrl+C, Ctrl+V.
  3. Play or inspect the duplicate: no zoom, no Full Camera.

Environment

v2.0.0-rc.15 (same code as v2.0.0), Windows 11. Found in the rc.15 computer-use pass (#1003).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions