Persist unsaved/untitled tabs silently instead of prompting to save on close
What problem would this solve?
Closing the app (or a tab) with unsaved changes always shows a "Save / Discard / Cancel" dialog, even for untitled scratch tabs. Windows 11's Notepad instead keeps unsaved content in memory/on disk as a temp buffer and silently restores it next launch, no prompt at all. Right now Markpad's "session restore" only brings back saved tabs; anything untitled or unsaved forces a decision at close time, which defeats the "quick temp note" use case.
What would you like?
When closing a tab or the window, if a tab is untitled or has unsaved changes, don't show the Unsaved Changes dialog instead silently persist its content (e.g. to a local temp/draft store) and restore it exactly as left when the app reopens. Keep the explicit Save/Discard prompt only as an optional setting for people who want it, defaulting to silent persistence like Notepad.
Has another app got this right?
Windows 11 Notepad you can type in an untitled tab, close the app entirely (even without ever saving), and reopening it restores the tab with your text intact, no save prompt.
Which platform is this for?
Windows
duplicate with #779 . Designing decision. temporary content is not reliable。
We changed course on this. #962 is merged and will ship in the next release. Unsaved and untitled tabs are kept when you quit or close the last window, with no save prompt, and come back on the next launch, including after a crash. It's on by default under Settings → Files → Keep unsaved changes on close.
This is in 2.9.0: https://github.com/sftwrdotdev/Markpad/releases/tag/v2.9.0. Quitting or closing the last window no longer asks to save. Unsaved and untitled tabs come back on the next launch, also after a crash. It is on by default. The setting is now called Settings → Files → "Restore unsaved changes on launch".