Windows toast “Open” launches a blank Windows Terminal window instead of focusing the Copilot session

Aberta
#5,609 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
72/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
powershell, python

Direção de pesquisa

Start by tracing the Windows desktop-notification handling when the "notifications": true option is enabled, then reproduce the toast action with Copilot CLI running in PowerShell inside Windows Terminal. The action should focus the existing Windows Terminal window and restore the active Copilot CLI session rather than launching a blank terminal window. Verify the fix by repeating the reported Windows 11 reproduction steps and confirming that no empty terminal window is created.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area:platform-windows
Describe the bug

Clicking Open on a Copilot CLI notification toast opens a new, blank Windows Terminal window, which then closes automatically. It does not return focus to the existing Windows Terminal window or the PowerShell session running Copilot CLI.

Affected version

1.0.117

Steps to reproduce the behavior
  1. Run Copilot CLI in PowerShell inside Windows Terminal.
  2. Enable desktop notifications with "notifications": true.
  3. Switch to another app and let Copilot finish a turn or wait for your input.
  4. Click Open on the Copilot notification toast.
Expected behavior

The existing Windows Terminal window running Copilot CLI receives focus, so I can continue in that session.

Additional context

Copilot CLI: 1.0.117
• Terminal: Windows Terminal
• Shell: PowerShell
• Windows version: Windows 11 Pro

Linguagem predominante
Python
Estrelas
11.5k
Forks
2k
Merge médio
6h 34min
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/copilot-cli

Todas as issues de github/copilot-cli

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.