This is a known issue tauri v1 on Ubuntu 24. See issue here.
I believe the only official solution is to use tauri v2. The issue describes some workarounds.