github / github/copilot-cli

Drag and drop of files to attach no longer works in the Copilot app (regression, macOS)

Abierto
#3,955 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo el fallo en macOS 1.0.65 y, después, compara el comportamiento actual con la implementación de arrastrar y soltar introducida en #363. Revisa #2043 para consultar el manejo relacionado de rutas en macOS. Se considera terminado cuando al soltar una imagen o un archivo de texto/fuente sobre el compositor de prompts se crea el chip de adjunto esperado o se inserta su ruta.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
macos
Área
desktop
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
58/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.