[bug] maximized window config causes black flash on launch
mr-zwets opened this issue · 1 comments
mr-zwets commented
Describe the bug
I have encountered an issue with the maximized
window setting where this causes a black flash on application launch.
It only happens sometimes and the black flash is always on the right hand part of the screen:
Here is a screen recording:
tauri-bug.mp4
Reproduction
Here is a repo with the default tauri-vue app which has just one setting changed:
in tauri.conf.json
I added "maximized": true
https://github.com/mr-zwets/tauri-test
If reproduction is not possible on the first try, re-open the app multiple times again, as the bug only happens part of the time.
Expected behavior
I expect the maximized window not to cause a black flash
Full tauri info
output
[✔] Environment
- OS: Windows 10.0.22631 x86_64 (X64)
✔ WebView2: 129.0.2792.79
✔ MSVC: Visual Studio Community 2022
✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.18.0
- yarn: 1.22.22
- npm: 10.8.2
[-] Packages
- tauri 🦀: 2.0.2
- tauri-build 🦀: 2.0.1
- wry 🦀: 0.44.1
- tao 🦀: 0.30.3
- @tauri-apps/api : 2.0.2
- @tauri-apps/cli : 2.0.2
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.1
- @tauri-apps/plugin-shell : 2.0.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist/spa
- devUrl: http://localhost:9000/
- framework: Vue.js (Quasar)
- bundler: Vite
Stack trace
/
Additional context
No response