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
NVDA no longer gains focus properly when opening VS Code #152291
Comments
Switching to stable (v1.68.1) allows me to continue working, so this must have been a very recent regression. |
@Neurrone thanks for reporting this. This sounds like it is connected to the Electron 17->18 update. I know @Neurrone can tryout some builds to help trim down the issue. |
Any chance the Electron upgrade could be reverted before the July 2022 release? It would be a massive issue for screen reader users if it makes it to stable. |
@Neurrone does the issue repro when you launch insiders with the following flag |
@deepak1556 thanks, that fixed it. Sounds like an upstream bug with Chrome or Electron? |
I just tried to reproduce this and could not on my Windows VM with NVDA.
Repeat step 3 multiple times -> all is good. |
Not sure why the link doesn't work, let me try re-uploading again. vs.code.focus.bug.mp4 |
This affects Jaws as well. I've seen similar reports of this on other mailing lists. |
I'm another user using NVDA with VS Code Insiders (Windows 10) and am being affected by this issue as well. It tends to not be instantaneous for me; i have to shift focus to another application for more than a few seconds in order for it to trigger, but it is almost any time. Typically noticed when i alt-tab to a web browser to check documentation. By the time I switch focus back to VS Code Insiders this has occurred. |
Unfortunately, this appears to have made it into stable. See #154398. |
Same issue here. I couldn't find an upstream bug in Electron for this yet. I think it is crucial to get it fixed there before other major apps update their Electron dependency. Unfortunately, I don't know enough technical details to file that bug myself. |
Sorry but could you explain to me how I disable this feature?
Em sáb., 9 de jul. de 2022 às 23:55, Steve Repsher ***@***.***>
escreveu:
… The --disable-features=CalculateNativeWinOcclusion workaround does not
seem to survive locking Windows or switching users. If I lock my screen or
let it lock automatically and come back, I'm back to zero speech in VS code.
—
Reply to this email directly, view it on GitHub
<#152291 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCETZ5S3W3W4MIEY6SWKOTVTI3QXANCNFSM5Y5MMHAQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Another +1 here, seems like bug made its way to stable. Currently both stable and latest Insiders as of this comment suffers from the issue. I've tried everything including removing all extensions yet issue still persists. Generally I need to be in another window for some time for it to occur and only way to recover seems to be restarting the editor. |
Another +1 here as well. |
Update: The issue has been identified and a fix is being worked on currently. I will update here once builds are available for testing. Thanks for your patience! Addressed in (MS-only link) : https://domoreexp.visualstudio.com/Teamspace/_git/electron-build/pullrequest/556786 |
I have the same problem after update. It is really crytical issue for the blind users, because it makes VSCode impossible to use and we actually rely on VSCode very much, it is the best editor for us. Temporary measure to keep it working is to downgrade or to use command in your CMD "code --disable-features=CalculateNativeWinOcclusion". I hope this will be fixed soon, my job depends on it. P.s. thank you Microsoft team for being responsible and making stuff accessible. |
Wouldn't it be possible to disable |
Steps for verification:
|
@isidorn @deepak1556 The workout for me currently is just type any symbol, it could be a space, and then delete that, and the focus will go back to normal. Of course, it's a bit annoying, but for the time being it works. |
Yes the fix will be shipped first in nightly insiders. Once it has been verified, we already have plan for a recovery release |
This bug has been fixed in the latest release of VS Code Insiders! @Neurrone, you can help us out by commenting If things still don't seem right, please ensure you're on version 9925e5d of Insiders (today's or later - you can use Happy Coding! |
@deepak1556 Slightly offtopic, but:
|
Yup indeed they also hit this issue once updated to Electron >= 18 and the fix will address the issue for other build flavors as well.
Upstream Electron is not affected by the issue. The issue only affects Microsoft builds of Electron due to a certain patch carried internally, I can provide context of the bug if interested but it will dive into chromium internals hence didn't add them here initially. |
@deepak1556 I've verified that the fix works for me as expected. Thanks a lot for prioritizing this fix 🙏 I'm also relieved that this isn't an upstream issue, as this would be disastrous given how widespread Electron's use is. |
Thanks for confirming! |
@deepak1556 I can as well verify that this bug is fixed on Insiders. |
I can also confirm that it works like a charm again. |
Hello, Please provide details of this bug if possible, even if it somehow touches chromium internals. It would be also nice to know when the release recovery will ship (nsome people might not be authorized to use preview). Thanks, |
I also checked and for me it was fixed.
Em seg., 11 de jul. de 2022 às 10:35, VSCode Triage Bot <
***@***.***> escreveu:
… This bug has been fixed in the latest release of VS Code Insiders
<https://code.visualstudio.com/insiders/>!
@Neurrone <https://github.com/Neurrone>, you can help us out by
commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 9925e5d
<9925e5d>
of Insiders (today's or later - you can use Help: About in the command
palette to check), and leave a comment letting us know what isn't working
as expected.
Happy Coding!
—
Reply to this email directly, view it on GitHub
<#152291 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCETZ5FEEYC6CBHEGVNIF3VTQPIHANCNFSM5Y5MMHAQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Issue Type: Bug
/CC @isidorn
NVDA is completely unable to focus on the control with keyboard focus in VS code when alt tabbing into it from another application. This happens 100% of the time for me.
This is very similar to #28316. When this occurs, Vs Code is completely unusable with NVDA (pressing tab and arrow keys doesn't read anything.
I am completely unable to use Vs Code. Only started happening today when I got a new insiders build. Since I haven't updated NVDA for a couple of months, a recent change in Code is a likely suspect.
VS Code version: Code - Insiders 1.69.0-insider (0b74e15, 2022-06-15T05:16:09.187Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (26)
The text was updated successfully, but these errors were encountered: