Summary: | If Krita is closed while saving, the document is not saved | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Anna Medonosova <anna.medonosova> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/daf8def526223d5a717aa4152a83fbf477e23a14 | Version Fixed In: |
Description
Anna Medonosova
2019-07-02 05:29:48 UTC
Git commit b9671ace4fe47e27ebc76a4b584545d1751e5d96 by Anna Medonosova. Committed on 29/07/2019 at 17:27. Pushed by amedonosova into branch 'master'. Disallow closing Krita while it initiates saving Do not close Krita while KisMainWindow has the savingEntryMutex locked (while the background saving process is being initiated). After the background saving job is initiated, KisDocument blocks closing while it saves itself. M +11 -0 libs/ui/KisMainWindow.cpp https://invent.kde.org/kde/krita/commit/b9671ace4fe47e27ebc76a4b584545d1751e5d96 Git commit d3c5a3f613dd50342af5853d331a1e93a24eb9df by Anna Medonosova. Committed on 29/07/2019 at 17:27. Pushed by amedonosova into branch 'master'. Do not process user input during saving operations Fixes a race condition in the saving process, which is caused by processing user input events in multiple places during save. M +2 -2 libs/ui/KisDocument.cpp M +1 -1 libs/ui/dialogs/kis_delayed_save_dialog.cpp M +3 -3 libs/ui/kis_async_action_feedback.cpp https://invent.kde.org/kde/krita/commit/d3c5a3f613dd50342af5853d331a1e93a24eb9df Git commit 5ea0d79445b4fff0a6507d7a31d2a30d48462753 by Boudewijn Rempt, on behalf of Anna Medonosova. Committed on 30/07/2019 at 08:02. Pushed by rempt into branch 'krita/4.2'. Disallow closing Krita while it initiates saving Do not close Krita while KisMainWindow has the savingEntryMutex locked (while the background saving process is being initiated). After the background saving job is initiated, KisDocument blocks closing while it saves itself. M +11 -0 libs/ui/KisMainWindow.cpp https://invent.kde.org/kde/krita/commit/5ea0d79445b4fff0a6507d7a31d2a30d48462753 Git commit daf8def526223d5a717aa4152a83fbf477e23a14 by Boudewijn Rempt, on behalf of Anna Medonosova. Committed on 30/07/2019 at 08:02. Pushed by rempt into branch 'krita/4.2'. Do not process user input during saving operations Fixes a race condition in the saving process, which is caused by processing user input events in multiple places during save. M +2 -2 libs/ui/KisDocument.cpp M +1 -1 libs/ui/dialogs/kis_delayed_save_dialog.cpp M +3 -3 libs/ui/kis_async_action_feedback.cpp https://invent.kde.org/kde/krita/commit/daf8def526223d5a717aa4152a83fbf477e23a14 |