Skip to content

[email protected] / Accelerator combination doesn't work on windows 10  #14674

Closed

Description

@kwonoj
  • Output of node_modules/.bin/electron --version: Electron 3.0.0-beta.13
  • Operating System (Platform and Version): Windows 10
  • Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): Electron 2.0.9

Expected Behavior
accelerator combination ctrl-alt-i triggers menu action on windows 10.

Actual behavior
accelerator combination ctrl-alt-i does not trigger menu action on windows 10.

To Reproduce
On windows 10, clone https://github.com/kwonoj/electron-quick-start/pull/1

npm run start: try ctrl-alt-i, check output test output is printed out into console.
npm run start3: try ctrl-alt-i, check no console output printed.

Additional Information
Add any other context about the problem here.

Activity

  1. added
    app/Slack
    on Sep 19, 2018
  2. self-assigned this
    on Oct 24, 2018
  3. brenca commented on Oct 24, 2018

    @brenca
    Contributor

    Alright, so I investigated yesterday, and I thought it was about 2+ modifiers added to an accelerator, but it turns out I was just sleepy. This is happening because Ctrl+Alt is AltGr in Windows's mind, so when you set an accelerator for Ctrl+Alt it won't get triggered, because it gets checked against Ctrl+Alt+AltGr when comparing the pressed modifier buttons. I'm going to post the PR shortly.

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

Metadata

Metadata

Assignees

Labels

3-0-xapp-feedback-programapp/Slackbug 🪲platform/windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions