Skip to content

[example] API example is unresponsive when opening on Windows #571

Closed
@FlysoftBeta

Description

@FlysoftBeta

Hello, I'm building the official API example on my Windows machine with following commands:

git clone [email protected]:tauri-apps/plugins-workspace.git && cd plugins-workspace/examples/api
touch yarn.lock
yarn install
yarn tauri build

Click on the output executable, the window opens, but it quickly becomes unresponsive.
screenshot

Output of yarn tauri info

[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 115.0.1901.203
    ✔ MSVC: 
        - Visual Studio Community 2022
        - Visual Studio ���ɹ��� 2019
    ✔ rustc: 1.71.1 (eb26296b5 2023-08-03)
    ✔ Cargo: 1.71.1 (7f1d04c00 2023-07-29)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.17.0
    - pnpm: 8.6.12
    - yarn: 3.6.1
    - npm: 9.6.7

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.11
    - tauri-build [RUST]: 2.0.0-alpha.8
    - wry [RUST]: 0.31.0
    - tao [RUST]: 0.22.0
    - @tauri-apps/api [NPM]: 2.0.0-alpha.6
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.11

[-] App
    - build-type: bundle
    - CSP: connect-src ipc: https://ipc.localhost; default-src 'self' customprotocol: asset:; img-src 'self' asset: https://asset.localhost blob: data:; font-src https://fonts.gstatic.com; style-src 'unsafe-inline' 'self' https://fonts.googleapis.com
    - distDir: ../dist
    - devPath: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Edit: I tried calling dialog.open on a separate app, it becomes unresponsive too.🫤

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: upstreamThis issue needs to be fixed in an upstream project

    Type

    No type

    Projects

    Status

    📬Proposal

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions