I have been closing cursor through the file > exit method as closing through the top right cross or it closing by my machine restarting with cursor still open, lead to the disappearance of the chats completely. Now i can’t have 1 window closed, because I don’t trust the “close window” option, as it shows the “Alt+F4” combo, which i feel could remove all my chats again.
No confirmation on that, because I can’t risk that right now.
Hey, thanks for the report. This isn’t actually a bug, it’s expected behavior inherited from VS Code and Electron.
File > Exit and Ctrl+Q are the quit app command, it fully quits Cursor and closes all windows. That’s by design.
To close only the current window, use File > Close Window Ctrl+Shift+W or Alt+F4.
About the chat concern, Close Window only closes one window and does not delete history. Chats are stored in storage whether a window is open or not. If you see Alt+F4 there, it’s just an alternative shortcut for the same close window command, it’s not related to chat deletion. So it’s safe to close windows via Close Window.
The chat loss you mentioned after a sudden restart or a crash is a separate issue and not related to closing a window. If you hit missing history again specifically after a crash, please post a separate report with your version and steps if possible, and we’ll take a closer look.
Thank you for the quick reply.
I know for sure that the exit didn’t close every window before. Because it was you who even told me to use it to make sure the window closed gracefully and chats didn’t disappear.
I have no clue how the status is on that bug. But because the exit changed I was confused.
And i really don’t like VSCode, and now i don’t like it even more. It is the very first time I ever heard the exit option closes all instances of a program. Only Microsoft can come up with that stuff XD