Repository: vscode
Issue: .ipynb cannot reorder cells
Labels: bug,info-needed,notebook-dnd


Type: <b>Bug</b>

I have a notebook with 3 cells, A B C

I want to drag C so that it is between A and B.

I CANNOT DO IT.

Drag-drop simply doesn't work. I hover over the margin of cell C, so that the cursor becomes a hand. Clearly this is indicating that I can drag to move it.

So I drag. I'm expecting a thick line between A and B to glow as I hover over it.

BUT IT DOESN'T.

It DID work. I KNOW I used to be able to drag-drop reorder cells. But now I CANNOT.

Now I look for a menu-item for "move cell up/down". Not on the right "...". Not on the left (right-click). Nowhere in the menu. I know this exists for browser-based Jupyter notebooks.

The only thing I can see is to cut/paste cells. Why can't I drag-drop to move them? Why?

Such UX creates great frustration. :L

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:43:08.196Z)
OS version: Darwin arm64 23.4.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M2 (8 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|24.00GB (0.75GB free)|
|Process Argv|--crash-reporter-id f10d97cd-2115-4dba-a34a-07be9312995a|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (18)</summary>

Extension|Author (truncated)|Version
---|---|---
dvt-remote-ssh|ami|1.0.0
copilot|Git|1.184.0
copilot-chat|Git|0.14.1
vsc-python-indent|Kev|1.18.0
rainbow-csv|mec|3.11.0
vscode-docker|ms-|1.29.0
debugpy|ms-|2024.4.0
python|ms-|2024.4.1
vscode-pylance|ms-|2024.4.1
jupyter|ms-|2024.3.1
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.17
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-slideshow|ms-|0.1.6
remote-containers|ms-|0.354.0
remote-ssh|ms-|0.110.1
remote-ssh-edit|ms-|0.86.0
remote-explorer|ms-|0.4.3

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31022790

```

</details>

<!-- generated by issue reporter -->