https://bugs.kde.org/show_bug.cgi?id=447462
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/bb1ab7ea4 |hics/krita/commit/36c9e609c |6b35851549da5432fc4600a95af |d2e2af3a2c92452de97152423aa |1db9 |73bc --- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 36c9e609cd2e2af3a2c92452de97152423aa73bc by Dmitry Kazakov. Committed on 27/12/2021 at 13:41. Pushed by dkazakov into branch 'krita/5.0.0'. Fix a crashes when undoing multiple layer operations too quickly This patch solve the whole bunch of issues that happened when the dummies graph was updated too quickly: 1) Implements a clever strategy for processing not-yet-added nodes in KisDummiesFacadeBase::setImage(). Instead of just asserting on detection of such nodes, we track a "theoretical" set of nodes that will be present in the dummies graph after all synchronized connections are executed. 2) KisSynchronizedConnectionBase::postEvent() will not bariier-sync with the main events queue when the event is processed in the GUI thread. 3) Fixes minor mutex usage issues in KisSynchronizedConnection 4) KisNodeModel will no longer try to fetch a thumbnail from the layer that has been removed from the image. M +17 -0 libs/global/KisSynchronizedConnection.cpp M +16 -6 libs/global/KisSynchronizedConnection.h M +23 -15 libs/ui/KisApplication.cpp M +2 -0 libs/ui/KisApplication.h M +28 -7 libs/ui/flake/kis_dummies_facade_base.cpp M +14 -1 libs/ui/kis_node_model.cpp https://invent.kde.org/graphics/krita/commit/36c9e609cd2e2af3a2c92452de97152423aa73bc -- You are receiving this mail because: You are watching all bug changes.