Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim often freezes when pasting in Windows Terminal #13645

Closed
eggbean opened this issue Aug 1, 2022 · 2 comments
Closed

Neovim often freezes when pasting in Windows Terminal #13645

eggbean opened this issue Aug 1, 2022 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@eggbean
Copy link

eggbean commented Aug 1, 2022

Windows Terminal version

1.15.2002.0

Windows build number

10.0.22621.436

Other Software

WSL version: 0.64.0.0
Kernel version: 5.10.102.1
WSLg version: 1.0.40
MSRDC version: 1.2.3213
Direct3D version: 1.601.0
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.436

NVIM v0.7.0
tmux 3.3

Steps to reproduce

(I'm not sure if this only happens on neovim, as it probably happens in vim as well - it's just that I am nearly always using neovim instead when I am on WSL)

(I'm not sure if this only happens within tmux, as I am nearly always in tmux)

I do think that this is a problem with Windows Terminal specifically.

When I paste using Shift-Insert, it often freezes Windows Terminal for 20 seconds or so and sometimes for longer. Sometimes if it keeps hanging I close the terminal and restart it. Thankfully the tmux session remains intact.

Most of the time it pastes fine with no problems, but it happens often enough to make it very irritating.

Expected Behavior

No hanging after attempting to paste in nvim.

Actual Behavior

Freezing/hanging for 30 seconds or so to indefinitely.

@eggbean eggbean added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Aug 1, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 1, 2022
@zadjii-msft
Copy link
Member

This was discussed previously at length in #11945

Neovim tries using win32yank.exe if it's available

and I suspect this is due to a bug in win32yank.exe that locks the clipboard (and then eventually, the Terminal). I'd try disabling that, and if that doesn't work, follow up in that thread. Thanks!

/dup #11945

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2022
@ghost
Copy link

ghost commented Aug 1, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Aug 1, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 1, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants