wslg icon indicating copy to clipboard operation
wslg copied to clipboard

Copying to the system clipboard from WSL works, but doesn't update `Win+v`

Open ferdinandyb opened this issue 1 year ago • 0 comments

Windows build number:

Microsoft Windows [Version 10.0.22631.3447]

Your Distribution version:

Release: 22.04

Your WSL versions:

WSL version: 2.1.5.0 Kernel version: 5.15.146.1-2 WSLg version: 1.0.60 MSRDC version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.3447

Steps to reproduce:

Copy text from WSL to clipboard: echo "testing" | wl-copy or echo "testing" | xclip -selection c. Observe that Ctrl-v will paste the just copied text, but not show in the clipboard history accessed by win+v

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

The copied text is inserted into the clipboard history.

Actual behavior:

I can use both xclip -selection c or wl-copy to put text on the clipboard, and it actually does paste with Ctrl+v, but it does not show up in the clipboard history that can be accessed with Win+v. If I use /mnt/c/Windows/System32/clip.exe that does show up.

ferdinandyb avatar May 17 '24 10:05 ferdinandyb