-
Notifications
You must be signed in to change notification settings - Fork 294
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
Input Problems with Interactive Terminal #446
Comments
I experience the same since the last update. Interestingly, after restarting VSC it would work for 2-3 commands and then the terminal becomes unresponsive. That's very painful. Info: |
Same problem! VSC: |
Click-dragging the "Python Interactive" tab and moving it to a new split position (eg side by side or the reverse) seems to fix the problem temporarily :/
|
Same issue here
|
Hey everyone. Just wanted to comment to thank folks for reporting this issue. I'm able to repro this as well, and I'm looking into it. Not fully sure on the cause yet as the repro is (at least for me) very sporadic for when it happens. |
@IanMatthewHuff thanks for taking this on! In my case it's sporadic but frequent, and especially noticeable when switching back and forth between the editor and interactive window. Additional note: I just updated from 1.51.0 to 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f) and the issue persists. |
Another update: |
+1 for this issue Version: 1.51.1 (user setup) |
Press ctrl+B can temporarily fix this on windows(and also on wsl2), but will happen again very soon, |
Lots of dupes being entered for this issue, so marking as high-priority. |
If I click back and forth between the python editor and the interactive window a bunch, it seems to repro every time. Might be related to our focus tracking. |
Root cause looks to be that the body of the interactive window has focus when the monaco editor thinks it does. So when we tell the monaco editor to take focus it doesn't. Not sure yet what is stealing focus away for the body yet. |
Seems like the VS code webview code is stealing focus. The activate message we send can interfere with this focus. IF we don't use this activate the IW won't lock up (although then it won't get focus unless you click on it). |
Validated based on our bug bash testing. |
azz147 solution of pressing ctrl-B works for me - it temporarily fixes the problem on Windows and is easier than moving the window to a new pane |
I am experiencing the same thing. I was about to create a new issue, but I saw all the late ones have been closed as duplicates. This is still an issue that occurs every few minutes. It has actually been getting worse. It's becoming a blocker. Is there still no solution to this? |
@thanosgatos What is your extension version? This should have been fixed already. |
Issue Type: Bug
Typing directly into the Python interactive terminal is buggy. This seems to be an issue in the latest (October 2020) release since it began immediately after the update.
Expected result: You type something into the interactive terminal input cell and characters appear...
Actual result: You type into the interactive terminal and nothing happens. Usually, you can start typing after clicking the cursor a few times but many times the terminal input cell does not respond at all requiring a restart.
Extension version: 2020.10.332292344
VS Code version: Code 1.51.0 (fcac248b077b55bae4ba5bab613fd6e9156c2f0c, 2020-11-05T18:16:10.374Z)
OS version: Linux x64 5.4.0-52-generic
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: