vscode-jupyter icon indicating copy to clipboard operation
vscode-jupyter copied to clipboard

Cell randomly losing focus, view jumping (reopening #12863)

Open thobitz opened this issue 1 year ago • 0 comments

Environment data

  • VS Code version: 1.88.1
  • Jupyter Extension version (available under the Extensions sidebar): v2024.3.1
  • Python Extension version (available under the Extensions sidebar): v2024.4.1
  • Pylance Extension: v2024.6.1
  • OS (Windows | Mac | Linux distro) and version: Windows 10
  • Python and/or Anaconda version: Python 3.9.13
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Jupyter server running: N/A

Expected behaviour

Uninterrupted editing of Notebooks

Actual behaviour

Whenever an autosave occurs or whenever the notebook is saved with Ctrl-S, the current cell loses focus and the notebook scrolls to a random place. This makes VSC more or less unusable.

During the save, the "Problems" box is updated. The location to which the notebook scrolls often (but not always) seems to be related to the position of the errors displayed in the Problems box.

The issue has been described comprehensively in bug report 12863, but was auto-closed without resolution.

Unfortunately I cannot access Github or upload any files from my work laptop where the issue occurs. I cannot reproduce the issue on my personal laptop, despite running the same versions of VSC, Jupyter, Python and Pylance.

Steps to reproduce:

See above. The issue has been described comprehensively in 12863.

thobitz avatar Jun 25 '24 17:06 thobitz