tauri
tauri copied to clipboard
[bug] The window appears white on Windows
Describe the bug
The window will appear white under the following conditions.
- Enabling unstable feature
- Using wry crate v0.39.4 or higher
However, if you resize the window, it will display correctly.
Reproduction
https://github.com/kanatapple/tauri-beta-19-app
I just enabled the unstable feature of the app I created with create tauri-app
Expected behavior
Window displays correctly without resizing.
Full tauri info output
[✔] Environment
- OS: Windows 10.0.19045 X64
✔ WebView2: 124.0.2478.80
✔ MSVC:
- Visual Studio Professional 2017
- Visual Studio Professional 2019
✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
✔ cargo: 1.77.2 (e52e36006 2024-03-26)
✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.11.0
- yarn: 1.22.11
- npm: 10.2.4
[-] Packages
- tauri [RUST]: 2.0.0-beta.19
- tauri-build [RUST]: 2.0.0-beta.15
- wry [RUST]: 0.39.5
- tao [RUST]: 0.28.0
- tauri-cli [RUST]: 1.2.3
- @tauri-apps/api [NPM]: 2.0.0-beta.11
- @tauri-apps/cli [NPM]: 2.0.0-beta.17
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- bundler: Vite
Stack trace
No response
Additional context
No response