Skip to content

Bugs involving merging of cells #665

Closed
@jhamrick

Description

@jhamrick

The UI involving the merging of cells is broken. There are a few related issues:

First, you can choose to "undo delete cell", but it doesn't remove the source from the first cell that was merged in. That's annoying, but not super problematic if we decide we don't want to deal with that (I think it was handled properly before? I could be misremembering, though).

Next, the resulting merged cell is still marked. I think it should be unmarked after the merge operation is complete.

Finally, there's also a more serious issue. Steps to reproduce:

  1. create notebook with two cells
  2. select second cell
  3. multi-select with first cell (shift+k)
  4. merge (shift+m)
  5. undo delete cell -- this will cause the deleted cell to appear above the merged cell (it should be below)
  6. select the top cell (the one that should have been below) and delete it -- this will cause the second cell (the one that is not selected!) to be deleted. I think this is because that cell is marked, so having the merge unmark the cell it operated on would fix this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions