https://bugs.kde.org/show_bug.cgi?id=416706

            Bug ID: 416706
           Summary: Krita last-used filter performance problem
           Product: krita
           Version: 4.2.7
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Filters
          Assignee: krita-bugs-n...@kde.org
          Reporter: kruth...@kruthers.net
  Target Milestone: ---

Krita appears to be executing the last-used-filter every time you bring up the
filter dialog, then throwing the result away, before allowing you to make
adjustments.  I only noticed this when the "halftone" filter was remembered as
the last-used filter, because it's very slow to calculate.

See this forum topic for more details if interested:
https://forum.kde.org/viewtopic.php?f=139&t=164322
(ie. Halftone filter "virus" infected my files)

Also, this might be a second bug, but the other reason this was so noticable is
that krita would remember the last-used filter as "halftone" even after I used
the HSV adjust filter many times.  So every HSV adjustment I made would have a
long wait while the halftone filter was run then discarded.  Tell me if you
want me to open a 2nd report for this.

The last-used filter ends up saved in the kritarc prefs file, so the problem
continues even after quitting and restarting krita.


STEPS TO REPRODUCE
1. Make a new document, make a stroke or something visible
2. Bring up the HSV filter dialog with the sidebar, go to artistic -> halftone,
let it preview, then click cancel
2a. You may have to save the result of the halftone, then undo it?  Hard to
tell exactly when krita gets stuck on this filter
3. Bring up the HSV filter again, and there will be a long wait with a blue
progress bar on the layer


OBSERVED RESULT

Long wait when bringing up the HSV dialog.

EXPECTED RESULT

No waiting.


krita version:  krita-4.2.7-beta1-x86_64.appimage
(also happened in 4.2.8 when halftone was saved in prefs)

Ubuntu 18.04.3 LTS
kde plasma version: 5.12.9
kde frameworks version: 5.44.0
qt version: 5.9.5

kernel version: 4.15.0-74-generic

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to