<?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>392229</bug_id>
          
          <creation_ts>2018-03-23 12:20:25 +0000</creation_ts>
          <short_desc>Some Transform Masks on a layer do not Export properly</short_desc>
          <delta_ts>2018-04-07 13:44:50 +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>Tools/Transform</component>
          <version>4.0</version>
          <rep_platform>Debian stable</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, release_blocker</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahab Greybeard">ahab.greybeard</reporter>
          <assigned_to name="Dmitry Kazakov">dimula73</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/b4dc82de116bdbe05a90e7e65071005fabb8e11b</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>1739982</commentid>
    <comment_count>0</comment_count>
    <who name="Ahab Greybeard">ahab.greybeard</who>
    <bug_when>2018-03-23 12:20:25 +0000</bug_when>
    <thetext>This applies to the Krita 4.0.0 appimage.

If a Transform Mask is added to an image in a paint layer and then a Warp, Cage or Liquify transform is applied, the resulting image is not exported for .png, .gif and .tga outputs. Any other image layers are correctly exported.

The mitigation for this is to copy the paint layer (and its masks) and then flatten the copy, then export.

This might be related to the fact that these transforms are only updated every three seconds as noted in the documentation:
https://docs.krita.org/Transformation_Masks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742605</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-04-02 13:42:04 +0000</bug_when>
    <thetext>This is a regression caused by the saving-in-the-background feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742918</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-04-03 16:52:08 +0000</bug_when>
    <thetext>Git commit dd14f02b8acb99a316c4f15c5195d0204a0fc7a4 by Dmitry Kazakov.
Committed on 03/04/2018 at 16:51.
Pushed by dkazakov into branch &apos;master&apos;.

[Krita 4.1 only] Optimize cloning of the image while saving

We shouldn&apos;t regenerate the projection of the image, when cloning
we clone all the projections as well.

WARNING: this patch is extremely dangerous! If you happen to see some
         loss while saving, please first try to revert this patch!

M  +1    -1    libs/image/kis_transform_mask.cpp
M  +20   -13   libs/ui/KisDocument.cpp
M  +1    -1    libs/ui/KisDocument.h

https://commits.kde.org/krita/dd14f02b8acb99a316c4f15c5195d0204a0fc7a4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742919</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-04-03 16:52:57 +0000</bug_when>
    <thetext>For 4.0.1 the fix in this commit:
https://cgit.kde.org/krita.git/commit/?id=588ae9bbbfeec91180a64f1fa637ed6dc5e1ecfb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743689</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-04-07 13:44:50 +0000</bug_when>
    <thetext>Git commit b4dc82de116bdbe05a90e7e65071005fabb8e11b by Dmitry Kazakov.
Committed on 07/04/2018 at 13:28.
Pushed by dkazakov into branch &apos;krita/4.0&apos;.

Fix saving of Transform Mask into rendered formats

We should ensure all the time-based nodes finished updating before
the image gets saved.

M  +2    -2    libs/global/kis_thread_safe_signal_compressor.cpp
M  +11   -1    libs/ui/KisDocument.cpp
M  +1    -10   plugins/tools/tool_transform2/kis_tool_transform.cc

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

    </bug>

</bugzilla>