GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Copy shows copied popup but clipboard remains unchanged on Linux terminal · Issue #24713 · anomalyco/opencode

Copy shows copied popup but clipboard remains unchanged on Linux terminal #24713

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Copy shows copied popup but clipboard remains unchanged on Linux terminal#24713
Copy link
Assignees
kommander

Description

@uriva
uriva
opened on Apr 28, 2026
Issue body actions

Bug

Copy feedback appears to succeed, but nothing is actually copied to the clipboard.

What happens

When using OpenCode in this terminal/OS, triggering copy briefly shows the "copied" popup/toast, but the clipboard contents do not change. After the popup disappears, pasting elsewhere does not paste the copied text.

This makes copying from OpenCode effectively unusable.

Expected behavior

When the "copied" popup appears, the selected/generated text should be available in the system clipboard and paste correctly into other apps/terminals.

Environment

  • OpenCode version: 1.14.26
  • OS: Linux uri-Lemur-Pro 6.17.0-22-generic Edit permissions window does not show full path #22-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 12:04:44 UTC 2026 x86_64 GNU/Linux
  • Platform: Ubuntu/Linux
  • Terminal: current local terminal session

Notes

The UI feedback makes it look like copy succeeded, but the clipboard remains unchanged. It would help if OpenCode either used the correct clipboard backend for this environment or surfaced an error when clipboard integration fails.

Reacted by Stéphane Brunner, Rafael Belenos, SalicylicAcid, ftobler, houdididini, Sergey, Denis Zverev and AlP

Activity

  1. github-actions
    assigned
    kommander
    on Apr 28, 2026
  2. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 28, 2026
  3. github-actions commented on Apr 28, 2026

    @github-actions
    github-actionsBot
    on Apr 28, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Copy Text "Copied to clipboard" does never work #7048: "Copy Text 'Copied to clipboard' does never work" — same symptom (copy popup appears but clipboard is not actually updated) on Ubuntu/Linux
    • Copy and Paste behaviour under Linux #4754: "Copy and Paste behaviour under Linux" — covers Linux clipboard buffer issues with copy appearing to succeed but not working as expected
  4. electroglyph commented on Apr 29, 2026

    @electroglyph
    electroglyph
    on Apr 29, 2026
    More actions

    yes, super annoying

    Reacted by Rafael Belenos, ftobler and Anton Sadovnikov
  5. fulalas commented on Apr 29, 2026

    @fulalas
    fulalas
    on Apr 29, 2026
    More actions

    I second that!

  6. sagaryoda commented on Apr 30, 2026

    @sagaryoda
    sagaryoda
    on Apr 30, 2026
    More actions

    I too see the problem - I would like to know once this is fixed.

  7. juk-stata commented on Apr 30, 2026

    @juk-stata
    juk-stata
    on Apr 30, 2026
    More actions

    I can reproduce this reliably with OpenCode 1.14.30: the UI shows “Copied”, but the system clipboard remains unchanged.
    This happens in browser‑based terminals (e.g. JupyterHub / code‑server, xterm.js), where clipboard writes are not available; it would be helpful to either detect this and suppress the success toast or provide a clear fallback/warning.

  8. kishorevaishnav commented on Apr 30, 2026

    @kishorevaishnav
    kishorevaishnav
    on Apr 30, 2026
    More actions

    I too see the problem - I would like to know once this is fixed.

    Seems that this is working in 1.14.6 it's broken in 1.14.30. Is it possible to downgrade it ?

  9. thdxr
    removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  10. optimalcharb commented on May 13, 2026

    @optimalcharb
    optimalcharb
    on May 13, 2026
    More actions

    I experience the same issue on Linux Ubuntu terminal. Says copied to clipboard but it isn't. However, /export works and is a great work around. If I want to copy the last response, I export the session to markdown and copy from the markdown file.

    Reacted by Rafael Belenos and Nicholas Martin
  11. khalifa007 commented on May 17, 2026

    @khalifa007
    khalifa007
    on May 17, 2026
    More actions

    why this bug not fixed !

    Reacted by Anton Sadovnikov
  12. uriva commented on May 17, 2026

    @uriva
    uriva
    on May 17, 2026
    Author
    More actions

    @khalifa007 my best guess:
    opencode people are not good at using ai properly fixing issues and reviewing prs
    and their qa process is "it works for me on my mac"

    Reacted by SalicylicAcid and Anton Sadovnikov
    Reacted by Stéphane Brunner and Khalifa Al-Khatri
  13. rekram1-node
    marked clipboard.write() silently reports success even when copy fails on Linux #31253 as a duplicate of this issue on Jun 8, 2026
  14. Denisz0785 commented on Jul 9, 2026

    @Denisz0785
    Denisz0785
    on Jul 9, 2026
    More actions

    yes, i have the same problem. it's not good (

  15. thomas-0816 commented on Jul 9, 2026

    @thomas-0816
    thomas-0816
    on Jul 9, 2026
    More actions

    My workaround in KDE Konsole: I use Shift+mouse to select the text, right mouse button to copy.

    Reacted by Benoît Courty
  16. github-actions commented on Sep 8, 2026

    @github-actions
    github-actionsBot
    on Sep 8, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  17. github-actions
    closed this as not plannedon Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kommander
    kommander

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.