Skip to content

Cells render incomplete or overlapping when using cell movement #9884

@marvinbernhardt

Description

@marvinbernhardt

Describe the bug
In a large Jupyter Notebook, when using cell movement (e.g. gg or G), cells do not render correctly.
When going to the top of the document, often lines of code in the cells are not visible.
When going to the bottom of the document, often cells are overlapping.
However, it is kind of non-deterministic, sometimes both artifacts appear.
As soon as one uses the mouse scroll or scroll bar, the artifact goes away.

To Reproduce
Steps to reproduce the behavior:

  1. Create: New Jupyter Notebook
  2. Create two cells with 10 lines and 20 cells (more if you have a large monitor) without content
  3. Use gg to go to the first cell
  4. Use G to go to the last cell

Expected behavior
I expect that cells and their contents render regularly independent on the movements that are performed.

Screenshots
Right after going to the first cell, only one line of the two cells are visible (they both have 10 lines).
Image

Right after going to the last cell, there are overlapping cells visible (they are all empty).
Image

Environment:

  • Extension (VsCodeVim) version: 1.32.4
  • VSCode version: 1.106 (VSCodium on Linux) and 1.07 (VS Code on Windows 10)
  • OS: Arch Linux and Windows 10 (same problem on both machines)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions