github / github/copilot-cli

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

Đang mở
#4,045 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:input-keyboard
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

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

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

Hướng nghiên cứu

Start at the chat input's image-paste handling and reproduce the issue on Windows by holding Ctrl+V with an image on the clipboard. Trace how repeated paste events are processed, then verify that one held keypress inserts only one image and that normal separate pastes still work.

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

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

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.