Skip to content
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

Cannot override chrome hotkeys on windows #114

Open
bergermanuel opened this issue Aug 7, 2019 · 1 comment
Open

Cannot override chrome hotkeys on windows #114

bergermanuel opened this issue Aug 7, 2019 · 1 comment
Assignees

Comments

@bergermanuel
Copy link

We're using this library for hotkey support in our application but we're struggling with some special hotkeys. For example we add "ctrl+n" as an hotkey but on Windows pressing these keys will always open a new browser window of Chrome. When we test it on Mac it works well.

We're just calling add on HotkeyService with an hotkey instance. Are we missing something or is it not really possible to overwrite these shortcuts?

@wittlock
Copy link
Collaborator

wittlock commented Aug 7, 2019

Certain hotkeys used by the browser is just never passed on to the web application and can thus not be caught. Similar with Ctrl + number on Chrome and Firefox (used for switching tabs). I'm not too familiar with Macs, but I assume Ctrl + n is not how to open a new window there.

There just isn't much that can't be done about that I'm afraid. I should probably update the documentation to reflect this as you're not the first person asking about it.

@wittlock wittlock self-assigned this Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants