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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/801fe568f
                   |                            |aceb5ec87c667eb0c946083fc85
                   |                            |80db
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 801fe568faceb5ec87c667eb0c946083fc8580db by Dmitry Kazakov.
Committed on 17/11/2022 at 11:04.
Pushed by dkazakov into branch 'master'.

Make Colorize Mask generation actually cancellable

The patch introduces two things:

1) KisStrokeStrategy now has tryCancelCurrentStrokeJobAsync() method
   which is called before the jobs are actually cancelled.

2) KoUpdaterPrivate is fixed to actually cancel the action when
   it is placed in a different thread, not in the one KoProgressUpdater
   is. THIS CHANGE IS DANGEROUS! DON'T BACKPORT to Krita 5.1!

M  +7    -0    libs/image/kis_processing_visitor.cpp
M  +2    -0    libs/image/kis_processing_visitor.h
M  +2    -0    libs/image/kis_stroke.cpp
M  +5    -0    libs/image/kis_stroke_strategy.cpp
M  +7    -0    libs/image/kis_stroke_strategy.h
M  +13   -8    libs/image/lazybrush/KisWatershedWorker.cpp
M  +1    -0    libs/image/lazybrush/kis_colorize_mask.cpp
M  +13   -2    libs/image/lazybrush/kis_colorize_stroke_strategy.cpp
M  +1    -0    libs/image/lazybrush/kis_colorize_stroke_strategy.h
M  +10   -6    libs/widgetutils/KoProgressUpdater.h
M  +2    -3    libs/widgetutils/KoUpdater.cpp
M  +2    -1    libs/widgetutils/KoUpdater.h
M  +1    -1    libs/widgetutils/KoUpdaterPrivate_p.cpp
M  +0    -4    libs/widgetutils/KoUpdaterPrivate_p.h

https://invent.kde.org/graphics/krita/commit/801fe568faceb5ec87c667eb0c946083fc8580db

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

Reply via email to