Too easy to accidentally click undo-all

Hi,

When the agent is running and making changes, the review is poped in real-time with the modification tab (that includes undo-all and keep-all buttons), which is helpful. I usually use it to roll down to the next change to review the changes. However, the tab length is changing when the agent adds more changes. Thus, I have accidentally clicked the undo-all multiple times and have to restore them by myself or let the agent run again. Maybe it would be helpful to add a confirmation after user click the undo-all and keep-all? Or separate the roll up and down button with the undo&keep buttion.

Thanks.

7 Likes

totally agree. ui fail

I just clicked on undo-all. A confirmation popup would be really nice. ADD IT PLEASE

It’s happened me a few times as well. But to be fair, you can just do Ctrl+Z (Undo) to make it as if you did not accidentally click “Undo All”

yea just chiming in here that the keep all and undo all button should never appear in place of each other… it’s happening also when the agent is done working, and i review the files.

the component sometimes gets shorter, i think when you’ve reviewed more then one file, and then the last one the file toggle disappears (1/2 files). when it disappears, the layout shifts.

this should be flagged as Support > Bug Reports since it’s a UI bug.

Hey! Looking into this - the screenshots here seem to be on slightly older Cursor versions? Is anyone on 2.2.44/2.3.x?

1 Like

it happened to me JUST NOW lol. It auto-updates, right?

Also, this guy had the same issue:

Notice how the buttons keep jumping all over the place relative to other UI elements

Version: 2.2.44 (user setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

1 Like

Please add a confirmation to the undo-all, just prompted my way to exactly what I wanted then undid it all :frowning: