github / github/app

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

オープン 初心者向け
#2,789 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reproducing the issue in the Copilot app on macOS with a focused canvas side panel, then inspect the native Edit menu handling described in the report. Done means Cmd+A selects the focused panel's contents and Cmd+A followed by Cmd+C copies them, while mouse selection and Cmd+C continue to work.

索引モデルが issue の本文から書いたものです。

評価

領域
desktop
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
72/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。