microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.46k stars 29.36k forks source link

UI issue: Multi-line cells collapse into 1.5 lines after scrolling. #194841

Open royourboat opened 1 year ago

royourboat commented 1 year ago

Applies To

What happened?

Problem shown in video: multi-line cells that leave view are collapsed into 1.5 lines. In my work notebooks, this happens to a random cell when I scroll around and not all cells. I can fix it by adding a new line to the cell or by resizing the window.

I also do not know why a few cells have half the width. I cannot reproduce the issue.

I'm relatively new to VS Code and could use some guidance. Thanks for your attention!

https://github.com/microsoft/vscode-jupyter/assets/1514330/4658643a-df59-4093-9b25-7b2cc2b38745

VS Code Version

Version: 1.79.2 (user setup) Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06 Date: 2023-06-14T08:57:04.379Z Electron: 22.5.7 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045

Jupyter Extension Version

v2023.5.1101742258

Jupyter logs

No response

Coding Language and Runtime Version

Python v3.10.11

Language Extension Version (if applicable)

Python v2023.10.1

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

rahatzamancse commented 1 year ago

I think this is the same issue as microsoft/vscode-jupyter#13843. I am facing this as well.

ColinConwell commented 3 months ago

I think this is the same issue as microsoft/vscode-jupyter#13843. I am facing this as well.

+1 on this issue (and for the reference as well).

OS: MacOS Sonoma (14.5) Version: 1.91.1 (Universal) Jupyter Extension: v2024.6.0 Python Extension: v2024.10.0 Occurs across multiple Conda environments with Python 3.10 / 3.11 Occur with both Local and Remote (Linux Ubuntu 22.04.3 LTS) Jupyter servers / kernels

Example display issue below (multi-line cell collapse).

Screenshot 2024-07-26 at 2 33 09 PM