Skip to content

Chat history truncated in editor area but visible in side panel #281998

@feoktistove

Description

@feoktistove

Description

Chat history appears truncated when using chat in the editor area, but the full history is visible when using the side panel chat view.

Steps to Reproduce

  1. Open a chat session in the editor area (e.g., from command palette: "Chat: Open Chat")
  2. Have a conversation with multiple exchanges
  3. Observe that only recent messages are visible - older messages appear to be cut off
  4. Move the same chat session to the side panel view
  5. Observe that the full history becomes visible with proper scrolling

Expected Behavior

Chat history should be fully accessible via scrolling in both the editor area and side panel, with consistent behavior between the two views.

Actual Behavior

  • Editor area: History appears truncated, older messages not accessible
  • Side panel: Full history visible and scrollable

Additional Context

  • No configuration settings appear to control this behavior
  • Both views use the same ChatWidget implementation
  • The tree widget has virtual scrolling enabled with supportDynamicHeights: true
  • This appears to be a viewport/scrolling issue specific to the editor context

VS Code Version

Build from main branch (December 2025)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchat-editorconfirmation-pendinginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions