Vscode-jupyter: Duplicate copy in Notebook Editor

Created on 31 May 2020  路  5Comments  路  Source: microsoft/vscode-jupyter

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Open two ipynb files in VSCode
  2. Copy the code in one file, and paste it into another file
  3. You can find just like you've paste twice.

Actual behavior

There are two copies of the content of your clipboard

Expected behavior

There should be only one paste.

Screen Recording 2020-05-31 at 10 43 24-Animated Image (Large)

Your Jupyter and/or Python environment

_Please provide as much info as you readily know_

  • Jupyter server running: Local
  • Extension version: 2020.5.80290
  • VS Code version: 1.45.1
  • Setting python.jediEnabled: false
  • Setting python.languageServer: Microsoft
  • Python and/or Anaconda version: Python 3.7.7 & conda 4.8.3
  • OS: Mac
  • Virtual environment: conda

Developer Tools Console Output

No output available.

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

bug

All 5 comments

Repro-ed. In particular, this issue only appears to show up when the paste destination is an ipynb that has been saved to disk. I.e. copy from untitled -> paste to titled / copy from titled -> paste to titled trigger the error; copy from titled -> paste to untitled / copy from untitled -> paste to untitled do not. Thanks for the bug report!

This seems to happen only on mac, I can't repro it on windows or ubuntu.

@DavidKutu just noticed while going through open issues that this is likely a dupe of microsoft/vscode-python#11796, and in that issue multiple users reported the bug with Darwin as the OS.

@joyceerhl yeah, it seems to be the same issue...

@Saafo I've tagged you in the other issue, please follow that one.

Was this page helpful?
0 / 5 - 0 ratings