You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit a file in GTK3 gvim in WSL2 using WSLg for GUI applications
Change the file outside of gvim, switch apps back
The warning dialog box is presented with "OK / Load File / Load File and Options" options
I'm unable to click any of the dialog box options or otherwise interact with it. I can press keyboard shortcuts like l to select options.
This is a regression from patch 9.1.0881 in #16100 - reverting the patch, or replacing GDK_WINDOW_TYPE_HINT_POPUP_MENU with GDK_WINDOW_TYPE_HINT_DIALOG fixes the issue for me.
WSL2 environment using WSLg and wayland and the GTK3 GUI build.
Windows 11 24H2
WSL version 2.6.0.0
WSLg version 1.00.66
Linux distro inside WSL is Ubuntu 24.04 with GTK 3.24.41
I haven't yet had a chance to test this on a true Linux desktop system. I'm not entirely sure whether this is really a bug with vim or with the WSLg stack.
Steps to reproduce
lto select options.This is a regression from patch 9.1.0881 in #16100 - reverting the patch, or replacing
GDK_WINDOW_TYPE_HINT_POPUP_MENUwithGDK_WINDOW_TYPE_HINT_DIALOGfixes the issue for me.demo video demonstrating the issue: https://github.com/user-attachments/assets/d64f7165-18a8-451e-bf4b-3bb75f37f09f
Expected behaviour
Should be able to click buttons in the dialog box.
Version of Vim
9.1.1544 (master commit a24f5be)
Environment
WSL2 environment using WSLg and wayland and the GTK3 GUI build.
I haven't yet had a chance to test this on a true Linux desktop system. I'm not entirely sure whether this is really a bug with vim or with the WSLg stack.
Logs and stack traces