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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/a2276890fa0e2d |krita/commit/df9d1aafd52d4b
                   |32535e98796ef6b6ec1f906bf8  |bdfe78ec6f742d9d321a3dc8b5

--- Comment #39 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit df9d1aafd52d4bbdfe78ec6f742d9d321a3dc8b5 by Dmitry Kazakov.
Committed on 17/02/2020 at 08:25.
Pushed by dkazakov into branch 'master'.

Fix hangup when loaging image with generator/file layers

When loading layers we shouldn't "block" updates, we shoudl just drop them.
When loading is finished, KisImage::initialRefreshGraph() will be called
anyway, and the projections will become initialized.

To implement proper dropping of the updates I had to (finally) implement
nested projection updates filters. Before the patch, there could be only
one filter installed. Now they can be stacked in a nested way. What is
more the caller now gets a special ticket ("cookie") for the installed
filter, so the system can catch interleaved/non-nested filter handling,
which is prohibited.

# Conflicts:
#       libs/image/kis_suspend_projection_updates_stroke_strategy.cpp
#       libs/image/tests/kis_strokes_queue_test.cpp

M  +52   -23   libs/image/kis_image.cc
M  +43   -6    libs/image/kis_image.h
M  +4    -2    libs/image/kis_image_interfaces.h
M  +3    -2    libs/image/kis_projection_updates_filter.h
M  +9    -5    libs/image/kis_regenerate_frame_stroke_strategy.cpp
M  +4    -2    libs/image/kis_stroke_strategy_factory.h
M  +6    -11   libs/image/kis_strokes_queue.cpp
M  +1    -2    libs/image/kis_strokes_queue.h
M  +29   -17   libs/image/kis_suspend_projection_updates_stroke_strategy.cpp
M  +8    -2    libs/image/kis_suspend_projection_updates_stroke_strategy.h
M  +1    -0    libs/image/kis_types.h
M  +2    -7    libs/image/kis_update_scheduler.cpp
M  +3    -8    libs/image/kis_update_scheduler.h
M  +8    -8    libs/image/tests/kis_strokes_queue_test.cpp
M  +3    -1    libs/ui/KisDocument.cpp
M  +0    -14   libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp
M  +2    -2    plugins/impex/kra/kra_converter.cpp

https://invent.kde.org/kde/krita/commit/df9d1aafd52d4bbdfe78ec6f742d9d321a3dc8b5

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

Reply via email to