feat: copy and paste arrangement phrases with independent clip snapshots

This commit is contained in:
Johannes Findeisen 2026-11-06 00:15:01 +01:00
commit b60501f317
9 changed files with 110 additions and 4 deletions

View file

@ -11,3 +11,7 @@ Shift-click clips to toggle selection; Ctrl+A in the sequencer or Edit/Select al
## Phase 48
Use Left/Right in the sequencer (or Edit/Nudge selection) to move the selected phrase by the current snap step. Ctrl+D duplicates after its complete bounding span; Delete removes selected clips. Edits are atomic and undoable. Mouse dragging remains a single-clip gesture.
## Phase 49
Ctrl+C/Ctrl+V in the sequencer, or Edit/Copy clips and Paste clips at cursor, copy/paste the selection. Earliest clip lands on the cursor. The earliest source track maps to the currently selected destination track; intervening track spacing is retained. All required tracks must already exist and must not be buses. Instruments, automation and media bytes are not copied. The clipboard survives document changes within the window but is not the OS clipboard.

View file

@ -1348,12 +1348,12 @@ Implemented: atomic C99 batch move/duplicate/delete APIs and GUI selection comma
Copy selected clips into an independent session clipboard and paste at the cursor with fresh IDs, notes and media references.
### Tasks and acceptance criteria
- [ ] Provide the control/model behavior and accessible GUI commands.
- [ ] Validate bounds and failure rollback; preserve existing project compatibility and callback safety.
- [ ] Test the new workflow and document scope and limitations.
- [x] Provide the control/model behavior and accessible GUI commands.
- [x] Validate bounds and failure rollback; preserve existing project compatibility and callback safety.
- [x] Test the new workflow and document scope and limitations.
### Implementation status
Planned.
Implemented: independent control-thread clipboard snapshots, fresh-ID paste at the cursor and relative existing-track mapping. Notes, source trims, audio properties and references survive copying independently of later edits. Core rollback/lifetime and GUI copy/paste tests pass.
---