Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Krita Krita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Bugzilla
    • Bugzilla
  • Merge requests 76
    • Merge requests 76
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GraphicsGraphics
  • KritaKrita
  • Merge requests
  • !1410

Warn the user if a save operation is aborted

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Halla Rempt requested to merge work/rempt/bug_410024 into master Apr 07, 2022
  • Overview 7
  • Commits 1
  • Pipelines 7
  • Changes 6

It's possible to try to save during autosave or try to export when a save is going on, and in that case the savingMutex is locked and we'd cancel() the saving operation, silently, as if the user had pressed cancel in the export dialog.

Now we can return not just a bool, but succes, failure or busy from initiateSaving depending on whether the the document was busy, saving succeeded or failed.

BUG:410024

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/rempt/bug_410024