Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gvim: can't interact with "warning: file has changed since editing started" dialog box #17760

Copy link
Copy link

Description

@aswild
Issue body actions

Steps to reproduce

  1. Edit a file in GTK3 gvim in WSL2 using WSLg for GUI applications
  2. Change the file outside of gvim, switch apps back
  3. The warning dialog box is presented with "OK / Load File / Load File and Options" options
  4. 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.

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.

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

Logs and stack traces

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.