microsoft / wslg

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

Detached windows cannot be used (e.g. in gimp) #958

Open castorfou opened 1 year ago

castorfou commented 1 year ago

Windows build number:

10.0.19044.0

Your Distribution version:

22.04

Your WSL versions:

Version WSL : 1.0.3.0 Version du noyau : 5.15.79.1 Version WSLg : 1.0.47 Version MSRDC : 1.2.3575 Version direct3D : 1.606.4 Version de DXCore : 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp version Windows : 10.0.19044.2364

Steps to reproduce:

  1. install gimp with sudo apt install gimp
  2. launch gimp
  3. on Tools tab, select detach tab image
  4. Result is a floating window, but under WSL, it is drawn but inactive: I cannot click, or move it image

and in gimp I am unable to un-detach these tabs, and then cannot use gimp anymore 😭

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

these floating windows to be usable

Actual behavior:

these floating windows are drawn but look like dead. No action can be done on them such as close, click, move, or whatever...

when I quit gimp though, these windows disappear.

castorfou commented 1 year ago

There is a workaround in gimp which is to reset window position

image

esbiete commented 1 year ago

Probably related to https://github.com/microsoft/wslg/issues/948

castorfou commented 1 year ago

yes you're right. Sorry for the duplicate