warpdotdev / warpdotdev/warp

copy-paste works only in warp, can not copy to/from another program/window/terminal

Open
#4,314 15 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:window-tabs-panes bug ready-to-implement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Describe the bug

I an not copy/paste any selected text from Warp to another program, nor from another window into Warp

To reproduce

Select any text in Warp, right-click->Copy (or Ctrl+Shift-C), switch to a different window (say, gedit) and try to paste the copied text. The old contents of clipboard is pasted, as if nothing was copied inside Warp.
The same problem when trying to copy text from gedit/Firefox/GNOME_Terminal into Warp

Expected behavior

Copy/Paste in Warp should use the system clipboard, allowing copying text to/from other programs

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 20.04 with desktop Unity 2.3ubuntu0.3

Shell Version

bash 5.0.17(1)-release

Current Warp version

v0.2024.02.20.08.01.stable._02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the clipboard failure on Ubuntu 20.04 with Warp v0.2024.02.20.08.01.stable using gedit, Firefox, or GNOME Terminal as the other application. Trace the existing clipboard handling from the relevant terminal entry point; done means text copies between Warp and other windows in both directions using the system clipboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.