Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Middle button paste on Linux sometimes duplicates the text

Open msehnout opened this issue 1 year ago • 3 comments

Discord username (optional)

No response

Describe the bug

Middle button paste on Linux sometimes duplicates the text when I click into the red area with the previous command.

Screenshot from 2024-03-19 12-20-37

Also, it does nothing when a text is focused: Screenshot from 2024-03-19 12-28-23

Hitting the middle button in this case does nothing at all. Only after I unfocus the word and the command (echo hello is not green any more) I can paste the text.

To reproduce

Open Warp on Linux. Run few commands and then try to click middle button in different parts of the window. In Gnome terminal or Tilix it outputs the content of the clipboard into the shell prompt. In Warp it usually does the same, but sometimes it duplicates the text.

Focus a word and try to paste it using the middle mouse button, it does nothing.

Expected behavior

Always paste the text from clipboard into the prompt exactly once.

Screenshots

No response

Operating system

Linux

Operating system and version

Fedora 39

Shell Version

fish, version 3.7.0

Current Warp version

v0.2024.03.12.08.02.stable_01

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

msehnout avatar Mar 19 '24 11:03 msehnout

Hi, we're looking into this issue and will post updates on the thread. for now, after copying text, please click on the input area then middle click paste.

dannyneira avatar Mar 19 '24 16:03 dannyneira

I experienced this exact thing yesterday. Ensured that the cursor was in the input area first and it duplicate pasted...

sudo apt updatesudo apt update
E: Invalid operation updatesudo

Warp_Duplicated_Paste

SilentGlasses avatar Mar 21 '24 16:03 SilentGlasses

hey folks, we are working on a fix for this should be released on Warp for Linux. No firm eta but soon...

dannyneira avatar Jun 21 '24 22:06 dannyneira