sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
812 stars 39 forks source link

[Windows] Missing keyboard handling for left \ (backslash) or | key (pipe) with modifiers keys as Ctrl+Shift+\ #2901

Open evandrocoan opened 5 years ago

evandrocoan commented 5 years ago

Description

I am sure there is not application on my computer stealing these keys combinations.

Both running Sublime Text as normal user or administrator has the same effect one Windows (https://forum.sublimetext.com/t/sublime-blocks-media-keys-when-in-focus-no-support-received/36959/13). In a Linux Virtual Machine on the Windows Host Computer, everything works fine while running Sublime Text.

  1. image
  2. Keyboard Model: http://translate.google.com.br/translate?hl=pt-BR&sl=pt&tl=en&u=http%3A%2F%2Fsuporte.multilaser.com.br%2Fdownloads%2Fdetalhe%2FTC123%2F

On Linux

  1. I opened up a Virtual Machine on the Windows Host Computer (where my keyboard on the picture is on)
  2. Opened Sublime Text and all keyboard events for that key are working 100% (with the same keyboard)
    chr evt: | (0x7c)
    key evt: alt+\
    key evt: shift+control+alt+\
    key evt: shift+alt+\
    key evt: control+\
    key evt: alt+\

On Windows

Only one keyboard combination is showing up Ctrl+\ (for the key in the picture above), but event is chr evt:  (0x1c) which is completely different than the expected control+\ as showed in the Linux Virtual Machine.

Just clarifying, the problem is for the key combinations as Ctrl+\. Just pressing the \ or Shift+\ correctly produces \ and | respectively.

Environment

BenjaminSchaaf commented 5 years ago

Shot in the dark, but did you happen to have a open file dialog open while seeing this behavior?

evandrocoan commented 5 years ago

I do not have it open.