Unsaved new documents created in a second window appear lost if the window is closed
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- linux
- Área
- desktop
Línea de trabajo
Reproduce el informe con autosave desactivado, usando un documento nuevo en una segunda ventana; después, inspecciona cómo gestiona la aplicación el archivo sin guardar en ~/.local/shared/io.elementary.code/unsaved. Compara el comportamiento al cerrar la ventana con la restauración tras reiniciar, y define done como una advertencia al cerrar o como la restauración fiable de todos los documentos sin guardar aptos en la primera ventana.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What Happened?
Created a new document and opened it in a new window. Edited the document. Closed the window. The window closed without warning. The autosave feature was off.
The document was in fact saved in ~/.local/shared/io.elementary.code/unsaved but was not restored when the app was closed and restarted as it was not open in the first window. There was no way to restore it through the apps UI unless you knew where it was.
Steps to Reproduce
- Turn off autosave
- Create a new document and then open it in a new window.
- Alternatively, open a new window and create a new document in it.
- Add some text
- Close the window
- The window closed without any warning
- Close the app and restart it
- The new document is not restored
Expected Behavior
Either throw a warning dialog when a window is closed with an unsaved new document or restore all unsaved new documents into the first window on restarting the app (subject to privacy settings).
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
No response
Hardware Info
No response
- Lenguaje dominante
- Vala
- Estrellas
- 521
- Forks
- 119
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 13
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de elementary/code
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
elementary/code#1818 · 1 comentario ·
-
Unmounting a mount containing a file being edited by Code does not result in a "busy" warning Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
elementary/code#1813 · 2 comentarios ·
-
Fuzzy Find icon in the sidebar AbiertoNeeds Design Priority: Wishlist
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
elementary/code#1786 · 3 comentarios ·
-
Needs Design Priority: Wishlist
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
elementary/code#1783 ·
-
Priority: Wishlist
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
elementary/code#1762 · 3 comentarios ·
Todos los issues de elementary/code
Issues similares
-
Startup alerts tell the user to click Save and Apply, but the settings button is labelled Save Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
alexgorbatchev/simple-ptt#11 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
bug good first issue multicut serialization
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
accepted bug via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
seagle0128/doom-modeline#835 ·