Bug 291170 - particle brush breaks scratchpad
Summary: particle brush breaks scratchpad
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: git master (please specify the git hash!)
Platform: Unlisted Binaries Linux
: HI normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 14:07 UTC by Adam C
Modified: 2014-02-04 08:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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