tao: [bug] Global shortcuts are never triggered on Linux
Describe the bug
Even using API example it’s possible to register global shortcut, but it never triggers on linux This line never reached.
Reproduction
Compile latest tauri (git commit 46f2eae8aad7c6a228eaf48480d5603dae6454b4) and run api example as per readme. Observe lack of global shortcut trigger - both JS and Rust examples don’t work.
Expected behavior
Shortcut triggered - from JS and Rust
Platform and versions
Operating System - Pop!_OS, version 20.04 X64
Stack trace
No response
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 32 (21 by maintainers)
Commits related to this issue
- Revert "Implement global shortcut on Linux, close #307 (#308)" This reverts commit 9c2841f7f5382e92efaa8b7bb137d8d30f3e0338. — committed to tauri-apps/tao by deleted user 2 years ago
- Revert "Implement global shortcut on Linux, close #307 (#308)" This reverts commit 9c2841f7f5382e92efaa8b7bb137d8d30f3e0338. — committed to tauri-apps/tao by deleted user 2 years ago
- Revert "Implement global shortcut on Linux, close #307 (#308)" (#330) This reverts commit 9c2841f7f5382e92efaa8b7bb137d8d30f3e0338. — committed to tauri-apps/tao by deleted user 2 years ago
- fix(linux/globalShorcut): extract needed mods from event state, closes #307, closes #537 — committed to tauri-apps/tao by amrbashir 2 years ago
- fix(linux/globalShorcut): extract needed mods from event state, closes #307, closes #537 — committed to tauri-apps/tao by amrbashir 2 years ago
- fix(linux/globalShortcut): grab the shortcut with extra mods, closes #307 — committed to tauri-apps/tao by amrbashir 2 years ago
A new fix is up in tauri-apps/tao#540, please test and give feedback, I will not merge it this time until I get confirmation.
@AlexMikhalev @beyondlov1
Edit: fix is now part of
devbranch@AlexMikhalev We released the first rc version yesterday 🥳
@AlexMikhalev i think you need to re-build the api package (
cd tooling/api && yarn && yarn build). This is unrelated to this tao change tho, and caused by the huge audit changes.Hurrah! I am going to test tonight.