<?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>399513</bug_id>
          
          <creation_ts>2018-10-08 13:35:31 +0000</creation_ts>
          <short_desc>Alpha lock doesn&apos;t store to kra file anymore.</short_desc>
          <delta_ts>2018-10-11 08:27:11 +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>File formats</component>
          <version>git master (please specify the git hash!)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="wolthera">griffinvalley</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>halla</cc>
    
    <cc>joupent</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/997dc077fc1857072288e3816469c13ad4a49c5c</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>1792477</commentid>
    <comment_count>0</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2018-10-08 13:35:31 +0000</bug_when>
    <thetext>SUMMARY
When making an image where layers are alpha-locked, and saving, on load alpha is unlocked.

STEPS TO REPRODUCE
1. Make image with layers.
2. Alpha lock a layer
3. save image.
4. Load image.

OBSERVED RESULT
Layer is not alpha locked anymore.

EXPECTED RESULT
Layer is alpha locked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792478</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-10-08 13:39:12 +0000</bug_when>
    <thetext>Broken since 4.1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792512</commentid>
    <comment_count>2</comment_count>
    <who name="">joupent</who>
    <bug_when>2018-10-08 15:54:45 +0000</bug_when>
    <thetext>This seems to be the result of commit 365d0eb775cbff3bf6afda3f9b703741dbd68710 (&quot;Do not save and load channel lock flags to .kra&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793318</commentid>
    <comment_count>3</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-10-11 07:47:37 +0000</bug_when>
    <thetext>Git commit 1e51130f30ebb28ee427cb044f4a6bd365f09d80 by Boudewijn Rempt.
Committed on 11/10/2018 at 07:46.
Pushed by rempt into branch &apos;master&apos;.

Fix saving layer lock, alpha lock and alpha inheritance

M  +3    -0    plugins/impex/libkra/kis_kra_loader.cpp
M  +5    -0    plugins/impex/libkra/kis_kra_savexml_visitor.cpp
M  +1    -0    plugins/impex/libkra/kis_kra_tags.h

https://commits.kde.org/krita/1e51130f30ebb28ee427cb044f4a6bd365f09d80</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793342</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-10-11 08:27:11 +0000</bug_when>
    <thetext>Git commit 997dc077fc1857072288e3816469c13ad4a49c5c by Boudewijn Rempt.
Committed on 11/10/2018 at 07:56.
Pushed by rempt into branch &apos;krita/4.1&apos;.

Fix saving layer lock, alpha lock and alpha inheritance
(cherry picked from commit 1e51130f30ebb28ee427cb044f4a6bd365f09d80)

M  +3    -0    plugins/impex/libkra/kis_kra_loader.cpp
M  +5    -0    plugins/impex/libkra/kis_kra_savexml_visitor.cpp
M  +1    -0    plugins/impex/libkra/kis_kra_tags.h

https://commits.kde.org/krita/997dc077fc1857072288e3816469c13ad4a49c5c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>