<?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>423094</bug_id>
          
          <creation_ts>2020-06-17 09:43:07 +0000</creation_ts>
          <short_desc>Edge detection filter is broken when radius is set above 5.66</short_desc>
          <delta_ts>2020-07-28 11:25:25 +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>Filters</component>
          <version>4.3.0-beta2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>413317</dup_id>
          
          <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="Tyson Tan">tysontanx</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>ahab.greybeard</cc>
    
    <cc>griffinvalley</cc>
          
          <cf_commitlink></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>1937803</commentid>
    <comment_count>0</comment_count>
    <who name="Tyson Tan">tysontanx</who>
    <bug_when>2020-06-17 09:43:07 +0000</bug_when>
    <thetext>Edge detection filter is acting not as expected then its radius is set to anything above 5.66.

1) Create a new image
2) Create a empty layer
3) Draw something with Basic-5 Size preset
4) Filter --&gt; Edge Detection --&gt; Edge Detection
5) Default radius is 1.00, the preview image turns black.
6) Set radius to 5.66, the preview image is still working as intended
7) Increase radius to 5.67, the preview image jumps to white.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937906</commentid>
    <comment_count>1</comment_count>
    <who name="Ahab Greybeard">ahab.greybeard</who>
    <bug_when>2020-06-17 16:45:07 +0000</bug_when>
    <thetext>I can confirm this for the 4.3.0 beta-2 appimage and the 15 Jun 5.0.0 prealpha (git 6dc22af) appimage except for the details as follows:

The point at which the preview image jumps to white varies depending on the size of the canvas:

 5.67 px at 1024 x 1024 canvas size
11.34 px at 2048 x 2048 canvas size
22.67 px at 4096 x 4096 canvas size</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1946824</commentid>
    <comment_count>2</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2020-07-28 11:25:25 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 413317 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>