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

Aperta
#5,609 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
powershell, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
11.5k
Fork
2k
Merge medio
6h 34m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/copilot-cli

Tutte le issue di github/copilot-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.