Vscode-jupyter: Tabs change automatically to running jupyter notebook or second interactive window

Created on 17 Aug 2020  路  4Comments  路  Source: microsoft/vscode-jupyter

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Open two jupyter notebooks nb1.ipynb and nb2.ipynb in tab1 and tab2 respectively.
  2. Let nb1.ipynb run through all cells.
  3. While nb1.ipynb is still running and updating the outputs of each cell choose the nb2.ipynb tab
  4. When nb1.ipynb has new updated cell output VScode will change to the nb2.ipynb's tab automatically.

Actual behavior

Expected behavior

Your Jupyter and/or Python environment

_Please provide as much info as you readily know_

  • Jupyter server running: Remote
  • Extension version: 2020.8.101144
  • VS Code version: 1.48.0
  • Setting python.jediEnabled: true | false
  • Setting python.languageServer: Jedi | Microsoft | None
  • Python and/or Anaconda version: 3.8.3
  • OS: Darwin x64 16.7.0
  • Virtual environment: conda

Python Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

P2 bug

Most helpful comment

Yah this should not be the behavior ... especially frustrating for folks running a long running notebook in the background whilst wishing to edit another notebook. Ideally, would be nice if you can run multiple notebooks simultaneously without the "jumping" to the active/running notebook.

All 4 comments

Thanks for the issue @entron. I think this is expected behavior. But we'll discuss it in an upcoming meeting.

@DavidKutu, thanks for confirming it. If one works with multiple notebooks simultaneously this behaviour is very disturbing.

Yah this should not be the behavior ... especially frustrating for folks running a long running notebook in the background whilst wishing to edit another notebook. Ideally, would be nice if you can run multiple notebooks simultaneously without the "jumping" to the active/running notebook.

Yeah, this is disruptive when I run a long process in one notebook and switch to another to continue working.

It's also caused me to make edits in the wrong tab.

Was this page helpful?
0 / 5 - 0 ratings