microsoft / microsoft/vscode

VS Code doesn't handle KDE remap of Ctrl, Caps Lock properly

Open
#334,850 0 comments 1 reaction 1 assignee Claimed by @ulugbekna View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.136.1
- OS Version: Fedora 44, KDE Spin (Plasma 6.7.4)

# Steps to Reproduce:

1. Configure swap of control key and caps lock by opening System Settings > Keyboard > choose keyboard > Key Bindings > Ctrl position > check "Swap Ctrl and Caps Lock"
2. Open a file in VS Code
3. Attempt to perform a two key chord (e.g. Ctrl-K, Ctrl-T, using Caps Lock as control)
4. Observe message in status bar showing that Caps Lock is being treated both as the control key and as its own key ("Ctrl+CapsLock")

Image

# Expected behavior

CapsLock should not be read as the second key of the second chord. It should wait for the second key press.

# Actual Behavior

CapsLock is being read both as the control key and as its own key.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.