Agent chat window scrolling broken in 1.7.17

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The Agent chat window in the latest stable release keeps getting into this weird state where I:

  1. Can’t scroll to the very bottom of the chat to see the last thing that happened
  2. Can’t type in the “Plan, search, build anything” window

Steps to Reproduce

Unclear the exact steps to get into this state. I was at 90%+ usage on the context window w/ Claude 4.5 Sonnet.

Expected Behavior

I should be able to scroll to the end of the chat window and I should be able to type into the textbox to tell the agent what to do next.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.17 (Universal)
VSCode Version: 1.99.3
Commit: 34881053400013f38e2354f1479c88c9067039a0
Date: 2025-09-29T03:10:26.099Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

For AI issues: which model did you use?

Sonnet 4.5.

Does this stop you from using Cursor

Yes - Cursor is unusable

hi @Alex_Campbell thank you for the bug report.

Could you check and share errors from Help > Toggle Developer Tools > Console

Hey @condor , the issue seems to have fixed itself after closing the agent chat and re-opening it an hour or so ago.

I do see errors in the Console but I don’t see timestamps on them so I’m not sure if they are related:

workbench.desktop.main.js:99 Refused to create a TrustedTypePolicy named ‘browserIframeInjection’ because it violates the following Content Security Policy directive: “trusted-types amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString safeInnerHtml editorCppGhostText standaloneColorizer tokenizeToString solidjs aibubble aibubble2 aibubbleSearch streamingMarkdownPolicy notebookChatEditController mermaidDiagram mermaidDiagram2 mermaidDiagramOuter”.

BK @ workbench.desktop.main.js:99

ERR [18f] potential listener LEAK detected, having 225 listeners already. MOST frequent listener (75):: Error
at Kac.create (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:47:12844)
at xUo._event [as onDidChangeBadge] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:1650)
at new XT (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:436:82577)
at WMr._createInstance (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7334:2025)
at WMr.createInstance (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7334:1454)
at Object.actionViewItemProvider (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:66206)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:420:28019
at Array.forEach ()
at mg.push (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:420:27754)
at YOn.fillActionBar (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:67076)
at YOn._renderElement (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:67304)
at jxt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:67232)
at _e._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at OVt.fireChange (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:9665)
at jxt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7579:11129)
at _e._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at _e._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:398166
at Set.forEach ()
at yF.fireUpdateAndRefresh (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:398136)
at yF.updateState (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:396440)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:409975
at z6l.withLiveRun (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:412174)
at z6l.$updateTestStateInRun (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6524:409956)
at zLr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:489:35946)
at zLr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:489:35688)
at zLr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:489:34453)
at zLr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:489:33451)
at jxt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:489:31369)
at _e._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Gut.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6509:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8623:18292) ListenerLeakError: [18f] potential listener LEAK detected, having 225 listeners already. MOST frequent listener (75):
at Kac.create (workbench.desktop.main.js:47:12844)
at xUo._event [as onDidChangeBadge] (workbench.desktop.main.js:49:1650)
at new XT (workbench.desktop.main.js:436:82577)
at WMr._createInstance (workbench.desktop.main.js:7334:2025)
at WMr.createInstance (workbench.desktop.main.js:7334:1454)
at Object.actionViewItemProvider (workbench.desktop.main.js:7579:66206)
at workbench.desktop.main.js:420:28019
at Array.forEach ()
at mg.push (workbench.desktop.main.js:420:27754)
at YOn.fillActionBar (workbench.desktop.main.js:7579:67076)
at YOn._renderElement (workbench.desktop.main.js:7579:67304)
at jxt.value (workbench.desktop.main.js:7579:67232)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e.fire (workbench.desktop.main.js:49:3283)
at OVt.fireChange (workbench.desktop.main.js:7579:9665)
at jxt.value (workbench.desktop.main.js:7579:11129)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e._deliverQueue (workbench.desktop.main.js:49:3053)
at _e.fire (workbench.desktop.main.js:49:3390)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e._deliverQueue (workbench.desktop.main.js:49:3053)
at _e.fire (workbench.desktop.main.js:49:3390)
at workbench.desktop.main.js:6524:398166
at Set.forEach ()
at yF.fireUpdateAndRefresh (workbench.desktop.main.js:6524:398136)
at yF.updateState (workbench.desktop.main.js:6524:396440)
at workbench.desktop.main.js:6524:409975
at z6l.withLiveRun (workbench.desktop.main.js:6524:412174)
at z6l.$updateTestStateInRun (workbench.desktop.main.js:6524:409956)
at zLr._doInvokeHandler (workbench.desktop.main.js:489:35946)
at zLr._invokeHandler (workbench.desktop.main.js:489:35688)
at zLr._receiveRequest (workbench.desktop.main.js:489:34453)
at zLr._receiveOneMessage (workbench.desktop.main.js:489:33451)
at jxt.value (workbench.desktop.main.js:489:31369)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e.fire (workbench.desktop.main.js:49:3283)
at Gut.fire (workbench.desktop.main.js:6509:12154)
at MessagePort. (workbench.desktop.main.js:8623:18292)

Yeah not related. But glad that it resolved itself.

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