Recently Cursor started auto switching tabs when an agent finishes work, and it is extremely disruptive.
Two concrete cases:
When an agent creates a new document for a plan or output, Cursor automatically switches focus to that new tab. If I am in the middle of editing another file, my cursor jumps away and I start typing into the wrong document.
The same happens with agent chats. While typing in one chat, Cursor will suddenly switch to a different chat tab when an agent completes its response. I only notice after I have already typed into the wrong place.
This breaks flow, especially when working with multiple agents concurrently, and causes accidental edits in the wrong files or chats. Is this intended behavior? If so, is there a way to disable automatic tab switching and keep focus where the user currently is?
Yup, happened to me just now again. Chat 1 was applying fixes while I was focused and writing in Chat 2. As soon as Chat 1 completed its response, Cursor auto-switched to Chat 1, and my text input intended for Chat 2 continued in the chat with Chat 1.
And great to hear about the fix in 2.5. Will keep an eye out for that!