Editor keeps focusing agent changes during parallel work

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After a recent cursor update, I’m having a super strange experience working with Jupyter notebooks.

When I have my agent working for me on the notebook and I go to another file to begin doing some parallel work while the agent completes its changes for me to review, it keeps forcibly switching me back to the notebook that the agent is modifying.

So, I will try to edit another file and it flashes on the screen to return me to the section of the notebook the agent is editing. It goes on like this and makes the editor mode practically unusable for me for Python Jupyter Notebooks. I don’t know if I had some of my default settings changed but I can’t figure out a way to get it back. This is NOT the behavior that occurs when I am editing standard files, and I don’t recall encountering this behavior before.

Steps to Reproduce

BUG:

  1. open jupyter notebook file and have your agent do some work on it
  2. open another python file and start editing it
  3. editor will switch you back to the notebook tab, interrupting your work

WORKS FINE:

  1. open python file A and have your agent do some work on it
  2. open another python file B and start editing it
  3. No interruptions, work on file A is done and you are fine to work on file B

Expected Behavior

I would expect the Python notebook to act just like any other file where I can dispatch the agent to work on it, and then I can go ahead and edit my other notebook or file in parallel and then come back to the notebook when I’m ready.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20 (Universal)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known issue - when editing a Jupyter Notebook through the agent, the editor keeps jumping to the notebook and interrupts parallel work.

The team knows about this issue - I’ll pass the report to the engineers.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.