microsoft / wslg

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

popups in `gnome-text-editor` won t disappear under wayland #1265

Open lictex opened 4 months ago

lictex commented 4 months ago

Windows build number:

22631.3737

Your Distribution version:

openSUSE Tumbleweed 20240702

Your WSL versions:

WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.22631.3737

Steps to reproduce:

  1. start gnome-text-editor under wayland
  2. click any menu button on the top bar
  3. repeat 2.

WSL logs:

pulseaudio.log weston.log stderr.log versions.txt wlog.log

WSL dumps:

empty

Expected behavior:

No response

Actual behavior:

closing an opened popup will not make it disappear the popup surface only moves behind the window

and the app will (occasionally) get segfault when clicking any menu button

https://github.com/microsoft/wslg/assets/13201009/96a31acf-79f8-4a4b-abd5-887e2139dc11

nautilus has the same issue (all apps using gtk4 maybe..?)

but all they work fine under x11 (by set GDK_BACKEND=x11 or an empty WAYLAND_DISPLAY)

ofseed commented 2 months ago

Some issue, I also tried gkt4-demo and reproduced it.

ofseed commented 2 months ago

After some tests, I found this issue occurs between gtk4 version 4.10.3 and 4.12.3.

And when this issue occurs, there's this line in weston.log

[03:15:34.513] Client: ClientGetAppidReq: WindowId:0xa0 does not have appId, or not top level window.