microsoft / microsoft/wslg

Alt key gets stuck

Open
#899 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
11.9k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

Windows build number:

[Version 10.0.22000.1219]

Your Distribution version:

22.10

Your WSL versions:

Output of "wsl -l -v" (without quotes):

NAME STATE VERSION

  • Ubuntu-Preview Running 2

Steps to reproduce:

Install emacs with GUI support.
Launch Emacs by running "emacs &" from a terminal.
Then, switch between the emacs window and other windows, typing "Alt+Tab" chord.

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

Emacs works fine when its window gets the focus.

Actual behavior:

Emacs behaves as if the Alt key was pressed.
To restore normal behavior, I have to press the Alt key one time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the reported emacs & entry point while switching focus with Alt+Tab on the listed WSL and Windows versions. There are no files or tests named in the report; done means Emacs no longer behaves as though Alt remains pressed after it regains focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, emacs
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.