elementary / elementary/code

Unsaved document tabs not restoring when global history setting is off

Open
#755 2 comments 0 reactions 0 assignees View on GitHub
Needs Design
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.