You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #1891
This is still an issue for me, on Windows 11:
The Windows modal warning sound is heard whenever Tauri app starts, upon the first click into the app window.
This is slightly annoying because it draws attention to it and makes the user think "something is wrong" (even just a little, because if a sound gets played, it should be for a reason, otherwise there's no need to divert the user's attention).
Steps to reproduce:
PS D:\dev\proj> cargo create-tauri-app
✔ Project name · tauri-leptos-app
✔ Identifier · com.tauri-leptos-app.app
✔ Choose which language to use for your frontend · Rust - (cargo)
✔ Choose your UI template · Leptos - (https://leptos.dev/)
Template created! To get started run:
cd tauri-leptos-app
cargo tauri android init
For Desktop development, run:
cargo tauri dev
For Android development, run:
cargo tauri android dev
PS D:\dev\proj> cd .\tauri-leptos-app\
PS D:\dev\proj\tauri-leptos-app> cargo tauri dev
The app window opens
Now click anywhere into the app window
The Windows modal warning sound gets played
(Not sure what the right name for this sound is, it's the sound you usually hear when you click outside of a modal dialog, to make you realize that it wants you to interact with the modal dialog instead of anything behind it.)
Even though this sound is only heard on the first click into the app window after the app starts, it's still slightly annoying and an unnecessary drain on the user's attention.
Note that this also happens in release builds, e.g. with cargo tauri build and then running .\target\release\tauri-leptos-app.exe.
The text was updated successfully, but these errors were encountered:
Boscop
changed the title
Windows modal warning sound is heard whenever Tauri app starts
Windows modal warning sound is heard whenever Tauri app starts, upon first click into app window
Oct 5, 2024
This may sound super random but are you using a rare-iah or custom keyboard input layout? I've also had this problem but with Electron apps (and iirc Firefox too but not Tauri?) back when I used the eurkey layout.
@FabianLars I'm using EurKey. I don't think it's rare, it's even included in Linux, but I'm using it on Windows :)
Why would that be a problem / cause this issue? 🤔
Btw, I don't have this issue with Electron apps like Slack or Discord or VSCode.
I have no idea why it's an issue but I dropped eurkey in favor of a diy layout (which funnily enough had the same issue on the first try) with minimal changes (I really just needed äöü with an US keyboard).
iirc I wasn't the only one with this issue (reddit?) and pretty sure it only happened on Windows.
What's weird is that the apps/frameworks are different for you and me. Or maybe it changed with a Windows update after I switched idk 🤔
Anyway, I couldn't figure out the issue back then and still have no clue so I hope someone else does have an idea.
Oh btw, just to make sure it's actually related, can you try it with a standard layout? It may be pure coincidence that you're also using eurkey, especially since only tauri apps are affected on your end.
Follow-up to #1891
This is still an issue for me, on Windows 11:
The Windows modal warning sound is heard whenever Tauri app starts, upon the first click into the app window.
This is slightly annoying because it draws attention to it and makes the user think "something is wrong" (even just a little, because if a sound gets played, it should be for a reason, otherwise there's no need to divert the user's attention).
Steps to reproduce:
(Not sure what the right name for this sound is, it's the sound you usually hear when you click outside of a modal dialog, to make you realize that it wants you to interact with the modal dialog instead of anything behind it.)
Even though this sound is only heard on the first click into the app window after the app starts, it's still slightly annoying and an unnecessary drain on the user's attention.
Note that this also happens in release builds, e.g. with
cargo tauri build
and then running.\target\release\tauri-leptos-app.exe
.The text was updated successfully, but these errors were encountered: