After Effects 26.3 pastes stale/cached clipboard content when source window maintains foreground focus (reproducible with Windows Clipboard History, Win+V)
After Effects 26.3 pastes stale/cached clipboard content when source window maintains foreground focus (reproducible with Windows Clipboard History, Win+V)
Summary:
When the OS clipboard content is changed by a tool that does not steal
foreground/keyboard focus from the currently active window (e.g. Windows'
built-in Clipboard History flyout, Win+V), After Effects continues to
paste its own internally cached "last copied" rich text object instead of
the actual current clipboard content, as long as the AE window itself was
never deactivated in between. Premiere Pro does not have this problem in
the same scenario.
Environment:
- OS: Windows 10 (also reproducible on Windows 11)
- App: After Effects [please fill in your version]
- Comparison app: Premiere Pro 26.3 — does NOT reproduce this issue
Steps to reproduce:
1. In After Effects, select a text layer and copy some text (Ctrl+C) so
the character/paragraph styling (font, size, etc.) is copied along with
the plain text.
2. Without switching focus away from the AE window, open Windows'
built-in Clipboard History (Win+V).
3. In the Clipboard History flyout, select an older, different clipboard
history entry (any format: plain text or rich text). Clicking the entry
will paste it directly into AE's text layer.
4. Alternatively, after selecting the entry in step 3 (which updates the
OS clipboard), press Ctrl+V to paste into the same or different text
layer. In both cases, do not switch the OS foreground window away from
AE between steps 1-4.
Expected result:
The pasted text reflects the content that was actually selected from the
Clipboard History flyout (the different, older clipboard entry chosen in
step 3).
Actual result:
After Effects ignores the updated clipboard content and instead pastes its
own internally cached rich text object from step 1 (still carrying the
original font/size formatting), regardless of what was actually selected
in the Clipboard History flyout. This happens even though inspecting the
live OS clipboard with a clipboard-viewer tool (e.g., insideclipboard) at
the moment of step 4 confirms the clipboard's CF_UNICODETEXT content has
already been correctly updated to match the selection made in step 3.
Workaround:
Switching the foreground window away from After Effects and back again
(e.g., Alt+Tab to another app and back) before pasting causes AE to
correctly pick up the updated clipboard content.
Additional notes:
- Performing the exact same steps with Premiere Pro instead of After
Effects works correctly every time — the updated clipboard content is
always reflected on paste, with no need to switch focus away first.
This suggests the issue is specific to how After Effects tracks/
invalidates its internal paste cache, rather than a fundamental
limitation of the Windows clipboard itself.
- This may be related to AE relying on a window activation/deactivation
event (rather than the standard WM_CLIPBOARDUPDATE notification or
GetClipboardSequenceNumber()) as the trigger to re-synchronize its
internal clipboard cache with the OS clipboard.
