[BUG] Cowork: Code block copy button not working

Resolved 💬 3 comments Opened Jan 15, 2026 by gonnector Closed Jan 27, 2026

[BUG] Cowork: Code block copy button not working

Environment

  • Cowork Version: Research Preview (January 2025)
  • OS: macOS
  • Browser: (Please specify your browser version)

Bug Description

Symptom

  • Copy button in code blocks within Cowork chat interface does not work
  • Clicking the copy button produces no response (no clipboard copy, no visual feedback)
  • Manual drag-select and copy (Cmd+C) works correctly

Steps to Reproduce

  1. Start a Cowork session
  2. Ask Claude to generate any code block (e.g., bash commands, Python code)
  3. Click the copy button (clipboard icon) in the top-right corner of the code block
  4. Try to paste (Cmd+V) anywhere → Nothing is pasted

Expected Behavior

  • Clicking copy button should copy code block contents to clipboard
  • Visual feedback (e.g., "Copied!" tooltip) should appear

Actual Behavior

  • Copy button click has no effect
  • No visual feedback
  • Clipboard contents unchanged

Workaround

  • Manual text selection (drag) + Cmd+C works as expected

Additional Context

  • This bug was discovered while trying to copy bash commands for GitHub CLI issue submission
  • The copy button appears clickable (cursor changes) but produces no action

---

This report was auto-generated by Claude based on user experience during a Cowork session.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗