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
In inline chat, there are 2 chat widgets, the one showing initially ("lightweight") and the other when a response comes ("heavy"):
Lightweight:
Heavy:
In both widgets, a 馃帳 action is provided to start voice chat. When you click it, the icon animates and on macOS you see the yellow indicator in the up-right corner:
In addition, with text-to-speech integration, responses can be read aloud, which is indicated by another animation:
In the code that deals with starting speech-to-text and text-to-speech sessions, I want to make sure to stop the session when chat hides. For that I rely on ChatWidget.setVisible() calls here:
Background
In inline chat, there are 2 chat widgets, the one showing initially ("lightweight") and the other when a response comes ("heavy"):
Lightweight:
Heavy:
In both widgets, a 馃帳 action is provided to start voice chat. When you click it, the icon animates and on macOS you see the yellow indicator in the up-right corner:
In addition, with text-to-speech integration, responses can be read aloud, which is indicated by another animation:
In the code that deals with starting speech-to-text and text-to-speech sessions, I want to make sure to stop the session when chat hides. For that I rely on
ChatWidget.setVisible()
calls here:vscode/src/vs/workbench/contrib/chat/browser/chatWidget.ts
Line 393 in f9a2d55
Issue
In my testing, I do not see a call to
ChatWidget.setVisible()
when I close the "heavy" inline chat box, while it works fine for the lightweight one.To reproduce:
inlineChatContentWidget.hide()
hide
is called and proceeds tothis._widget.setVisible(false);
hide
is called, but immediately returns becausethis._visible
isfalse
I wonder if for the transition from "lightweight" to "heavy", a call to
show
is missing?The text was updated successfully, but these errors were encountered: