VSCodeVim / VSCodeVim/Vim

Accessibility bug: 1.26.0 broke dictation with Dragon

Open
#8,586 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
When using Dragon to dictate, after upgrading to 1.26.0, dictation became completely unavailable.

To Reproduce
Steps to reproduce the behavior:

  1. Install Dragon (in my case Dragon Pro individual 14 on Windows)
  2. Open a file for editing and going to insert mode
  3. Dictate some words (eg. "pound sign spacebar here is an English-language comment")
  4. A wild selection of the characters in the words dictated, repeated an arbitrary number of times, appearing an arbitrary order.

Expected behavior
I expect of the dictated phrase to appear in the editor.

Screenshots
image

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.26.0
  • VSCode version:
    Version: 1.82.0 (user setup)
    Commit: 8b617bd08fd9e3fc94d14adb8d358b56e3f72314
    Date: 2023-09-06T22:07:07.438Z
    Electron: 25.8.0
    ElectronBuildId: 23503258
    Chromium: 114.0.5735.289
    Node.js: 18.15.0
    V8: 11.4.183.29-electron.0
    OS: Windows_NT x64 10.0.19045```
  • OS: Windows 10

Additional context

I didn't spend time debugging this, and I did not test it with built-in Windows Speech Recognition; I can if you want me to. While the characters are spewing onto the screen at high speed, there might be some very fast intellisense pop-ups showing up, so I wondered if there was possibly some interaction happening there.

I know that Dragon isn't widely available, so I'm happy to screen share/help debug if I know where to look.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. First reproduce the regression with Dragon on Windows using VSCodeVim 1.26.0, then compare behavior with an earlier extension version and investigate the input path, including the reported possible interaction with IntelliSense. Done means the dictated phrase appears once and in the expected order in insert mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
accessibility
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.