Skip to content

New dialog for recoversing named autosaves (autosaves for existing files)

I created a new dialog for recoversing named autosaves (autosaves for existing files)

Test Plan

  1. Run Krita from console.
  2. Create a new file, save it.
  3. Make a few more changes.
  4. Wait for autosave to be triggered.
  5. Close Krita with ctrl+C in the command line.
  6. Open Krita.
  7. Try to open the saved file. You'll see the dialog. Press "Cancel". It will close the dialog and do nothing.
  8. Try to open the saved file. You'll see the dialog. Press "OK". It will open the autosaved file (with changes you made in point 3.).
  9. Close Krita with ctrl+C in the command line. Open it again.
  10. Try to open the saved file. You'll see the dialog. Select "Discard autosave, open main file". Press "OK". It will open the file without the new changes you made in point 3.

Image of the dialog: Zrzut_ekranu_z_2020-05-11_20-01-54

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

Merge request reports