Skip to content

Fix new session focus from the chat sessions pane#304731

Closed
a77ming wants to merge 1 commit intomicrosoft:mainfrom
a77ming:fix/agent-sessions-new-session-focus
Closed

Fix new session focus from the chat sessions pane#304731
a77ming wants to merge 1 commit intomicrosoft:mainfrom
a77ming:fix/agent-sessions-new-session-focus

Conversation

@a77ming
Copy link
Contributor

@a77ming a77ming commented Mar 25, 2026

Fixes #291149.

Summary

  • pass the active chat pane session context when the sessions pane New Session button runs the new chat action
  • keep the action targeted at the chat pane instead of falling back to the last focused widget
  • avoid focusing the welcome view input when it was the most recently focused chat widget

Testing

  • Not run (not requested)

@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 25, 2026
@a77ming
Copy link
Contributor Author

a77ming commented Mar 26, 2026

Closing at author request.

@a77ming a77ming closed this Mar 26, 2026
@a77ming a77ming deleted the fix/agent-sessions-new-session-focus branch March 26, 2026 05:44
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 Sessions Welcome View stealing focus

2 participants