-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key remapping using xkbd options broke with the keybinding changes in 1.11 #24220
Comments
Same issue here! |
This interferes with any custom keyboard layout mapping for X11 using e.g. xmodmap. For instance, remappings that fix inappropriate/broken keyboard layouts. The key-mappings remain available across the bulk of MSCode (dialogs, etc), but not in the text editor window. (I'm on Kubuntu 16.10 w/ MSCode 1.11.0) Test case (assumes a regular US-english keyboard layout): Now your right-control key should be remapped to act like the End key (test to be sure before proceeding, if not, use xev to discover the keycode of your right-control key). Start MSCode, open a text file and you'll find it doesn't act as an End key in the text editor. |
@mcfletch Confirmed here.. I use xmodmap to map my esc key to caps lock. Edit: Also, I can confirm that the remap does work in other vscode dialogs. Just not the editor. Distro: Arch Linux |
Is this all with U.S. English keyboard layouts? |
@chrmarti the keyboard layout shouldn't change the behaviour, it just controls the keycode's used in setting up the test case for replication. In my case, yes, us-english XPS 15. |
I just want to add that this also affects the default Colemak keyboard layout on Ubuntu 16.04, which assigns the caps lock key to backspace. I'm not sure how Ubuntu handles that under the hood, but it's at least another datapoint to check. |
Also having the same problem as @Wehrdo, but on Arch Linux with Cinnamon. |
Affects Swiss and US keyboard layouts here. |
It may already be known, but I bisected through 1.10.2 and 1.11.1 and found out that commit d102396 introduced this problem. |
Duplicate of #23991. A workaround is detailed in #23991 (comment) |
I originally commented in #24057 but was told to open a separate issue.
I use the xkb option
caps:swapescape
to map my ESC key to the caps lock key in my keyboard layout because I like to use Vim mode for editing in VSCode. Since 1.11.0 VSCode caps lock does nothing (not even switch capitalization). The ESC key actually acts as an ESC key in VSCode but switches captitalization.Since 1.11 can now read the keyboard layout it probably just does not handle options on it and therefore gets the key mapping wrong.
The text was updated successfully, but these errors were encountered: