github / github/copilot-cli

Holding Ctrl+V pastes the same image repeatedly (no debounce/repeat guard)

オープン
#4,045 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Description
When pasting an image into the chat input, holding down `Ctrl+V` fires the paste event continuously with no debounce or key-repeat guard. Holding it for ~10 seconds inserts ~100 copies of the same image into the conversation.

### Version
GitHub Copilot CLI 1.0.69-0 (desktop)

### OS
Windows

### Steps to reproduce
1. Copy an image to the clipboard.
2. Focus the chat input.
3. Press and hold `Ctrl+V` for several seconds.

### Expected behavior
A held `Ctrl+V` should paste the image once (or be debounced / ignore key auto-repeat), like a normal single paste.

### Actual behavior
The image is pasted repeatedly (one insert per key-repeat event), flooding the chat with dozens of duplicate images.

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

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

調査の方向性

チャット入力欄の画像貼り付け処理から始め、画像をクリップボードに入れた状態でCtrl+Vを押し続けて、Windows上で問題を再現します。貼り付けイベントが繰り返し処理される仕組みを追跡し、キーを1回押し続けた場合に画像が1枚だけ挿入されることと、通常の個別の貼り付けが引き続き機能することを確認します。

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

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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