Bug 291170

Summary: particle brush breaks scratchpad
Product: [Applications] krita Reporter: Adam C <bugs_kde_org2>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugs_kde_org2, dimula73, lukast.dev
Priority: HI    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Adam C 2012-01-10 14:07:51 UTC
Version:           svn trunk (using KDE 4.7.4) 
OS:                Linux

if dy scale is negative in the particle brush and you start drawing something, then the particles escape into the opposite direction. if it escapes too far, it's not possible to draw anything any more or to clear the scratchpad.

the same happens with the drawing area.

Reproducible: Didn't try

Steps to Reproduce:
.

Actual Results:  
.

Expected Results:  
.

OS: Linux (x86_64) release 2.6.37.6-0.9-desktop
Compiler: gcc
Comment 1 Adam C 2012-01-10 14:11:13 UTC
moreover krita fills up the memory, eats cpu and doesn't want to quit.
Comment 2 LukasT 2012-01-11 09:30:07 UTC
Confirmed. I will take a look.
Comment 3 Dmitry Kazakov 2013-09-26 18:22:33 UTC
Can be reproducible with a touchpad. It might be probably related to the Indirect Painting, because the scratchpad can be *cleared* *partially* even when the scratchpad's scheduler has hung.
Comment 4 Dmitry Kazakov 2013-09-26 18:23:07 UTC
There is no dataloss, but Krita should be restarted to get rid of it.
Comment 5 Dmitry Kazakov 2014-01-09 10:44:34 UTC
The usual canvas can also be hanged-up :( So data-loss is present
Comment 6 Dmitry Kazakov 2014-01-28 13:37:25 UTC
Git commit 8e3e934bdfdfd7319953ebd458a12f7b09d54d1f by Dmitry Kazakov.
Committed on 28/01/2014 at 13:35.
Pushed by dkazakov into branch 'master'.

Fix the hangup when the Particle Brush is used with negative scale

The negative scale makes the equation unstable, but it still might be
interesting for the painter.

M  +19   -1    krita/plugins/paintops/particle/particle_brush.cpp

http://commits.kde.org/calligra/8e3e934bdfdfd7319953ebd458a12f7b09d54d1f
Comment 7 Dmitry Kazakov 2014-02-04 08:21:43 UTC
Git commit a8af184a6e74224be606cf9cf0ab6fa496cb0967 by Dmitry Kazakov.
Committed on 28/01/2014 at 13:35.
Pushed by dkazakov into branch 'calligra/2.8'.

Fix the hangup when the Particle Brush is used with negative scale

The negative scale makes the equation unstable, but it still might be
interesting for the painter.

M  +19   -1    krita/plugins/paintops/particle/particle_brush.cpp

http://commits.kde.org/calligra/a8af184a6e74224be606cf9cf0ab6fa496cb0967