https://bugs.kde.org/show_bug.cgi?id=501128

Halla Rempt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/2021dbb
                   |                            |4514340a703c92b31d1ebdc1ebb
                   |                            |38018c
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Halla Rempt <[email protected]> ---
Git commit 2021dbb4514340a703c92b31d1ebdc1ebb38018c by Halla Rempt, on behalf
of Joshua Goins.
Committed on 17/11/2025 at 15:11.
Pushed by rempt into branch 'master'.

Don't show an error when cancelling an export

If the file type prompts you before actually saving (for example, PNG)
it's still possible to cancel the export process. However the previous
logic considers this a failure, and will show a pretty unhelpful dialog
that there was an "unknown failure" while exporting your document.

Instead, lets treat it like a cancelled export which doesn't display a
dialog. startExportInBackground unfortunately doesn't provide enough
information to the callee since a boolean can only state if it was
successful or not, I chose to just bubble up the KisImageExportErrorCode
instead.

M  +11   -6    libs/ui/KisDocument.cpp
M  +1    -1    libs/ui/KisDocument.h
M  +2    -1    libs/ui/KisImportExportUtils.h

https://invent.kde.org/graphics/krita/-/commit/2021dbb4514340a703c92b31d1ebdc1ebb38018c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to