LeonarddeR / visualStudioAddon

GNU General Public License v2.0
3 stars 0 forks source link

intellisense: speech lags behind in the suggestions list #3

Open vortex1024 opened 4 years ago

vortex1024 commented 4 years ago

while writing an instruction, as the autocomplete popup modifies, each change is spoken by nvda, which makes it give out of date suggestions, i.e. after you stop typing, it repeatedly announces suggestions wihch are no longer valid for what you typed.

Str:

  1. open a winforms project with an attached button event handler.
  2. Write, quickly, "MessageB". Result: after you finished typing, NVDA says "message" repeatedly, probably trying to speak the different suggestions that have appeared while you were typing. Expected result. since those suggestions disappeared, nvda should ignore them, and only speak the last result, which is MessageBox.

At first, I thought this is normal behaviour, since the screen reader can't detect when a suggestion is invalid any more. However, NVDA with the addon disabled, or narrator, don't exhibit this problem.

Any idea why ttthis happens? I saw code that cancels speech when the intellisense menu item changes, but it doesn't seem to work