Description
What happens
Copying a Source Text keyframe and pasting it (keys.copy / keys.paste, Edit > Paste on keyframes) keeps only the characters. Font, size, fill, stroke and the other style settings of the copied key are lost; the pasted key takes the style of the property's current value instead.
Steps
- Text layer, Source Text keyframed. Key A at 0 s with a red fill.
- Change the fill to blue at another time (or on the property's static value).
- Select key A, copy, move the time indicator, paste.
- The pasted key shows A's text in blue, not red.
Cause
Value::to_json (crates/keyframe/src/value.rs) writes a text value as its characters only (json!(t.text)). On paste, Value::coerce_json gets a string and puts those characters into a copy of the current TextDoc, so the copied key's style never reaches the clipboard. coerce_json already accepts a full TextDoc object, so the copied side is the one that loses the style.
Expected
A pasted Source Text keyframe is identical to the copied one, text and style, as in After Effects.
Found while working on #3216; the bug is older than that PR and is not part of it.
Activity
vangel76 commentedon Nov 18, 2026
I take this.
ticket-craft commentedon Nov 18, 2026
Possibly related: #1552 and #3023.
storytold#3901: the Paste Reversed check counts the keys and checks t…