<?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>434488</bug_id>
          
          <creation_ts>2021-03-16 11:54:26 +0000</creation_ts>
          <short_desc>Line tool sensors don&apos;t properly interpret speed sensors</short_desc>
          <delta_ts>2022-02-25 12:38:01 +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>4.4.2</version>
          <rep_platform>Appimage</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>triaged</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tomtomtomreportingin</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/commit/5e76f7235669beb3cdfc39222ee8e123081eab11</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>2015763</commentid>
    <comment_count>0</comment_count>
    <who name="">tomtomtomreportingin</who>
    <bug_when>2021-03-16 11:54:26 +0000</bug_when>
    <thetext>SUMMARY
Relayed from https://krita-artists.org/t/line-tool-sometimes-does-not-produce-a-continuous-stroke/20476
It seems that the line tool exaggerates/improperly interprets the speed sensor of a brush, sometimes resulting in largely incomplete lines if the max speed is set to a value of 0.

STEPS TO REPRODUCE
1. Select Ink 2 Fineliner.
2. With &quot;Use sensors&quot; in the line tools enabled, create a fast line with the line tool.
3. Observe.

OBSERVED RESULT
The line is mostly invisible. It doesn&apos;t match up at all with a freehand line done in a similar speed.

EXPECTED RESULT
The speed is interpreted properly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.9 (Appimage)

ADDITIONAL INFORMATION
Somehow not a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107939</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2022-02-25 12:37:21 +0000</bug_when>
    <thetext>Git commit 7f1e26379c25468904cc3ad365eef5ec8c38ca74 by Dmitry Kazakov.
Committed on 25/02/2022 at 12:37.
Pushed by dkazakov into branch &apos;master&apos;.

Fix speed sensor when used in the line tool

There was a misprint in KisConverterPaintingInformationBuilder

M  +1    -1    libs/ui/tool/kis_painting_information_builder.cpp
M  +6    -0    plugins/tools/basictools/kis_tool_line.cc
M  +1    -0    plugins/tools/basictools/kis_tool_line.h

https://invent.kde.org/graphics/krita/commit/7f1e26379c25468904cc3ad365eef5ec8c38ca74</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107940</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2022-02-25 12:38:01 +0000</bug_when>
    <thetext>Git commit 5e76f7235669beb3cdfc39222ee8e123081eab11 by Dmitry Kazakov.
Committed on 25/02/2022 at 12:37.
Pushed by dkazakov into branch &apos;krita/5.0&apos;.

Fix speed sensor when used in the line tool

There was a misprint in KisConverterPaintingInformationBuilder

M  +1    -1    libs/ui/tool/kis_painting_information_builder.cpp
M  +6    -0    plugins/tools/basictools/kis_tool_line.cc
M  +1    -0    plugins/tools/basictools/kis_tool_line.h

https://invent.kde.org/graphics/krita/commit/5e76f7235669beb3cdfc39222ee8e123081eab11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>