Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In Cursor 3.x Glass (Agents Window) layout, each agent chat used to keep a sticky terminal panel on the right. After recent updates, switching between chats in the left sidebar (including across different workspace folders/projects) sometimes returns to a chat where the agent conversation is still there, but the associated terminal panel is gone.
This is not just blank terminal text (a rendering issue). The whole terminal pane for that chat is missing or not rebound. The chat history and agent UI load fine; only the per-conversation terminal state fails to restore.
This breaks multi-project workflows where you keep parallel agent sessions with running terminals and expect each chat to restore its own terminal when you click back to it.
Steps to Reproduce
- Open Cursor in Glass/Agents mode (glassMode: true).
- Use layout with chat/agent list on the left sidebar and integrated terminal on the right.
- Open Project A (e.g. one repo folder), start an agent chat, let the agent run shell commands so a terminal session is active on the right.
- Open Project B (different folder), start another agent chat with its own terminal activity.
- Switch back and forth between chats via the left sidebar (within the same project or across projects).
- After several switches (intermittent; not always on the first switch), return to a chat that previously had a visible terminal.
Observed: chat/conversation UI and history remain, but the right-side terminal panel is missing. Sometimes the panel can be forced back via Terminal menu, but the original per-chat terminal binding/session is lost.
Expected Behavior
When re-selecting an agent chat in the sidebar, Cursor should restore that conversation’s bound terminal panel and terminal session state, the same way it did in earlier builds. Each composer/chat should have independent, persistent terminal layout state across sidebar navigation.
Operating System
Windows 10/11
Version Information
Version: 3.8.16
VSCode Version: (Cursor 3.8.16 build)
Commit: 6064a4a629d1bc5b421bce9e9dc8c5967c111640
Release Track: dev
Electron/Chromium: bundled with Cursor 3.8.16
OS: Windows 10 Pro 10.0.19045 x64
For AI issues: which model did you use?
Composer 2.5 (Agent mode) — issue is UI/layout, not model-specific
Additional Information
Layout: Glass/Agents Window (glassMode: true in storage.json). Chat list left, terminal right.
Shell: PowerShell (WSL/Git Bash profiles also configured).
GPU: NVIDIA GeForce GTX 1660 SUPER (32.0.16.1047) + Intel UHD Graphics 770 (32.0.101.7085).
Relevant settings: update.releaseTrack: dev, cursor.terminal.usePreviewBox: true, cursor.agent_layout_browser_beta_setting: true.
Local state evidence (may help debug): Per-agent panel visibility is stored in globalStorage/state.vscdb under keys like glass/cursor.editorPanelVisibility.agent/{composerId} with {visible: boolean, updatedAtMs}. On this machine, 19 chats have visible: true and 2 have visible: false, suggesting per-composer terminal panel state is tracked but not always restored correctly on chat switch.
Related forum threads (similar but not identical):
- UI constantly resets layout in Cursor 2.0 (#139511) — terminal panel vanishes
- Non-sticky editor layout (#157201) — layout state not persisted across mode switches
- Secondary sidebar terminal regression (#149126) — terminal/chat tab routing issues on right panel
- Integrated Terminal Text Disappears When Switching to AI Chat (#138096) — rendering bug, distinct from whole panel missing
Workarounds tried / partial:
- Terminal menu → New Terminal sometimes restores a panel but not the original per-chat session
glass.toggleTerminalmay show a terminal but not rebind the chat-specific one- GPU acceleration off / Legacy Terminal Tool — addresses rendering freezes, not this layout persistence issue
Request: Please treat this as a Glass per-composer layout/terminal binding regression. Happy to provide state.vscdb excerpts if needed.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor