github / github/copilot-cli

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

Offen
#4,045 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.