Bug 409445 - No way to cancel autosave after trying to close the window
Summary: No way to cancel autosave after trying to close the window
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-03 08:02 UTC by Tiar
Modified: 2020-05-04 11:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiar 2019-07-03 08:02:49 UTC
SUMMARY
If you try to close the window during autosaving, it's not possible to close Krita before the autosaving finishes - it's not possible to cancel it.


STEPS TO REPRODUCE
1. Have a big document (big enough for saving to take several minutes).
2. Make a change.
3. Wait for Autosave to kick in.
4. Click on "X" button.


OBSERVED RESULT
The "Wait for saving to complete..." dialog is shown. There is no way to cancel autosaving now because the dialog is in focus, so clicking on the cancel button doesn't do anything.

EXPECTED RESULT
There should be a way to cancel autosaving when the user made a mistake of trying to close when autosaving was in action.


SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12.2
Krita version: git edb2c8414b 

ADDITIONAL INFORMATION
I know you can cancel autosaving before closing Krita, but still, for a big documents waiting for it to finish can take a long time, so one mistake can lead to several minutes wasted (if you for example wanted to close and reopen Krita for any reason, like bisecting or releasing the memory taken by Krita).

Actually, I'm not sure but I think that if I cancel the autosaving and then immediately try to close the window, I get the same message (that I need to wait for saving to finish).
Comment 1 Halla Rempt 2020-05-04 11:38:52 UTC
Yes, I've seen this happen too.