Agent changes no longer automatically display when opening a file

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Opening a file after agent changes no longer shows an Agent change on screen. I believe the file is opening to the last position you were at when you closed the file.

Steps to Reproduce

  • Have a file that is multiple screens in length.
  • Ensure the file is in source control.
  • Open the file, go to the top and then close the file.
  • Ask the Agent to add some line to the bottom of the file.
  • Open the file. You will be at the top of the file.

Expected Behavior

Prior to updates this week, a change was always displayed on screen. I could then accept/undo and the window would move to the next change.

Operating System

Linux

Version Information

Version: 3.23.23
VS Code Extension API: 1.128.0
Commit: 2dac2428994fe34f12658d9ecad1541b98db2c00
Date: 2026-10-05T01:43:43.807Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Linux x64 7.0.0-38-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Mark_Klimp, thanks for the clear steps!

One detail will tell us where to look: how are you opening the file in that last step? From the Explorer sidebar, from Ctrl+P, or by clicking the file name in the chat (in the list of changed files above the chat input, or on the edit card in the conversation)?

Could you try this once and tell me what you see:

  1. Open a long file that is tracked in git, scroll to the top, and close the tab.
  2. In a new chat, ask the Agent to add a line at the bottom of that file and wait for it to finish.
  3. Open the file from the Explorer sidebar. Note whether you see the change or the top of the file.
  4. Close the tab again.
  5. In the chat, click the file name in the list of changed files just above the chat input.

Does step 5 take you to the change? Please reply with the results of steps 3 and 5.

In the meantime, once the file is open you can press Alt+J (Go to Next Change), or use the arrows in the Undo/Keep bar at the bottom of the editor. Both jump straight to the agent’s change, and after Keep or Undo the editor moves on to the next one.

I always open files from the explorer side bar. edited - I originally said I would do the test and let you know but I’m 100% confident I will get the same result. If for some reason I don’t see the expected error I will let you know.

@Colin I ran the requested test. In both cases. the file opened at the top. Alt+J works as described.

Hey @Mark_Klimp, thanks for running that test.

I tried the same steps here, and clicking the file in the changed-files list does take me to the agent’s change, so I’d like to make sure we clicked the same thing.

  1. After the Agent finishes, look just above the chat input for a small row that says “1 File” with Undo, Keep and Review on the right.
  2. Click “1 File” to expand it. A row with the file name and a green +N count appears under it.
  3. Click the file name in that new row (not the file name inside the Agent’s message text).

Does step 3 take you to the change? If it still opens at the top, could you share a short screen recording of steps 1 to 3?

For context: opening the file from the Explorer sidebar, or from the file name link inside the Agent’s reply text, opens it where you last left it rather than at the change. Alt+J (or the arrows in the Undo/Keep bar) jumps straight to the change from there.

Thanks for the clarification. I had clicked on the file in the Agent chat and not in the file list. Clicking on the file in the file list does take me to the change.