Skip to content

"Show note git versions" does not list the current note version #3810

Done

Description

@UntypedLetter

The most recent version of the note (as sitting in the editor, with changes made in the last few seconds) is not shown in the list.

Activity

  1. pbek commented on Oct 25, 2026

    @pbek
    Owner

    Only committed changes appear. Or what do you mean?

  2. UntypedLetter commented on Oct 25, 2026

    @UntypedLetter
    Author

    I mean, the version that gitk lists at the top, as the "master" (if gitk is used to see the commit history of the note instead of this).
    Even Microsoft Word shows the "current version" at the top of the "version history" (of course, restore is disabled for the "current version").

  3. pbek commented on Oct 25, 2026

    @pbek
    Owner

    That doesn't make sense to me. gitk doesn't show the current version, neither are phpstorm, lazygit or "git log". The dialogue is about getting no text that was lost. Why would you want to restore the current version?

  4. UntypedLetter commented on Oct 25, 2026

    @UntypedLetter
    Author

    What you're going through is understandable. You are thinking from a developer's POV. But now think from a user's perspective. The user just wants to see all the versions of his note up to the latest or current version conveniently in the same list for a clear comparison. The current version is not for restoring purposes but rather for a quick comparison.

    At least on Windows, gitk is showing the current version in front of the green "master" label with a separate commit ID and with QOwnNotes listed as the author and committer.

  5. added
    Type: Feature
    and removed on Nov 24, 2026
  6. changed the title [-][BUG] "Show note git versions" does not list the current note version[/-] [+]"Show note git versions" does not list the current note version[/+] on Nov 24, 2026
  7. pbek commented on Nov 24, 2026

    @pbek
    Owner

    Thanks for clarifying how you use this dialog for comparison! Starting with QOwnNotes 26.11.15, Show note git versions includes a read-only Current note entry at the top. It shows the editor text as it was when you opened the dialog, including unsaved edits, and historical diffs use that same snapshot. The newest historical version is still selected by default, and Restore is disabled for Current note.

  8. added a commit that references this issue on Nov 24, 2026
  9. UntypedLetter commented on Nov 25, 2026

    @UntypedLetter
    Author

    Pat, I was really looking forward to this. Much appreciated! 😍

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

    Type: Feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions