wslg icon indicating copy to clipboard operation
wslg copied to clipboard

(1.0.55 pre-release) Changing network causes all WSL windows to disappear

Open Jackenmen opened this issue 11 months ago • 74 comments

Windows build number:

10.0.19045.3086, I was able to reproduce it on 10.0.22621.1992 as well

Your Distribution version:

22.04

Your WSL versions:

WSL version: 1.3.14.0 Kernel version: 5.15.90.3-1 WSLg version: 1.0.55 MSRDC version: 1.2.4419 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25880.1000-230602-1350.main Windows version: 10.0.19045.3086

Steps to reproduce:

  1. Install the latest WSL pre-release (1.3.14 bundling WSLg 1.0.55 at the time of writing)
  2. Start any GUI application (in my repro, I'm running xclock -update 1 command from Windows Terminal but this seems to be reproducible with any app - I noticed it with Sublime Text 4 and kitty too; no matter if the app is set to use X11 or Wayland)
  3. Disconnect from Wi-Fi or, if you're using Ethernet card, disable the network adapter that connects you to the Internet in Control Panel.
  4. See that all Linux app windows disappear once the connection is stopped.

WSL logs:

WslLogs-2023-07-31_18-43-52.zip stderr.log wlog.log pulseaudio.log weston.log

WSL dumps:

No files are available in the /mnt/wslg/dumps directory.

Expected behavior:

I expect the windows of Linux apps to still be visible after I disconnect from the network.

Actual behavior:

All windows of the Linux apps disappear.

Jackenmen avatar Jul 31 '23 16:07 Jackenmen