Cmd+A (Select All) does not work in canvas side panels on macOS

Đang mở Phù hợp với người mới
#2,789 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
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
Ít trao đổi
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề trong ứng dụng Copilot trên macOS với một side panel canvas đang được focus, sau đó kiểm tra cách xử lý native của menu Edit được mô tả trong báo cáo. Công việc được hoàn tất khi Cmd+A chọn nội dung của panel đang được focus và Cmd+A rồi Cmd+C sao chép nội dung đó, trong khi thao tác chọn bằng chuột và Cmd+C vẫn tiếp tục hoạt động.

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

Mô tả

Short summary

Cmd+A (Select All) does nothing when focus is in a canvas side panel on macOS.

Affected version or release

Copilot app, macOS (Darwin). Version not captured at the time of the report.

Installation context

Local desktop app, canvas side panel open next to a project session.

What happened?

While viewing content in a canvas side panel, I pressed Cmd+A to select the page contents so I could copy them. Nothing was selected.

Manually drag-selecting the text with the mouse and then pressing Cmd+C works fine, so copying is possible — but for anything longer than a screen it's tedious and error-prone.

This looks like the app's native macOS Edit menu has no Select All item bound to Cmd+A, so the shortcut is never routed into the webview hosting the canvas. Drag-select and Cmd+C are native webview behaviors that work without a menu binding, which is consistent with only Cmd+A being broken.

Steps to reproduce
  1. On macOS, open the Copilot app.
  2. Open any canvas in the side panel that renders a page of text/content.
  3. Click into the canvas panel to give it focus.
  4. Press Cmd+A.
  5. Observe that nothing is selected.
  6. Drag-select some text with the mouse and press Cmd+C — this works, confirming copy itself is functional.
Expected behavior

Cmd+A should select the contents of the focused canvas panel, matching standard macOS behavior and the rest of the app. Cmd+A followed by Cmd+C should copy the panel's contents.

Additional context
  • Platform: macOS (Darwin)
  • Only Cmd+A appears affected; mouse selection and Cmd+C behave normally.
  • Likely fix is registering a Select All accelerator in the app's native Edit menu so the shortcut reaches the webview.
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
157
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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/app

Tất cả issue của github/app

Issue tương tự

Thêm issue về Desktop Dev

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.