Diffusion Krita d910b21844c1

Capture stroke strategy by value in stroke job data

Authored by tusooaw on Jul 19 2019, 2:08 AM.

Description

Capture stroke strategy by value in stroke job data

Potentially we fixed a crash when the mouse is being released,
because the interaction strategy is not guaranteed to exist
at that time.

There is still a crash happening, namely the simutaneous
access to some KoShape. It seems that there is some scheduled
updating running in the GUI thread outside a stroke
catching the race condition. One possible place is
KoShapeManager::Private::updateTree(). It can be either called
directly or by updateTreeCompressor.timeout(). The latter one
is presumably unsafe.

Task: T10901

Details

Committed
tusooawAug 1 2019, 11:28 AM
Parents
R37:e7ce9bcc7157: Make ShapeMoveStrategy do the actual moving
Branches
Unknown
Tags
Unknown