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

Shortcut SPACE does not work on Windows10 #2653

Closed
lisiur opened this issue Sep 24, 2021 · 1 comment
Closed

Shortcut SPACE does not work on Windows10 #2653

lisiur opened this issue Sep 24, 2021 · 1 comment

Comments

@lisiur
Copy link
Contributor

lisiur commented Sep 24, 2021

Describe the bug

Hotkey SPACE does not work on Windows10

To Reproduce

Steps to reproduce the behavior:

// works
if (!(await globalShortcut.isRegistered("ALT+4"))) {
    await globalShortcut.register("ALT+4", () => console.log(1));
}

// does not work
// and there is an error in console: Uncaught (in promise) runtime error: Unable to register accelerator (unknown VKCode for this char).
if (!(await globalShortcut.isRegistered("ALT+SPACE"))) {
    await globalShortcut.register("ALT+SPACE",  () => console.log(2));
}

Platform and Versions (required):

tauri info failed... so i can't paste full tauri info logs:

Operating System - Windows, version 10.0.19043 X64
Webview2 - 93.0.961.52

Node.js environment
  Node.js - 14.15.4
  @tauri-apps/cli - 1.0.0-beta.10
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected character 't' while parsing major version number")', src\info.rs:323:53
@lucasfernog
Copy link
Member

Will be available on the next release. Fix: tauri-apps/tao#209

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

No branches or pull requests

2 participants