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

[bug] Numpad keys cannot be bind with globalShortcut key #7543

Closed
ddemile opened this issue Aug 2, 2023 · 1 comment
Closed

[bug] Numpad keys cannot be bind with globalShortcut key #7543

ddemile opened this issue Aug 2, 2023 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@ddemile
Copy link

ddemile commented Aug 2, 2023

Describe the bug

When i try to register a globalShortcut including for example Numpad1 or 1 it's not working, i have this error:
Uncaught (in promise) Unable to register accelerator (unknown VKCode for this char).

Reproduction

Try to register a shortcut including a numpad key (example: Ctrl+Numpad1)

Expected behavior

No response

Platform and versions

[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 115.0.1901.188
    ✔ MSVC:
        - Visual Studio Build Tools 2017
        - Visual Studio Community 2022
    ✔ rustc: 1.71.0 (8ede3aae2 2023-07-12)
    ✔ Cargo: 1.71.0 (cfd3bbd8f 2023-06-08)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.12.1
    - npm: 8.19.2

Stack trace

No response

Additional context

No response

@amrbashir
Copy link
Member

Closing as this should be fixed in v2 with the global-shortcut plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants