Skip to content
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

Inserting new cell creates blank, uneditable cell #228858

Closed
AngusMaiden opened this issue Sep 14, 2024 · 3 comments
Closed

Inserting new cell creates blank, uneditable cell #228858

AngusMaiden opened this issue Sep 14, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@AngusMaiden
Copy link

Environment data

  • VS Code version: 1.93.1
  • Jupyter Extension version (available under the Extensions sidebar): 2024.8.1
  • Python Extension version (available under the Extensions sidebar): 2024.14.1
  • OS (Windows | Mac | Linux distro) and version: Windows 11 Version 23H2
  • Python and/or Anaconda version: Python Version 3.10.14
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Jupyter server running (Local | Remote | N/A): Remote

Expected behaviour

Adding a new cell above or below an existing cell (either through right-click menu "Insert code cell above/below" or using keyboard shortcut a or b creates a new cell.

Actual behaviour

A new cell is created, but it is blank, without any edit text field.

Steps to reproduce:

  1. Right click to the left of a cell
  2. Click on "Insert Cell"
  3. Click "Insert Code Cell Above" OR "Insert Code Cell Above"
  4. Observe a blank cell created without any editable text field

OR

  1. Press "ESC" on keyboard to stop focusing on a cell
  2. Press "a" or "b" on keyboard
  3. Observe a blank cell created without any editable text field

image

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

@AngusMaiden AngusMaiden added the bug Issue identified by VS Code Team member as probable bug label Sep 14, 2024
@amunger amunger assigned amunger and unassigned DonJayamanne Sep 17, 2024
@amunger amunger transferred this issue from microsoft/vscode-jupyter Sep 17, 2024
@amunger
Copy link
Contributor

amunger commented Sep 17, 2024

I'm not seeing this behavior.
Can you see if this still occurs in a fresh profile (Profiles: Create a Temporary Profile)
If so, can you open the developer tools (Developer: toggle developer tools) and see if there are any errors in the console when you add a new cell.

@amunger amunger added the info-needed Issue requires more information from poster label Sep 17, 2024
@AngusMaiden
Copy link
Author

I'm not seeing this behavior. Can you see if this still occurs in a fresh profile (Profiles: Create a Temporary Profile) If so, can you open the developer tools (Developer: toggle developer tools) and see if there are any errors in the console when you add a new cell.

Hi @amunger thanks for addressing this.

Unfortunately I can't repro it myself now either. The bug resolved after restarting VS Code and the Jupyter Kernel.

It does seem like unexpected behaviour so I'll keep an eye out for it again.

@amunger
Copy link
Contributor

amunger commented Sep 17, 2024

thanks for the update, I'll close for now

@amunger amunger closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants