<?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>405037</bug_id>
          
          <creation_ts>2019-03-03 15:25:21 +0000</creation_ts>
          <short_desc>New vector shapes are not filled with correctly after pattern change</short_desc>
          <delta_ts>2019-03-03 15:26:36 +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>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></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Anna Medonosova">anna.medonosova</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          
          
          <cf_commitlink>https://commits.kde.org/krita/7b4550bd4600dec9a108737bd027693cbe942145</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>1841554</commentid>
    <comment_count>0</comment_count>
    <who name="Anna Medonosova">anna.medonosova</who>
    <bug_when>2019-03-03 15:25:21 +0000</bug_when>
    <thetext>If a vector shape is created with fill set to pattern

1. Select Rectangle Tool (or Ellipse, ...). In the tool options set fill to pattern.
2. Change the pattern in patterns docker.
3. Draw the shape.

The shape is filled with a gradient instead of current pattern from resource manager. There is a null pointer KisTool&apos;s d-&gt;currentPattern.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841555</commentid>
    <comment_count>1</comment_count>
    <who name="Anna Medonosova">anna.medonosova</who>
    <bug_when>2019-03-03 15:26:36 +0000</bug_when>
    <thetext>Git commit 7b4550bd4600dec9a108737bd027693cbe942145 by Anna Medonosova.
Committed on 03/03/2019 at 15:14.
Pushed by amedonosova into branch &apos;master&apos;.

Fix creating vector shapes with pattern fill

M  +1    -1    libs/ui/tool/kis_tool.cc

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

    </bug>

</bugzilla>