Copy pasting from WSLg stopped working lately #19263

Open
opened 2026-01-31 06:38:23 +00:00 by claunia · 3 comments
Owner

Originally created by @ophers on GitHub (Jan 26, 2023).

Windows Terminal version

1.15.3466.0

Windows build number

10.0.22000.1455

Other Software

Microsoft store WSL + WSLg:
C:\Users\ophers>wsl --version
WSL version: 1.0.3.0
Kernel version: 5.15.79.1
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1455

Clink: v1.4.13.0066c6

Steps to reproduce

  1. I open Eclipse CDT (latest) from within a WSL terminal window (running CentOS 7).
  2. I copy text from Eclipse.
  3. Trying to paste to the WSL terminal window fails - nothing pasted.
  4. Also nothing pasted to ANY Windows Terminal tab I open (CMD, Powershell, etc.),
    neither to a new Terminal window I open.

Expected Behavior

Text is pasted to the terminal window.

Actual Behavior

Nothing pasted.

But, it will paste to:

  1. The find box of Windows Terminal
    image
  2. To a conhost.exe windows started from windows "Run" bar.
    image
  3. To Notepad
Originally created by @ophers on GitHub (Jan 26, 2023). ### Windows Terminal version 1.15.3466.0 ### Windows build number 10.0.22000.1455 ### Other Software Microsoft store WSL + WSLg: C:\Users\ophers>wsl --version WSL version: 1.0.3.0 Kernel version: 5.15.79.1 WSLg version: 1.0.47 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22000.1455 Clink: v1.4.13.0066c6 ### Steps to reproduce 1. I open Eclipse CDT (latest) from within a WSL terminal window (running CentOS 7). 2. I copy text from Eclipse. 3. Trying to paste to the WSL terminal window fails - nothing pasted. 4. Also nothing pasted to ANY Windows Terminal tab I open (CMD, Powershell, etc.), neither to a new Terminal window I open. ### Expected Behavior Text is pasted to the terminal window. ### Actual Behavior Nothing pasted. #### But, it will paste to: 1. The find box of Windows Terminal ![image](https://user-images.githubusercontent.com/11839190/214826717-c09756f2-cae9-48b3-a162-79e42a2bba99.png) 2. To a `conhost.exe` windows started from windows "Run" bar. ![image](https://user-images.githubusercontent.com/11839190/214826991-5dcd9819-df97-45c5-aba6-861e99a03c31.png) 3. To `Notepad`
Author
Owner

@ophers commented on GitHub (Jan 26, 2023):

The behavior seems similar to #14323

@ophers commented on GitHub (Jan 26, 2023): The behavior seems similar to #14323
Author
Owner

@zadjii-msft commented on GitHub (Feb 1, 2023):

Could you share your settings.json file?

@zadjii-msft commented on GitHub (Feb 1, 2023): Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)?
Author
Owner

@ophers commented on GitHub (Feb 10, 2023):

settings.json.txt

@ophers commented on GitHub (Feb 10, 2023): [settings.json.txt](https://github.com/microsoft/terminal/files/10709467/settings.json.txt)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19263