Laverna: Cancel saves the Changes

Created on 6 Jul 2016  路  3Comments  路  Source: Laverna/laverna

expected: Cancel discards changes, Save saves changes
only works for new note, editing an old note: Cancel saves changes

bug

Most helpful comment

I will try to solve this bug. The problem is the auto save feature. It automatically saves after a few seconds, even if I click cancel afterwards. I will try to solve this by auto save in a tmp note, which will be deleted when you click cancel, but not if the program accidentally crashes.

All 3 comments

Plus when clicking cancel on a new note the note still will be created.

I will try to solve this bug. The problem is the auto save feature. It automatically saves after a few seconds, even if I click cancel afterwards. I will try to solve this by auto save in a tmp note, which will be deleted when you click cancel, but not if the program accidentally crashes.

In addition, it would probably make sense to add a prompt to confirm cancellation when changes are detected.

Currently, thanks to auto save, if I am working on a note for a few hours, then accidentally hit Cancel, I don't lose anything.

If Cancel were to actually discard the changes, then that opens up an easy way to accidentally lose your work.

Ultimately I think the ideal solution would be the addition of Notes History (#125), and then it would make sense to eliminate the distinction between Save and Cancel.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

igorsantos07 picture igorsantos07  路  7Comments

Aaron-Zhao picture Aaron-Zhao  路  5Comments

userdaphi picture userdaphi  路  4Comments

InviteCiel picture InviteCiel  路  3Comments

JerJohn15 picture JerJohn15  路  4Comments