Clicking on "keep all" button undo the changes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Clicking on “keep all” button undo the changes

Steps to Reproduce

clicking “keep all”

Expected Behavior

to keep the changes

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (user setup)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
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.26100

For AI issues: which model did you use?

nothing to do with models

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This might be a bug with stuck changes in workspace storage or button order issues.

To figure it out:

  • Open Help → Toggle Developer Tools → Console - any errors when you click “Keep All”?
  • Do changes disappear right away or after restarting Cursor?
  • Does this happen with all files or just specific ones?

Quick checks:

  • Copy the whole file to clipboard, hit Ctrl+Z a few times (undo to before the glitch), then paste the code back - this clears stuck changes
  • Close Cursor, delete %APPDATA%\Cursor\User\workspaceStorage (backup first!), then restart
  • Check if buttons swap places when scrolling - there’s a known issue where “Keep All” and “Undo All” switch positions

If this doesn’t help, I’ll pass it to the team. Let me know what happened.

Thanks, that did fix it, it was really frustrating to lose all my sessions over and over again after i click “keep all“.