<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>392413</bug_id>
          
          <creation_ts>2018-03-27 14:36:56 +0000</creation_ts>
          <short_desc>Opening corrupted .kra files does not show message box</short_desc>
          <delta_ts>2018-04-03 11:48:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Usability</component>
          <version>4.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alvin Wong">alvin</reporter>
          <assigned_to name="Halla Rempt">halla</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/353816d20fd0b048834319db8f94062190bc1ecf</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1741038</commentid>
    <comment_count>0</comment_count>
    <who name="Alvin Wong">alvin</who>
    <bug_when>2018-03-27 14:36:56 +0000</bug_when>
    <thetext>Tested with a corrupted .kra file and an .kra file with 0 bytes. Krita doesn&apos;t do anything when trying to open the file, no message box, no logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741288</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-03-28 12:03:39 +0000</bug_when>
    <thetext>Git commit f3a5eaec2eebe90bdec7eec78f0cdd0491fd8a6e by Boudewijn Rempt.
Committed on 28/03/2018 at 12:02.
Pushed by rempt into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742863</commentid>
    <comment_count>2</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-04-03 11:48:18 +0000</bug_when>
    <thetext>Git commit 353816d20fd0b048834319db8f94062190bc1ecf by Boudewijn Rempt.
Committed on 03/04/2018 at 11:17.
Pushed by rempt into branch &apos;krita/4.0&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>