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

Đang mở
#5,609 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
powershell, python
Lĩnh vực
cli, operating-systems

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
11.5k
Fork
2k
Merge trung bình
6 giờ 34 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/copilot-cli

Tất cả issue của github/copilot-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.