microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WSLg always losing focus if applications separate into different desktops

LiaoyuanSHEN opened this issue · comments

Windows build number:

10.0.22631.3593

Your Distribution version:

22.04

Your WSL versions:

WSL 版本: 2.1.5.0
内核版本: 5.15.146.1-2
WSLg 版本: 1.0.60
MSRDC 版本: 1.2.5105
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows 版本: 10.0.22631.3593

Steps to reproduce:

  1. open several windows in wsl2, in my case I was running IDEA and WebStorm
  2. create a new desktop as this guide said.
  3. drag IDEA into the new desktop
  4. now if you going to the WebStorm or IDEA, and use your mouse hover on "terminal" button and wait for the tooltips pop out.
    image
  5. then if you click the "terminal" button first time it will do nothing, and you have to click it second time the button will finally be clicked.

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

Actually the window focusing the tooltip which just pop out, so the first time click just changing the focus into the WebStorm from the tooltip. I'm not sure if this is a Windows bug or WSLg bug, but I'm using multiple desktop in native windows without any issue so I'm here to ask anyone could help me?