microsoft / microsoft/wslg

Right shift key not detected by wslg

Open
#930 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Windows build number:

Windows 10.0.19045.2364

Your Distribution version:

20.04

Your WSL versions:

WSL version: 1.0.3.0
Kernel version: 5.15.79.1
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.2364

Steps to reproduce:
  1. Open gedit/emacs with windows terminal
  2. Type while holding the right shift key
Expected behavior:

Letters should be capitalized when right shift key is pressed.

Actual behavior:

Letters are not capitalized when right shift key is pressed. Other keys behave properly. Left shift key and caps lock properly capitalize letters. Left shift key properly produced lower case letters when pressed while caps lock is on, but right shift key has no effect when caps lock is on.
Right shift key behaves properly outside WSLg, such as while in the wsl terminal.
Everything works fine if I use VcXsrv instead of WSLg
image

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

Reproduce the issue in gedit or emacs launched with Windows Terminal, then compare WSLg with VcXsrv and the WSL terminal, as described in the report. Investigate the keyboard-input path responsible for right Shift and verify that capitalization and Caps Lock interactions match the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
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.