tauri-apps/tauri

[bug] Tauri v2 file-drop does not work in OSX

Closed this issue · 1 comments

stuta commented

Describe the bug

Tauri v1 file drop works, but v2 does not fire the events. No errors anywhere.

listen('tauri://file-drop', event => {
  console.log(event)
})

Same for events file-drop-hover and file-drop-cancelled.

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 15.1.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (2024-04-24)
    ✔ Rust toolchain: 1.79-aarch64-apple-darwin (default)
    - node: 22.8.0
    - pnpm: 9.10.0
    - npm: 10.8.2
    - bun: 1.1.8

[-] Packages
    - tauri 🦀: 2.0.0-rc.14
    - tauri-build 🦀: 2.0.0-rc.11
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.0
    - @tauri-apps/api : 2.0.0-rc.5
    - @tauri-apps/cli : 2.0.0-rc.15

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : 2.0.0-rc.1

[-] App
    - build-type: bundle
    - CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

No response