tauri
tauri copied to clipboard
[bug] White window on prod build on Linux
Describe the bug
When opening production build of tauri in Linux the window is completly white. on cargo tauri dev it works normally and the window responsive. environemnt is ubuntu 22.04.3 LTS
and WAYLAND
Reproduction
Build any app of tauri or the one I used vibe and start it's appImage
Expected behavior
The window should open normally and be responsive
Full tauri info
output
[✔] Environment
- OS: Ubuntu 22.04 X64
✔ webkit2gtk-4.0: 2.42.4
✔ rsvg2: 2.52.5
✔ rustc: 1.75.0 (82e1608df 2023-12-21)
✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
- node: 20.7.0
- npm: 10.1.0
- bun: 1.0.3
[-] Packages
- tauri [RUST]: 1.5.4
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.5
- tauri-cli [RUST]: 1.5.9
- @tauri-apps/api : not installed!
- @tauri-apps/cli [NPM]: 1.5.9
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: React
Stack trace
No response
Additional context
https://discord.com/channels/616186924390023171/1198765010558664704 WAYLAND!
hi, does right clicking on the window open the context menu? (Trying to find out whether the whole webview process crashed)
Also, can you delete the ~/.cache/tauri
folder and build again? I reverted a small appimage bundler change that was indeed wayland specific and if the cached files are still from before that change it could cause issues like this i think.
Right clicking doesn't open context menu.
Deleting ~/.cache/tauri
didn't helped.
I found that it happens only with appImage
and it doesn't happen with .deb
package which I install.
appImage
Log:
/home/user/Documents/vibe/target/release/bundle/appimage/vibe_0.0.4_amd64.AppImage
GStreamer element autoaudiosink not found. Please install it
(WebKitWebProcess:44570): GLib-GObject-WARNING **: 15:42:47.268: invalid (NULL) pointer instance
(WebKitWebProcess:44570): GLib-GObject-CRITICAL **: 15:42:47.268: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
when starting installed .deb
app there's no log output so I didn't added.
You can see it here vibe/releases