Skip to content

[bug] Click event is triggered twice #2051

@serdardidan

Description

@serdardidan

Describe the bug

I followed the steps in the link below. I didn't any change the created files at all.

https://v2.tauri.app/start/create-project/

After the "npm run tauri dev" command the application worked. I clicked on the Tauri icon. Tauri link opens two web pages.

The same problem occurs in the release exe created after the "npm run tauri build -release" command.

Reproduction

Follow the steps in the link on Windows.
https://v2.tauri.app/start/create-project/

Expected behavior

https://tauri.app/ should only be opened once

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 130.0.2849.80
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.13.1
    - npm: 10.5.2

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.0
    - tao 🦀: 0.30.8
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../src

Stack trace

No response

Additional context

Windows 11 Home 23H2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions