https://bugs.kde.org/show_bug.cgi?id=447599
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/3ce8590a9 | |4407ea17a6f3ce8d2772ea8a7e8 | |6075 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 3ce8590a94407ea17a6f3ce8d2772ea8a7e86075 by Dmitry Kazakov. Committed on 05/01/2022 at 10:38. Pushed by dkazakov into branch 'master'. Fix a crash when switching to a snapshot with fill layers We should replace the root before amitting any signals, because some of the layers may be subscribed to sigSizeChanged() signal (e.g. KisSelectionBasedLayer). So the old layers should be fully detached before we actually emit this signal. We should also explicitly detach the old root from the image to make sure it doesn't react on the new signals. M +24 -7 libs/image/kis_image.cc M +7 -2 libs/image/kis_selection_based_layer.cpp https://invent.kde.org/graphics/krita/commit/3ce8590a94407ea17a6f3ce8d2772ea8a7e86075 -- You are receiving this mail because: You are watching all bug changes.