<?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>433288</bug_id>
          
          <creation_ts>2021-02-20 05:58:48 +0000</creation_ts>
          <short_desc>Calligraphy tool does not correctly follow a transformed vector object/shape</short_desc>
          <delta_ts>2024-11-14 14:11:46 +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/Vector</component>
          <version>5.2.6</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></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="graycube">gray.cube.obj</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>ahab.greybeard</cc>
    
    <cc>vitamorus.art</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/063b4d386ae0773c8abe60b5d31cbb25cffa93ef</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>2004488</commentid>
    <comment_count>0</comment_count>
    <who name="graycube">gray.cube.obj</who>
    <bug_when>2021-02-20 05:58:48 +0000</bug_when>
    <thetext>If you build any shape with the rectangle tool, ellipse tool, polygon tool or polyline tool and skew it or rotate it, the calligraphy tool&apos;s follow selected path option will not work properly. Even after converting the shapes to path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004550</commentid>
    <comment_count>1</comment_count>
    <who name="Ahab Greybeard">ahab.greybeard</who>
    <bug_when>2021-02-20 10:13:37 +0000</bug_when>
    <thetext>SUMMARY
I can Confirm this for appimages 4.3.0 onwards to the Feb 19 5.0.0 prealpha (git 35ed4b7)

First noted in: https://forum.kde.org/viewtopic.php?f=288&amp;t=170139

If the Calligraphy Tool is used with the &apos;Follow selected path&apos; option, on any vector object or shape that has been transformed, the resulting calligraphy shape does not have the transform that was applied to the vector object/shape.
(The vector object/shape could have been transformed by using the Select Shapes Tool and then manipulating the control handles or by using the Transform Tool.)

STEPS TO REPRODUCE
1. Create a vector object/shape.
2. Transform it in some way by use of the control handles when it&apos;s selected or by use of the Transform Tool.
3. Select the vector object/shape.
4. Use the Calligraphy Tool with &apos;Follow selected path&apos; to paint around the vector object/shape.

OBSERVED RESULT
4. The painted calligraphy shape follows the untransformed path of the vector object/shape while being painted and remains as that when completed.

EXPECTED RESULT
4. The final painted calligraphy shape should follow the transformed path of the vector object shape.

ADDITIONAL INFORMATION
A workaround (limited to the case of only one vector object/shape on a layer) is to apply the transform by using a Transform Mask. In this case, the painted calligraphy shape follows the untransformed vector object/shape path and then, when completed, is transformed to the correct final shape.

SOFTWARE
Krita

 Version: 5.0.0-prealpha (git 35ed4b7)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: false

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2374253</commentid>
    <comment_count>2</comment_count>
    <who name="Vitamorus">vitamorus.art</who>
    <bug_when>2024-11-14 08:11:38 +0000</bug_when>
    <thetext>Re-confirmed for 5.2.6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2374275</commentid>
    <comment_count>3</comment_count>
    <who name="Vitamorus">vitamorus.art</who>
    <bug_when>2024-11-14 10:29:31 +0000</bug_when>
    <thetext>Additionally, &apos;Follow selected path&apos; breaks and becomes misaligned if you use the Move tool to move the shape instead of the Select Shapes tool. That doesn&apos;t seem like a desirable effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2374327</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-11-14 14:10:38 +0000</bug_when>
    <thetext>Git commit 79c8127bc8fb2c32963c8e6b510142b4fc53d589 by Dmitry Kazakov.
Committed on 14/11/2024 at 14:10.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix following existing shape in the Calligraphy Tool

M  +2    -3    plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.cpp

https://invent.kde.org/graphics/krita/-/commit/79c8127bc8fb2c32963c8e6b510142b4fc53d589</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2374328</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-11-14 14:11:46 +0000</bug_when>
    <thetext>Git commit 063b4d386ae0773c8abe60b5d31cbb25cffa93ef by Dmitry Kazakov.
Committed on 14/11/2024 at 14:11.
Pushed by dkazakov into branch &apos;master&apos;.

Fix following existing shape in the Calligraphy Tool

M  +2    -3    plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.cpp

https://invent.kde.org/graphics/krita/-/commit/063b4d386ae0773c8abe60b5d31cbb25cffa93ef</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>