Skip to content

Recovery of unnamed documents #3500

Closed
Closed

Description

@de-abreu

Describe your feature request

Have files be saved in a given folder until the user selects to save it elsewhere.

What problem does this feature solve?

Accidental loss of work.

Additional context [optional]

Often I start writing documents forgetting to first save them to their intended folder. I work on them for a while and them shut down my computer. Markdown does not emit warnings and closes, I lose the work that I've done.

Activity

  1. schlichtanders commented on Jan 8, 2025

    @schlichtanders

    I stopped using marktext because of this missing feature. Sometimes my system just crashes because of too low memory and stuff and am not disciplined enough to always name documents immediately. Using libre office writer now instead, quite disappointing

  2. schlichtanders commented on Jan 8, 2025

    @schlichtanders

    duplicate of #732

  3. Jocs commented on Jul 2, 2026

    @Jocs
    Member

    Thanks for the request, and sorry this cost you work back then. Good news: current MarkText versions implement exactly this. Every open tab — including unsaved, never-named documents — is continuously written to an on-disk buffer store (debounced ~1s after each edit) and restored on the next launch. The default startup action is "Restore all", so if the app or system crashes, your unnamed documents come back with their content on relaunch. There is also a confirmation prompt before closing a window that has unsaved changes. Since this is now shipped, we're closing the issue. If you're on a recent build and still lose an unnamed document after a crash, please reopen with your version and repro steps and we'll dig in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦄 feature request🔭 area/ui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions