https://bugs.kde.org/show_bug.cgi?id=457123
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/369e67c32 |hics/krita/commit/29b26f7e3 |cf8c7760338315c88b5861f8d9d |4cbc1caaed6dcd22369d3444b96 |cfbc |4aa3 --- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 29b26f7e34cbc1caaed6dcd22369d3444b964aa3 by Dmitry Kazakov. Committed on 26/07/2022 at 10:19. Pushed by dkazakov into branch 'krita/5.1'. Fix a crash when thumbnailer loads a PSD with embedded resources There were two issues: 1) When the document doesn't have its own temporary storages, we shouldn't add resources to them. 2) We cannot add embedded resources to **any** storage, when the document is being loaded from the non-gui thread (which happens in the thumbnailer). Therefore we need a special class, KisEmbeddedResourceStorageProxy, which would put the embedded resources into KisLocalStrokeResources and dispatch to other resources that need them. M +15 -13 libs/image/kis_asl_layer_style_serializer.cpp M +1 -0 libs/resources/CMakeLists.txt A +58 -0 libs/resources/KisEmbeddedResourceStorageProxy.cpp [License: GPL(v2.0+)] A +56 -0 libs/resources/KisEmbeddedResourceStorageProxy.h [License: GPL(v2.0+)] M +6 -0 libs/resources/KisLocalStrokeResources.cpp M +2 -0 libs/resources/KisLocalStrokeResources.h M +4 -2 libs/ui/KisDocument.cpp M +1 -2 plugins/impex/libkra/kis_kra_loader.cpp M +11 -12 plugins/impex/psd/psd_loader.cpp https://invent.kde.org/graphics/krita/commit/29b26f7e34cbc1caaed6dcd22369d3444b964aa3 -- You are receiving this mail because: You are watching all bug changes.