Drag and drop of files to attach no longer works in the Copilot app (regression, macOS)
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### Describe the bug
Dragging a file from Finder onto the GitHub Copilot app to attach it to a prompt no longer works. When a file is dropped on the prompt composer, nothing is attached: no attachment chip appears and no file path is inserted.
This is a regression. Drag-and-drop file attach worked in a previous release (the feature was originally added in #363), and after updating to a newer build it is broken again, back to the same behavior as before the feature existed.
### Affected version
1.0.65
### Steps to reproduce the behavior
1. Open the GitHub Copilot app.
2. Focus the prompt composer in a session.
3. Drag a file (for example an image PNG, or a text/source file) from Finder and drop it onto the composer.
4. Observe that nothing is attached: no attachment chip is shown and the file path is not inserted into the prompt.
### Expected behavior
Dropping a file onto the composer should attach it to the prompt (show an attachment chip / insert the file path), the same way it worked in the release where this feature was functioning.
### Additional context
- Operating system: macOS
- CPU architecture: arm64 (Apple Silicon)
- Regression: drag-and-drop file attach worked in an earlier release and stopped working again after a later update.
- Related history: #363 (drag/drop + paste of images added), #2043 (related drag handling of a macOS screenshot temp path in a terminal).
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il malfunzionamento su macOS 1.0.65, quindi confronta il comportamento attuale con l’implementazione del trascinamento della selezione introdotta in #363. Esamina #2043 per la gestione correlata dei percorsi su macOS. Il lavoro è completo quando il trascinamento di un’immagine o di un file di testo/sorgente sul compositore del prompt crea il chip dell’allegato previsto o ne inserisce il percorso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 58/100