Unsaved document tabs not restoring when global history setting is off
- Lenguaje dominante
- Vala
- Estrellas
- 521
- Forks
- 118
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 14
Descripción
## Prerequisites
- [X] I have searched open and closed issues for duplicates.
## Describe the bug
If global history setting is off new unsaved documents tab not restored.
### To Reproduce
Steps to reproduce the behavior:
1. Disable global history from Privacy → History
2. Open Code editor
3. Create new document and close without saving
4. Reopen Code editor
### Expected behavior
I can understand respecting global "Privacy → History" setting here but for unsaved documents better to restore tabs.
## Platform Information
```bash
$ dpkg-query --show io.elementary.code
io.elementary.code 3.2.0~r2947+pkg128~ubuntu5.1.1
$ head -2 /etc/os-release
NAME="elementary OS"
VERSION="5.1 Hera"
```
- [X] I'm using the latest released stable version
Guía de contribución
Línea de trabajo
Start with the Code editor's Privacy → History setting and the logic that restores document tabs after reopening. Reproduce the described sequence with global history disabled, then trace how unsaved documents are handled. Done means an unsaved tab is restored without changing the global history behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- desktop
- 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