CommunityToolkit / Maui

The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier

Home Page:https://learn.microsoft.com/dotnet/communitytoolkit/maui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] [Windows] SpeechToText stops listening after switching windows

lostmsu opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

App stops listening after switching windows (even if switched back later)

Expected Behavior

App should continue listening in background

Or at least resume listening when reactivated

Steps To Reproduce

  1. Open MAUI samples project
  2. Launch it on "Windows Machine"
  3. Open "Essentials" -> "SpeechToText"
  4. Click "StartListenAsync"
  5. Say "Hello" - text appears under Language Output
  6. Switch to Visual Studio (or anywhere else)
  7. Say "Is it me you're looking for?" - nothing appears in the sample app window
  8. Switch back to the sample app
  9. Say "Is it me you're looking for?" - still nothing
  10. Repeat 4 - 9 but this time don't switch windows - you will see all the text recognized

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Environment

- .NET MAUI CommunityToolkit: 9.0.2
- OS: Windows 11 23H2
- .NET MAUI: 8.0.70

Anything else?

No response

Same problem