Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

In Agent Session Mode, clicking the sparkle chat icon in the title bar did nothing—the tri-state toggle (show → maximize → hide) was broken.

Changes

  • Changed chat.agentsControl.clickBehavior from "focus" to "triStateToggle" in resources/workbenchModes/agent-sessions.code-workbench-mode

Root Cause

The Agent Sessions workbench mode overrode the click behavior to "focus", which only focuses the chat input when clicked. When the chat was already visible and focused, this resulted in no visible change.

Original prompt

This section details on the original issue you should resolve

<issue_title>Agent session mode breaks the tri-state toggle of the chat icon in the title bar</issue_title>
<issue_description>Testing #290241

  1. Enable Agent Session Mode
  2. Click the sparkle chat icon
    🐛 => nothing happens, even if the chat view is not maximized
    </issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix tri-state toggle of chat icon in agent session mode Fix Agent Session Mode breaks tri-state toggle of chat icon Jan 28, 2026
Copilot AI requested a review from bpasero January 28, 2026 08:54
@bpasero bpasero closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent session mode breaks the tri-state toggle of the chat icon in the title bar

2 participants