I had a new document, not commited that I tried to modify with 3 composer in parallel, pressed apply all by mistake, did undo apply which deleted my uncommited file. I don’t know how to retrieve it.
Steps to Reproduce
Create a file do a 2 composer query that modifies it to trigger worktreres, apply the changes and do undo changes
Expected Behavior
the file should be revcerted to before applying the changes, not ■■■■■■■ deleted
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. I’m really sorry this happened, this is a critical bug that shouldn’t occur. Let’s first try to recover your work.
Immediate recovery steps:
Check the Timeline: right-click in the editor or in the Explorer where the file was. If the file is missing, create a new file with the same name, then right-click it and select “Open Timeline”. There you should be able to see previous versions of your file.
For the bug report:
Please share the Request ID.
Click the context menu in Composer (top right) → Copy Request ID. This will help the engineering team investigate the issue.
I’ll pass this to the team, because deleting a file on “undo” is clearly not expected behavior.
Thank you for your response!
This is one of the request:
80d862f9-6c1f-4b21-b911-64576feac3c7
the last one: aab9e327-42c9-4552-badd-f47e014f5114
I totally forgot about timeline, which would have allowed me to recover it indeed. I ended up just editing the best version from composer and got a good version after some extra work.
Also I was able to reproduce this bug on a new .svg file (which was my original and get opened in an image viewer, not a text file) but not on a normal text file