Unsaved document tabs not restoring when global history setting is off
- Dominant language
- Vala
- Stars
- 521
- Forks
- 118
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 14
Description
## 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
Contributor guide
Assessment
This issue has not been assessed yet.