-
-
Notifications
You must be signed in to change notification settings - Fork 200
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] globalShortcut Ctrl+Space
is invalid when NumLock is on
#537
[bug] globalShortcut Ctrl+Space
is invalid when NumLock is on
#537
Comments
Please turn on NumLock, run |
The |
Thanks for filing an issue, it made me aware of this weird X11 behavior. Apparently, in X11, The bug is that we use the value of |
#538 should fix this. If you want to test the fix, add this to your Edit: the fix is now part of the dev branch [patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao", branch = "dev" } |
It doesn't work. Is there some thing wrong with my config? Cargo.toml:
Cargo.lock:
tauri info:
|
can you try the git clone https://github.com/tauri-apps/tao
cd tao
cargo r --example global_shortcut |
I run the example, and the problem is still there. |
Thanks for testing, looks like the bug is not resolved just yet. I will repoen #307 to track this. |
Describe the bug
globalShortcut
Ctrl+Space
is invalid when NumLock is on, but it works well when NumLock is off.Reproduction
js code:
Expected behavior
globalShortcut works when NumLock is on
Platform and versions
Environment
› OS: Ubuntu 20.04 X64
› Node.js: 16.16.0
› npm: 8.11.0
› pnpm: 6.11.0
› yarn: 1.22.15
› rustup: 1.25.1
› rustc: 1.62.1
› cargo: 1.62.1
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
› @tauri-apps/cli [NPM]: 1.0.5
› @tauri-apps/api [NPM]: 1.0.2
› tauri [RUST]: 1.0.5,
› tauri-build [RUST]: 1.0.4,
› tao [RUST]: 0.12.2,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/
› framework: Vue.js
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: