Summary
In the Antigravity Desktop application (v2.23.0), copy and paste do not work inside the integrated Terminal tab (Auxiliary Pane). The Paste action is inactive/disabled, and it is impossible to paste text from the OS clipboard into the terminal session.
Environment
- Application: Antigravity Desktop (
v2.23.0, packaged Electron build/opt/antigravity/antigravity) - OS: Ubuntu 26.04.1 LTS (
Linux 7.0.0-38-generic x86_64,XDG_SESSION_TYPE=x11)
Steps to Reproduce
- Copy any text or CLI command string to the OS clipboard (from an external browser, editor, or system app).
- Open the Terminal tab in the Antigravity Auxiliary Pane.
- Attempt to paste the OS clipboard contents into the active terminal session via the menu/context action or keyboard shortcuts (
Ctrl+Shift+V/Ctrl+V).
Expected Behavior
- The Paste action should be active whenever the OS clipboard contains text.
- Triggering Paste (via menu/context menu or
Ctrl+Shift+V/Ctrl+V) should inject the OS clipboard text into the active terminal PTY input stream. - Selecting text in the Terminal tab and triggering Copy should write the selection to the OS clipboard.
Actual Behavior
- Paste is inactive (disabled/greyed out), and nothing from the OS clipboard can be pasted into the Terminal tab.
Technical Root-Cause Note (app.asar inspection)
- In
dist/ipcHandlers.js(window:show-context-menu→buildContextMenuTemplate), custom context menu items do not bind Electron’s nativerole: 'paste'/role: 'copy'orwebContents.paste(), and when the renderer passesdisabled: true(enabled: !item.disabled), the Paste action remains disabled. - Clipboard paste events in the embedded Terminal tab are not forwarded from the OS clipboard to the underlying
xterm.jsPTY session.