Skip to content

CMD-Z in notes reverts previous changes in other fields only -> invisible data "loss" #1180

@DominusExult

Description

@DominusExult

When you edit an entry, for example username or password and then change a Notes field in this entry or any other entry, CMD-Z will not revert the Notes field but instead revert the other entries.

This had almost lost me a couple of passwords I had changed a moment before editing a Notes field :(

Possibly related to #724

Steps to reproduce the behavior:

  1. Change the username in entry foo
  2. go to entry bar and edit the Notes field
  3. hit CMD-Z
  4. You will remain on the Notes field of bar you edited but the username of foo gets reverted

Expected behavior
The Notes edit should be reverted on first CMD-Z, if you press it again the username of foo should be changed and the focus should switch to the entry foo and to the username field.

Desktop (please complete the following information):

  • macOS: 11.6
  • Version 0.8-beta (20210826080826-continuous)

Additional context
Attached is a very simple test database with the password test
test.kdbx.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions