Dropping text file onto the textview should open it or insert its contents not its filename
- Lenguaje dominante
- Vala
- Estrellas
- 521
- Forks
- 118
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 14
Descripción
### What Happened?
Dropping files from a filemanager (for example) onto the Code text view inserts the filename into the target document. Other Text editors (Gnome Text Editor, AbiWord) either opens the file as a document or insert the contents into the existing document.
### Steps to Reproduce
1. Drop a text file onto a Code document
2. The filename is inserted
### Expected Behavior
The contents of the file should be inserted, either into a new document or into the target document at the drop point (not sure which).
### OS Version
8.x (Circe)
### Session Type
Classic Session (X11, This is the default)
### Software Version
Latest release (I have run all updates)
### Log Output
```shell
```
### Hardware Info
_No response_
Guía de contribución
Línea de trabajo
Empieza reproduciendo el comportamiento de arrastrar y soltar descrito en el issue #1596 y localiza el manejo de la acción de soltar archivos en la vista de texto. Determina si el resultado previsto es abrir un documento nuevo o insertar el contenido del archivo y, después, verifica que al soltar un archivo de texto ya no se inserte únicamente su nombre.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- desktop, devtools
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100