microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.06k stars 302 forks source link

text copied from a Linux app doesn't appear on clipboard history on windows (win+v) #401

Open LuanVSO opened 3 years ago

LuanVSO commented 3 years ago

Environment

Windows build number: 10.0.22000.120
Your Distribution version: PengWin (Debian 11)
Your WSLg version: 1.0.24

Steps to reproduce

WSL logs:

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

Expected behavior

the text copied from wslg is shown on windows clipboard history

Actual behavior

there is no entry for texts copied from wslg on windows clipboard history.

lscgzwd commented 3 years ago

On my computer, Copy is ok when I restarted , but it will fail after some hours.

Craksy commented 2 years ago

On my computer, Copy is ok when I restarted , but it will fail after some hours.

This is the behaviour I'm experiencing too. I have noticed that sometimes, attempting to paste will completely freeze the application until I send a keyboard interrupt. I've had a few strange interactions between Emacs and my windows browser, where one side would hang until I interrupted the other.

It feels like whichever process handles the clipboard sharing is just stuck, and clients keep waiting for response since it didn't crash.

suyashmahar commented 2 years ago

The wsl-windows clipboard sharing works fine for me until my laptop goes to sleep. After that the clipboards are isolated. Can't copy anything between windows and wsl.

suyashmahar commented 2 years ago

Update: the clipboard bugs out after couple of minutes of restarting weston. Does anyone know where I can check logs for it?

mishka81 commented 1 year ago

does not work in Eclipse IDE too

WSL version: 1.1.3.0 Kernel version: 5.15.90.1 WSLg version: 1.0.49 MSRDC version: 1.2.3770 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.1265

lscgzwd commented 1 year ago

my new computer, still fail.