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

Ouverte
#5,609 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
72/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
powershell, python

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
11.5k
Forks
2k
Merge moyen
6 h 34 min
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/copilot-cli

Toutes les issues de github/copilot-cli

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.