Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Key recognition was corrupted between Atom version 1.35.0 and 1.36.0 #19968

Open

Description

@Paalon

Prerequisites

Description

Key recognition is corrupting at least since version 1.36.0 (now 1.40.1).
I uses macOS and JIS keyboard (Japanese keyboard) computer but I changes key setting to US keyboard on OS setting and uses key remapping software: Karabiner-Elements. Some keys that are changed from original JIS setting keys doesn't recognized correctly by recent versions Atom (I can reproduce for 1.36.0-1.40.1) but older versions works fine (I checked for 1.34.0 and 1.35.0).
Even if I set to default profiles in Karabiner-Elements, the problems are still there, so I think this is not related to Karabiner-Elements.

I have not experienced the situations such that my key remapping causes problems in all other applications except recent versions Atom.

In recent versions Atom, inputting words in text file works fine but Key Binding Resolver shows wrong key and key bindings doesn't work correctly.

Examples

  • I press \ but recognized as ] in Atom Key Binding Resolver but in the text file, \ is inputted.
  • I press cmd + \ but recognized as cmd + ] in Atom Key Binding Resolver and "Toggle Tree View" doesn't work because recognized as cmd + ].

Steps to Reproduce

  1. On physical JIS keyboarded mac, change keyboard type from SystemPreference > Keyboard to US layout.
  2. Use Atom.
  3. Try the examples.

Reproduces how often:

Every time.

Versions

OS: macOS
Atom versions: 1.35.0 works fine, in 1.36.0-1.40.1, it is corrupted.

Activity

  1. Paalon commented on Sep 26, 2019

    @Paalon
    Author

    Is the related change #18864? @daviwil

  2. PrimerMediaGroup commented on Sep 26, 2019

    @PrimerMediaGroup
  3. PrimerMediaGroup commented on Sep 26, 2019

    @PrimerMediaGroup
  4. rsese commented on Oct 8, 2019

    @rsese
    Contributor

    @Paalon - we wanted to check if this could be related to Electron, can you try Atom Nightly or Atom Beta and let us know if you see the same issue?

    Both are currently on Electron 4.2.7 while Atom 1.40.1 is on Electron 3.1.10.

  5. Paalon commented on Oct 10, 2019

    @Paalon
    Author

    I can also reproduce this behavior on Atom Beta 1.41.0-beta1.

  6. Paalon commented on Mar 8, 2020

    @Paalon
    Author

    VS Code has similar behavior microsoft/vscode#88218 but the change of the setting "keyboard.dispatch": "code" to "keyboard.dispatch": "keyCode"` solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions