Skip to content

Chat request edit input is translucent over Agents Window backgrounds #333994

Closed

Description

Copilot

Type of issue

Bug

Reproduction

  1. Open a chat in the Agents Window with a custom chat background enabled.
  2. Click an existing user request bubble to edit it (the default chat.editRequests: inline behavior).

Actual behavior

The background art is visible through the request edit input. This makes the edit surface and its text appear to have the same translucency and reduces legibility.

Expected behavior

The request edit input should remain opaque over the custom background, matching the visual treatment of the user request bubble it replaces.

Investigation

The normal request bubble has an Agents Window-specific opacity composition in src/vs/sessions/contrib/chat/browser/media/chatView.css: it uses --session-view-background as an opaque base and layers the translucent --vscode-chat-requestBubbleBackground as a gradient.

The inline edit input does not receive that override. In src/vs/workbench/contrib/chat/browser/widget/media/chat.css, the Monaco editor background is intentionally made transparent while .interactive-request.editing ... .chat-input-container gets only --vscode-chat-requestBubbleBackground, whose default is translucent. As a result, custom background artwork shows through the entire edit surface.

The Agents Window override should apply the same opaque-base-plus-tint composition to the editing .chat-input-container when .has-chat-background is active. A regression test should cover the computed edit-input background alongside the existing request-bubble opacity test.

Created from a Slack conversation.

Activity

  1. added
    unreleased
    on Sep 4, 2026
  2. added this to the 1.137.0 milestone on Sep 4, 2026
  3. added
    insiders-released
    and removed
    unreleased
    on Sep 9, 2026
  4. locked and limited conversation to collaborators on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-released

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions