<?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>473715</bug_id>
          
          <creation_ts>2023-08-24 09:04:33 +0000</creation_ts>
          <short_desc>Line/shape tools: KisPaintInformation::drawingAngleSafe() DirectionHistoryInfo object is not available</short_desc>
          <delta_ts>2023-08-30 07:59:34 +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</component>
          <version>git master (please specify the git hash!)</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>release_blocker</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alvin Wong">alvin</reporter>
          <assigned_to name="Dmitry Kazakov">dimula73</assigned_to>
          <cc>dimula73</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/4616984d1efe15bf501e4a973099830e64ceda6e</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>2248414</commentid>
    <comment_count>0</comment_count>
    <who name="Alvin Wong">alvin</who>
    <bug_when>2023-08-24 09:04:33 +0000</bug_when>
    <thetext>SUMMARY
When using the line tool, rectangle tool, ellipse tool, polygon tool or polyline tool with certain brushes, the console is flooded with the message:

    krita.general: KisPaintInformation::drawingAngleSafe() DirectionHistoryInfo object is not available

STEPS TO REPRODUCE
1. Select &quot;c) Pencil-2&quot; brush
2. Switch to line tool or other affected tools
3. Hover mouse cursor over the canvas

OBSERVED RESULT
Said message is continuously being emitted.

EXPECTED RESULT
Said message should not be emitted.

SOFTWARE/OS VERSIONS
Windows: 10
Commit: a763fc634a891af41dfc35f11b7b066716512323</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2249463</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-08-30 07:58:52 +0000</bug_when>
    <thetext>Git commit 165992c517e4f1a225a0f1adb5a5da696d3b2876 by Dmitry Kazakov.
Committed on 30/08/2023 at 09:48.
Pushed by dkazakov into branch &apos;master&apos;.

Fix a warning in outline generation code in shape tools

M  +23   -2    libs/ui/tool/kis_tool_paint.cc
M  +3    -0    libs/ui/tool/kis_tool_paint.h

https://invent.kde.org/graphics/krita/-/commit/165992c517e4f1a225a0f1adb5a5da696d3b2876</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2249465</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-08-30 07:59:34 +0000</bug_when>
    <thetext>Git commit 4616984d1efe15bf501e4a973099830e64ceda6e by Dmitry Kazakov.
Committed on 30/08/2023 at 09:59.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix a warning in outline generation code in shape tools

M  +23   -2    libs/ui/tool/kis_tool_paint.cc
M  +3    -0    libs/ui/tool/kis_tool_paint.h

https://invent.kde.org/graphics/krita/-/commit/4616984d1efe15bf501e4a973099830e64ceda6e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>