Skip to content

Stop Copilot agent from stealing focus #249921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dwgeddes opened this issue May 27, 2025 · 0 comments
Open

Stop Copilot agent from stealing focus #249921

dwgeddes opened this issue May 27, 2025 · 0 comments
Assignees

Comments

@dwgeddes
Copy link

I’m not a developer and don’t often submit feature requests, so apologies in advance if I'm doing it wrong.

That said, I’ve been using GitHub CoPilot in Agent mode within VS Code, and there’s a specific behavior that’s become a serious usability issue: when the Agent finishes a task, it forcibly brings VS Code to the foreground, stealing focus from whatever app I’m currently working in.

This means that if I’m typing in another window—writing notes, chatting, or working in a browser—my input is suddenly redirected into VS Code, often inserting text into places it shouldn’t be. It’s disruptive enough that I can’t multitask while using the Agent. I essentially have to sit and watch it, which lessens the productivity gains it’s supposed to offer.

I don’t know if this happens on other platforms, but I’m on macOS. A more user-friendly alternative might be:
• Bouncing the dock icon to indicate task completion (a common, non-intrusive Mac behavior), or
• Showing a notification, or
• No notification at all, letting users check on their own schedule.

Even if the current focus behavior is preferred by some, could this be made customizable via a setting?

Thanks for considering, and again, apologies if I’ve missed any best practices for submitting this kind of feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants