tauri icon indicating copy to clipboard operation
tauri copied to clipboard

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

Open kurtbuilds opened this issue 1 year ago • 2 comments

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

kurtbuilds avatar Mar 23 '24 22:03 kurtbuilds

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

reyamir avatar Mar 25 '24 07:03 reyamir

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

pewsheen avatar Mar 27 '24 03:03 pewsheen