-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Running a cell moves focus in Jupyter Notebook #127213
Comments
(Experimental duplicate detection) |
@rohitsathish can you elaborate a bit more on? A screen recording can help a lot. |
@rebornix Sure, you can check out the behaviour in this screencast. I'm at the bottom of a long cell and run the cell, after its complete it shifts the focus to the top of the cell. I can confirm that it occurs both when running the cell with the 'run' button next to the cell and while using the ctrl + enter shortcut. vscode.runing.cell.moves.focus.mp4 |
Can confirm this - to add, this behavior is very annoying particularly when (a) a bunch of cells have been queued for execution, and so each cell's completion moves the UI unpredictably, and/or (b) a cell takes a non-trivial amount of time to execute, so I would want to start editing other cells while it's executing, but when the cell finishes, it moves focus away from my currently-editing cell. Thanks! |
Can confirm too, and it's really frustrating. |
@rebornix any updates on this issue? Doesn't seem like it should have the "needs more info" tag at this point. Would love to see progress on this, this is a very annoying regression! |
Thanks the screen recording shared by #127213 (comment) is pretty helpful and I'll polish this experience. |
@pbotros may I ask if you are using the latest Stable or Insiders? I'm currently not able to reproduce this issue if anyone of you can still reproduce, please provide a code sample and share the keyboard shortcut you use to run the cell, thanks! |
Looks fixed to me now that I'm on latest Insiders (updated from 1.58.0-insider to 1.60.0-Insider). Seems like it's okay from my side to close this out. Thanks! |
This issue persists for me. Here are my environment details
And here is a gif of running a dummy matrix algebra cell using Initially opened this issue on #130711, found duplicates once it was transferred to this repo. |
@Bebotron see my comment, updating to 1.60.0 worked for me |
Looks like 1.60 is not yet available on stable, so I'll have to be patient (I generally have bad experiences breaking things in insider versions of anything) |
I'll move it to Sept Milestone and close it if @Bebotron confirms it works after we ship Stable. Thank you both for helping out. |
Will keep and eye out and update! Thanks! |
Closing this issue since it seems fixed! |
Issue Type: Bug
Running a cell in jupyter notebooks moves the focus to the top of cell.
Expected behaviour: don't move focus on running a cell.
VS Code version: Code - Insiders 1.58.0-insider (3caebff, 2021-06-24T05:13:30.907Z)
OS version: Windows_NT x64 10.0.19041
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (19)
(4 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: