conhost: right click paste randomly stops working #23887

Closed
opened 2026-01-31 08:55:09 +00:00 by claunia · 8 comments
Owner

Originally created by @0wwafa on GitHub (Dec 17, 2025).

This is a weird issue.
After a while using ConPTY (I use it with WSL 1 and Windows Command Prompt) the right mouse button "paste" does not work. Only CTRL-V (or from the menu does).

I don't know how to replicate it it because sometimes it happens pretty soon, other times it happens after some time.

Originally created by @0wwafa on GitHub (Dec 17, 2025). This is a weird issue. After a while using ConPTY (I use it with WSL 1 and Windows Command Prompt) the right mouse button "paste" does not work. Only CTRL-V (or from the menu does). I don't know how to replicate it it because sometimes it happens pretty soon, other times it happens after some time.
Author
Owner

@DHowett commented on GitHub (Dec 18, 2025):

Huh, that's weird! Which terminal are you using ConPTY to host in?

@DHowett commented on GitHub (Dec 18, 2025): Huh, that's weird! Which terminal are you using ConPTY to host in?
Author
Owner

@0wwafa commented on GitHub (Dec 30, 2025):

Huh, that's weird! Which terminal are you using ConPTY to host in?

WSL1 bash. but it happens also with cmd.exe

It happens randomly after pasting a big chunk of text.

@0wwafa commented on GitHub (Dec 30, 2025): > Huh, that's weird! Which terminal are you using ConPTY to host in? WSL1 bash. but it happens also with cmd.exe It happens randomly after pasting a big chunk of text.
Author
Owner

@DHowett commented on GitHub (Dec 31, 2025):

Awesome. And which Terminal Emulator are you using ConPTY from?

@DHowett commented on GitHub (Dec 31, 2025): Awesome. And which Terminal Emulator are you using ConPTY from?
Author
Owner

@0wwafa commented on GitHub (Jan 6, 2026):

Awesome. And which Terminal Emulator are you using ConPTY from?

I am using it like this:
I:\OpenConsole.exe C:\Windows\System32\bash.exe ~

and:
I:\OpenConsole.exe %windir%\system32\cmd.exe

Actual version: 1.24.2512.16004

@0wwafa commented on GitHub (Jan 6, 2026): > Awesome. And which Terminal Emulator are you using ConPTY from? I am using it like this: `I:\OpenConsole.exe C:\Windows\System32\bash.exe ~` and: `I:\OpenConsole.exe %windir%\system32\cmd.exe` Actual version: **[1.24.2512.16004](https://github.com/microsoft/terminal/releases/download/v1.24.3504.0/Microsoft.Windows.Console.ConPTY.1.24.251216004-preview.nupkg)**
Author
Owner

@DHowett commented on GitHub (Jan 6, 2026):

Ah, I see! Thanks.

ConPTY is intended for terminal emulator authors who are trying to host Windows Console applications on Windows. It is not intended for use as a standalone console.

@DHowett commented on GitHub (Jan 6, 2026): Ah, I see! Thanks. ConPTY is intended for terminal emulator authors who are trying to host Windows Console applications on Windows. It is not intended for use as a standalone console.
Author
Owner

@DHowett commented on GitHub (Jan 7, 2026):

This might result in a long trace or a large trace file, but would you be able to run a trace next time you try to repro this bug? It would help us track the console state transitions.

@DHowett commented on GitHub (Jan 7, 2026): This might result in a long trace or a large trace file, but would you be able to run [a trace](https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#capturing-a-debug-etl-trace) next time you try to repro this bug? It would help us track the console state transitions.
Author
Owner

@DHowett commented on GitHub (Jan 7, 2026):

Please note that any trace you generate this way may capture your input and your output for all console sessions in active use on the system, so... you know. Act accordingly.

@DHowett commented on GitHub (Jan 7, 2026): Please note that any trace you generate this way may capture your input and your output for all console sessions in active use on the system, so... you know. Act accordingly.
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Jan 11, 2026):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@microsoft-github-policy-service[bot] commented on GitHub (Jan 11, 2026): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23887