Iterm paste doubles the content of clipboard
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.4.16
- OS version: macOS (Darwin) Sonoma 14.1.1
- Attach
[com.googlecode.iterm2.plist](/uploads/1e92fa4df8859a485cb2921a81003736/com.googlecode.iterm2.plist)
here (drag-drop from finder into this window) - Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer.
On the topic of plist files, I have a private one for IIterm-2-double-paste-bugterm2, and can move the issue to confidential and provide that if it would help the debug team.
Detailed steps to reproduce the problem
Apologies but I have no clue what caused this and how someone else would reporduce this
- Copy a value to clipboard
- Paste the value in Iterm2 terminal
- Value of the clipboard gets pasted twice
Other notes:
The reason I opened this issue here, is because I could not reproduce this issue in any other application, which to me implied it had to be this. Additionally, I can verify the contents of the clipboard in the advanced paste section. However when I go to actually paste the values i get this:
.
Interestingly enough, when using the pbcopy
and pbpaste
commands it works fine, but sometimes I dont always want to chain the entirety of stdout to the next command so it still significantly impacts my workflow.
What happened
Value copied to clipboard. Verified contents of the clipboard in other application. Pasted contents of clipboard in Iterm2. Expecting 1x the quantity of the clipboard, instead, it pastes 2x the quanitity of clipboard, back to back with no characters in between.
Another thing that is interesting, is immediately after the paste goes through, the terminal hangs for a second or two. I tried to bypass this issue by reverting to an old stable version (3.4.10), and when that didnt work, tried the beta as well: 3.5.x (forget what it is, after it didnt work uninstalled it). I additionally tried but just updating to latest, which I think is 3.4.22 but that didnt work either.
What should have happened
Pasting works as expected. Again this only happenes in Iterm2.