Tested with a corrupted .kra file and an .kra file with 0 bytes. Krita doesn't do anything when trying to open the file, no message box, no logs.
Git commit f3a5eaec2eebe90bdec7eec78f0cdd0491fd8a6e by Boudewijn Rempt. Committed on 28/03/2018 at 12:02. Pushed by rempt into branch 'master'. Return the proper import status on loading a file Setting it to OK unconditionally is wrong... M +1 -0 libs/ui/KisDocument.cpp M +0 -2 libs/ui/KisImportExportManager.cpp M +1 -1 plugins/impex/kra/kra_import.cpp https://commits.kde.org/krita/f3a5eaec2eebe90bdec7eec78f0cdd0491fd8a6e
Git commit 353816d20fd0b048834319db8f94062190bc1ecf by Boudewijn Rempt. Committed on 03/04/2018 at 11:17. Pushed by rempt into branch 'krita/4.0'. Return the proper import status on loading a file Setting it to OK unconditionally is wrong... (cherry picked from commit f3a5eaec2eebe90bdec7eec78f0cdd0491fd8a6e) M +1 -0 libs/ui/KisDocument.cpp M +0 -2 libs/ui/KisImportExportManager.cpp M +1 -1 plugins/impex/kra/kra_import.cpp https://commits.kde.org/krita/353816d20fd0b048834319db8f94062190bc1ecf