https://bugs.kde.org/show_bug.cgi?id=415891
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Latest Commit| |https://invent.kde.org/kde/ | |krita/commit/a2276890fa0e2d | |32535e98796ef6b6ec1f906bf8 Resolution|--- |FIXED --- Comment #35 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit a2276890fa0e2d32535e98796ef6b6ec1f906bf8 by Dmitry Kazakov. Committed on 14/02/2020 at 14:13. Pushed by rempt into branch 'krita/4.2'. 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. 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/a2276890fa0e2d32535e98796ef6b6ec1f906bf8 -- You are receiving this mail because: You are watching all bug changes.