microsoft / wslg

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

Independent GUI applications become high-coupling #1227

Open firejox opened 2 months ago

firejox commented 2 months ago

Windows build number:

Microsoft Windows [Version 10.0.19045.4291]

Your Distribution version:

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.19045.4291

Steps to reproduce:

  1. double click in startup menu to execute Thunar (xfce4 file manager)
  2. execute another GUI program through Thunar
  3. click the close button to terminate Thunar

WSL logs:

WslLogs-2024-04-12_00-24-10.zip pulseaudio.log stderr.log weston.log

WSL dumps:

No

Expected behavior:

New GUI Application should not be terminated when Thunar exit.

Actual behavior:

New GUI Application is terminated when Thunar exit.

I also tested Nautilus (gnome file manager) that has the same issue.

firejox commented 2 months ago

With video provided.

https://github.com/microsoft/wslg/assets/6823999/3a3657ac-d266-4836-91b0-eebfac4b7f95