Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Direct/indirect save

Open felhasznalonev opened this issue 2 months ago • 3 comments

If possible, then would be important that if a file is not saved, then application can still be closed without saving, and upon next opening, editing (that was not directly saved) can be continued from same place (a toggle button for this could also be added in settings).

felhasznalonev avatar Sep 22 '26 01:09 felhasznalonev

Duplicate of #808, which was closed yesterday, and of #779 before it.

Short version: this will not change. Markpad used to stash unsaved content at close, and that mechanism was unreliable — sometimes it came back, sometimes it disappeared with no warning. A restore that works most of the time is worse than none, because you stop checking. So content that has no file on disk always gets asked about at close.

If you want a scratch pad, save the tab once with ⌘S and turn on auto-save; after that it never prompts again.

PathGao avatar Sep 22 '26 05:09 PathGao

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.

PathGao avatar Oct 20 '26 13:10 PathGao

This ended up being added in 2.9.0: https://github.com/sftwrdotdev/Markpad/releases/tag/v2.9.0. You can quit without saving, and the unsaved edits are there when you open Markpad again. It is on by default, and you can turn it off in Settings → Files → "Restore unsaved changes on launch".

PathGao avatar Oct 29 '26 03:10 PathGao