tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
82.37k stars 2.47k forks source link

Turning on `unstable` feature breaks keyboard shortcuts for text manipulation [bug] [beta] #9257

Open kurtbuilds opened 6 months ago

kurtbuilds commented 6 months ago

Describe the bug

When you create a new app, and then turn on the unstable feature, the keyboard shortcuts for text manipulation (cmd a, cmd c, cmd v) no longer trigger. The actions can still be triggered by using the system menu bar.

Reproduction

  1. Create a new tauri app (e.g. create-tauri-app --beta)
  2. Enable the unstable feature on crate tauri = 2.0.0-beta.13

Keyboard shortcuts for text manipulation (cmd a, cmd c, cmd v) don't work.

Expected behavior

They do work.

Full tauri info output

[✔] Environment
    - OS: Mac OS 13.5.2 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.0 (aedd173a2 2024-03-17)
    ✔ cargo: 1.77.0 (3fe68eabf 2024-02-29)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.6.1
    - pnpm: 8.11.0
    - npm: 9.8.1

[-] Packages
    - tauri [RUST]: 2.0.0-beta.13
    - tauri-build [RUST]: 2.0.0-beta.10
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.1
    - tauri-cli [RUST]: 2.0.0-beta.11
    - @tauri-apps/api [NPM]: 2.0.0-beta.6
    - @tauri-apps/cli [NPM]: 2.0.0-beta.11

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace

No response

Additional context

No response

reyamir commented 6 months ago

I've same issue, Command + Q or Command + [any key] is not work

pewsheen commented 6 months ago

Could be this one https://github.com/tauri-apps/wry/issues/1177