Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Voice dictation: layout shift after mic toggle puts Cancel under the cursor; second click discards dictation

Ouverte
#4,843 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Domaine
desktop, frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
  1. Open a chat session and place the mouse pointer over the mic button in the composer.
  2. Click the mic button to start voice dictation.
  3. Dictate a few sentences.
  4. 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:

  1. Keep the mic button in a fixed position and make it the stop control while dictating. Place Cancel away from that spot.
  2. Reserve space for the dictation controls so starting dictation does not reflow the composer toolbar.
  3. 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
Langage dominant
Aucune donnée de langage
Étoiles
2.2k
Forks
183
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/app

Toutes les issues de github/app

Issues similaires

Plus d'issues Desktop Dev

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.