Running commands get auto-cancelled when changing tabs.
Steps to Reproduce
1.- Run a time-based command.
2.- While the Agent is waiting for the execution to finish, switch tabs.
3.- Go back to the original tab, and you’ll see the command cancelled/rejected.
Expected Behavior
The behavior of the command should continue in the background even after switching tabs, like how it was before.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. I wasn’t able to repro this tab-switching cancellation on my end, but let’s try the Legacy Terminal Tool workaround that’s helped with other terminal issues:
And if I may add extra information, based on this last attempt I just did (from the recording above), the cancellation/rejection doesn’t happen only in time-based commands, but in any ongoing/running command.
Thanks for trying the Legacy Terminal Tool workaround and confirming it didn’t help. Since this affects all ongoing commands when you switch tabs, it looks like a regression that needs engineering attention.
Could you please share:
Request ID: after a command gets cancelled, click the chat’s context menu (top right) > Copy Request ID
Console logs: Help > Toggle Developer Tools > Console tab — screenshot any errors that appear when the command cancels
Extensions test: does it still happen if you run cursor --disable-extensions from Terminal?
I’ll escalate this to the team with your findings.
Hey, yes, the team is investigating this. Also try updating to the latest version if you haven’t already.
If the issue remains, please try the nightly build as well.