Skip to content

Strange "Somebody else is owning the clipboard" message #3172

Closed

Description

@laeubi

Describe the bug

  1. Mark some text and copy it with right click
  2. Go to a another application and copy some text (e.g. IDE)
  3. Now a strange "Somebody else owns the clipboard now" message appear at status line and breaks the layout:
Image

I noticed this message sometimes appear at other places as well and then mark some text in the terminal leads to the prompt jumping around / duplicated

Image

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Activity

  1. added theissue type on May 7, 2026
  2. added
    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input
    area:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting
    on May 7, 2026
  3. HerrDerb commented on May 29, 2026

    @HerrDerb

    What the heck is this? It is a really strange and dodgy output

  4. dagranzow commented on Aug 5, 2026

    @dagranzow

    I have this too. I can reproduce it quite easily.

    Steps to reproduce

    1. Start copilot session
    2. Copy any output from the terminal which runs copilot (mark + right click OR STRG + SHIFT + C)
    3. Now go to a different window and copy something (e.g. URL from browser tab)
    4. Message in copilot appears: Somebody else owns the clipboard now (message can neither be deleted by DEL nor backspace)
    5. Copy any output from the copilot terminal again (mark + right click OR STRG + SHIFT + C)
    6. Now go to a different window and copy something (e.g. URL from browser tab)
    7. Go back to copilot terminal and paste clipboard contents
    8. RESULT: Terminal output broken

    Visual

    Image

    System

    • OS: Ubuntu 24.04. LTS
    • Desktop ENV: KDE Plasma 5.27.12
    • Terminal App: konsole 23.08.5
    • Copilot: GitHub Copilot CLI 1.0.78
  5. xjamesmorris commented on Sep 29, 2026

    @xjamesmorris

    I am seeing this currently with:

    • GitHub Copilot CLI 1.0.90-1
    • Fedora 44

    I've only just started seeing this recently. It's messing up the UI and making it difficult to work.

    Report from Astra on my system:

    Found the cause: this is a Copilot clipboard-library bug, not a tmux error or evidence that another person has your clipboard. The exact symptom is tracked in  github/copilot-cli  issue #3172, which is still open.

    On your machine, I confirmed Ptyxis 50.1 on GNOME/Wayland, and found the exact message inside Copilot 1.0.90-1’s native module, alongside its bundled  clipboard-rs 0.3.5  source references.

    What happens: the library’s X11 clipboard handler receives a normal  SelectionClear  event when another application replaces its clipboard contents. It then unconditionally prints “Somebody else owns the clipboard now” directly to standard output. That output bypasses Copilot’s screen rendering, explaining the intrusive message and potentially disturbed layout. “Somebody” means another clipboard-owning application—not another user.

    This explains why removing tmux did not help: the offending code is inside Copilot’s dependency. The proper fix is to remove or redirect that diagnostic in the bundled library, not change your tmux configuration. The upstream report describes the same message and layout corruption.

  6. copilot-cli-bot commented on Oct 2, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.91. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

  7. fmigneault commented on Oct 7, 2026

    @fmigneault

    I have 1.0.92 installed and still seeing this regurlarly.
    https://github.com/apps/copilot-cli-bot closed this too early?

  8. laeubi commented on Oct 7, 2026

    @laeubi
    Author

    @copilot-cli-bot closed this too early?

    Yes it is a bit unfortunate - the bot seem to only close things that are idle for a longer time or that it can not validate hoping for humans reporting back. e.g. in this case the referenced

    appears to be resolved as of GitHub Copilot CLI v1.0.91.

    give no indication at all that anything in this area was touched (and of course regular users have no way to reopen an issue anyways).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions