Voice dictation: layout shift after mic toggle puts Cancel under the cursor; second click discards dictation
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
Start by locating the chat composer and its voice dictation controls, then trace how the toolbar changes when dictation starts and how the Cancel and stop actions are wired. Reproduce the reported sequence with the pointer left in place; done when the second click stops dictation without discarding the transcript and the controls do not shift under the pointer.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Short summary
Starting dictation from the composer's mic button shifts the layout and leaves the Cancel button under the pointer, right where the mic button just was. Clicking that spot again to stop dictation cancels it and discards everything dictated.
Affected version or release
1.1.29 (latest release at the time of filing)
Installation context
GitHub Copilot app on Windows 11 25H2 (build 26200, shown as "Windows 10.0.26200" in the table below). Affects the message composer in chat sessions (/chat).
Voice dictation settings (Settings > Voice dictation):
- Push to talk: on
- Shortcut: Ctrl+M
- Input device: Line (2- ProFX)
- Transcription model: nemotron-speech-streaming-en-0.6b-generic-cpu
What happened?
Each time I start dictation with the mic button, the layout shifts. Toggling on and then off at the same spot is the natural interaction, so I click the same location again to stop. After the shift, that location holds the Cancel button, so the click cancels the dictation and discards everything I dictated.
This happens with Push to talk on (see the settings above), when I start dictation from the mic button instead of the shortcut.
Steps to reproduce
- Open a chat session and place the mouse pointer over the mic button in the composer.
- Click the mic button to start voice dictation.
- Dictate a few sentences.
- Without moving the pointer, click the same spot again to stop dictation.
Actual: after step 2 the layout has shifted and the Cancel button is under the pointer. The click in step 4 activates Cancel and the dictated text is lost.
Expected behavior
- Starting dictation does not move the control under the pointer, so toggling on and off in place works.
- Clicking the same spot a second time stops dictation and keeps the transcript.
- Cancel does not take the place of the control that was just clicked, and discarding a dictation is either confirmed or undoable.
Impact
- Data loss: a single click discards all dictated input.
- It is triggered by ordinary use (toggle on, then toggle off in place), not an unusual sequence.
- The cost grows with dictation length, which discourages using dictation for longer prompts.
Suggested directions
Any one of these would address the problem:
- Keep the mic button in a fixed position and make it the stop control while dictating. Place Cancel away from that spot.
- Reserve space for the dictation controls so starting dictation does not reflow the composer toolbar.
- Add a safeguard for Cancel: ask for confirmation when a transcript exists, or offer Undo for a few seconds.
Additional context
Related: #4337 (closed) covers the composer controls after confirming a dictation with the checkmark.
| Field | Value |
|---|---|
| App version | 1.1.29 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 16 |
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 2.2k
- Forks
- 183
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/app
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
jhomlala/betterplayer#1609 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
NousResearch/hermes-agent#140957 ·
Mantenedores costumam responder em até 1 dia
-
[Feature]: Windows 语音输入默认关闭Abertaenhancement source/qq
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
metasequoiaime/msime-windows#1054 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
omdsh-dev/DSH-better-sidebar#992 ·
Mantenedores costumam responder em até 4 dias