Task description is overwritten when pressing ESC key

Hey. I’ve encountered a problem with restoring the description field content when using the search function. How to reproduce this bug:

  1. Search for a task and open it
  2. Search for another task and open it
  3. Edit the description
  4. Cancel the Description with escape key on keyboard
  5. the description of the previous task will be saved for the current task

Just lost my whole ticket and had to restore a backup :headstone: :sweat_smile:

Vikunja v0.24.2

I run latest unstable, I cannot reproduce, have you tested this on try?

just tried it on try and can reproduce it there. maybe browser dependent? I’m using Firefox.


Using Arc Browser, is the video above correct in the reproduce steps?

can confirm Firefox has this issue, but a page refresh took care of it:

Yeah this looks like a bug.

It is part of a feature where the description is reset to the previous state when you press esc. Do you think that’s a problem in general? Maybe we should just lose the focus and save, similar to when you click save or press ctrl enter.

No, I think it’s a nice feature in general. I use it quite often, especially when accidentally switching into the edit mode and want to reassure that I haven’t changed anything.

Should be fixed in acc7c9f8f5, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

It’s fixed! Thanks! :+1: