Skip to content

Keyboard input not working altogether #1284

@ktufekcic

Description

@ktufekcic

Windows Version

Microsoft Windows [Version 10.0.22631.4037]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.153.1-2

Distro Version

Ubuntu 22.04

Other Software

All GUI apps running through WSLg
WSLg version: 1.0.61

Also attempted with prerelease version of WSL: 2.3.17.0 and WSLg: 1.0.64

Repro Steps

The issue is pretty much identical to this one: #955
Unfortunately I wasn't able to open an issue in WSLg directly for some reason, so I had to go here, sorry about that.

I went through the steps mentioned in the link there, as well as a whole bunch of other articles online, but nothing fixed it.
I can use function keys and CTRL C/V/X/A/etc for certain actions, but I can't actually type any character.s One unique situation here is that this instance of Windows is running in an Azure VM, and I'm accessing it (usually) from Linux with Hyprland, however, I tried accessing it from Windows (multiple machines with multiple keyboard layouts), I tried changing Windows keyboard layouts, Linux locales, reconfiguring locales, setting a symlink to Windows' fonts, nothing seemed to work. Any and all help is extremely appreciated as this is a very important business usecase for which WSLg is effectively the last hope.

Regarding the reproduction steps, I'm not sure if this will be easy to reproduce, as I mentioned this is a VM, I haven't tested to see if I can replicate this behavior locally in kvm or something, but please let me know if that would help.

Install any GUI app (I tried JetBrains Toolbox/IntellliJ and Firefox) and launch it
Try to use keyboard input

Expected Behavior

Keyboard input is detected and works as expected

Actual Behavior

There is no keyboard input detected, the text fields remain blank

Diagnostic Logs

WslLogs-2024-09-11_15-40-19.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions