tauri-apps / tauri

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

[bug] 'webkitdirectory' property will make app crashed #8496

Open yawntee opened 10 months ago

yawntee commented 10 months ago

Describe the bug

<input type="file" multiple directory="true" webkitdirectory>

When running on Administrator permission, the app will crash after clicking this element. e01076169aca697188788cacc3411a54

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 115.0.1901.188
    ✔ MSVC: 
        - Visual Studio 15 生成工具 2017
        - Visual Studio 生成工具 2022
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.18.0
    - pnpm: 8.12.1
    - yarn: 1.22.21
    - npm: 10.2.5

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.4
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:3000/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

No response

cijiugechu commented 10 months ago

It seems like a bug from webview2.

amrbashir commented 10 months ago

@yawntee, in the future please refrain from opening multiple issues for the same bug as it makes it harder for us to maintain and harder for users to find the relative discussion later on. If the issues was closed, we can still re-open it if necessary but we might be slow to do so if we are way for vactaions and holidays.

yawntee commented 10 months ago

@yawntee, in the future please refrain from opening multiple issues for the same bug as it makes it harder for us to maintain and harder for users to find the relative discussion later on. If the issues was closed, we can still re-open it if necessary but we might be slow to do so if we are way for vactaions and holidays.

I am sorry. To be honest, it is my first to send issue.