-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Accessibility] Terminal a11y buffer is not automatically updated #172582
Comments
Performance isn't a concern but since it's an edge case I think it makes sense to listen for buffer changes and refresh it. We will probably need to append and not replace though |
Another problem encountered is that if I type some text in the accessibility buffer, it is no longer updated. It seems that the problem only happens if the text is typed very close to the last line of the buffer. I tried to reproduce the problem by typing a text at the beginning of the buffer but I couldn't.
In my environment the result of the commands executed in step 4 are not present in the accessibility buffer, only the commands executed in step 1 are shown. |
Please treat this as a significant bug and not an "edge case". It's currently impossible to review the log of any running task or command until the task completes or the shell prompt is returned. That eliminates access to many common things like:
|
@steverep this is a plan item for the March iteration IE we plan to tackle it soon |
Repro:
|
This still repros for me on Windows (without Narrator enabled):
If I click away from the VS Code window and then click back into it, the accessible buffer updates |
this is vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.ts Line 119 in f584ecc
|
This still repros for me with the latest insiders. |
@joyceerhl a gif would be helpful update.mov |
terminal.mp4(in the recording above, at about the 6 second mark I click out of the terminal and back in, and that apparently forces an update) |
can you repro if you start with a new terminal, don't run |
I can repro but it's quite difficult, there's probably some race condition where output occurs before the listener is registered. I suggest we action this as part of the _getContent testing/refactoring |
Considering this verified because it works in most cases and we will have a TPI next iteration to test the improvements we plan to make |
CC @meganrogge
Reproducible Steps
ls -1
ls -1
, press Shift+Tab to focus in the terminal a11y buffer.ls
command: It is not actualy.Expected Behavior
The terminal a11y buffer needs to get updated automatically without manual focus refresh.
System Info
Version: 1.75.0-insider (system setup)
Commit: 07d6f5b
Date: 2023-01-26T05:23:05.014Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes
The text was updated successfully, but these errors were encountered: