Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] hanging when showing window in windows #4251

Closed
Sheap opened this issue Jun 1, 2022 · 1 comment
Closed

[bug] hanging when showing window in windows #4251

Sheap opened this issue Jun 1, 2022 · 1 comment

Comments

@Sheap
Copy link

Sheap commented Jun 1, 2022

Describe the bug

When calling window.show() the app becomes non responsive. I have an example showing the issue here: https://github.com/Sheap/tauri-window-test

This only occurs on my windows machine. I have tested it on both linux and mac, and have no issues.

Curiously, in my application I have a splash screen set up as per the documentation, which includes calling .show() on the main window, which works without issue on all OSs, suggesting the issue is specific to secondary windows.

Reproduction

  1. clone https://github.com/Sheap/tauri-window-test on windows
  2. pnpm tauri dev
  3. press the "Toggle Popout" button
  4. The popout window will appear, but then the app will freeze (both windows)
  5. console will show the print statements from before the show call, and none after it.

Expected behavior

The app to remain responsive

Platform and versions

Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 101.0.1210.53
  › MSVC:
      - Visual Studio Community 2019
  › Node.js: 16.9.1
  › npm: 7.21.1
  › pnpm: 6.32.19
  › yarn: 1.22.11
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.13
  › @tauri-apps/api [NPM]: 1.0.0-rc.6
  › tauri [RUST]: 1.0.0-rc.14,
  › tauri-build [RUST]: 1.0.0-rc.12,
  › tao [RUST]: 0.9.1,
  › wry [RUST]: 0.17.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../public
  › devPath: http://localhost:8080/
  › framework: Svelte
  › bundler: Rollup

App directory structure
  ├─ .git
  ├─ .vscode
  ├─ node_modules
  ├─ public
  ├─ src
  └─ src-tauri

Stack trace

No response

Additional context

No response

@Sheap Sheap added the type: bug label Jun 1, 2022
@lucasfernog
Copy link
Member

Closed by #4392. Will be available in tauri v1.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants