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

Most upvoted comments

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

[patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao", branch = "dev" }

Edit: fix is now part of dev branch

@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.