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

--- Comment #3 from Dmitry Kazakov <[email protected]> ---
Git commit a059548b007f99e32533c77e26f0d25650998027 by Dmitry Kazakov.
Committed on 28/01/2026 at 12:24.
Pushed by dkazakov into branch 'master'.

Add Image->Purge Unused Image Data

Under some conditions it might happen that some layers and/or
projections will contain vast areas of fully transparent data. It can
cause a lot of undesirable side-effects, like layer thumbnails
recalculating too slowly or image compositing being extremely
slow.

This patch adds a new user-faced action Image->Purge Unused
Image Data, which iterated through all existing layers and removing
all fully transparent areas.

Just a mere calling to this action can workaround the "slow thumbnail
generation" issue as reported in bug 510627. Hence calling to that also
switches all the layers back into "precise" thumbnail generation mode.

WARNING: calling this action can potentially break Undo/Redo for your
image. Please take that into account until the feature is fully tested.
CC:[email protected]

M  +2    -1    krita/krita5.xmlgui
M  +12   -0    krita/kritamenu.action
M  +68   -13   libs/image/kis_image.cc
M  +14   -0    libs/image/kis_transaction.h
M  +11   -0    libs/ui/kis_layer_manager.cc
M  +1    -0    libs/ui/kis_layer_manager.h
M  +2    -1    libs/ui/kis_statusbar.cc

https://invent.kde.org/graphics/krita/-/commit/a059548b007f99e32533c77e26f0d25650998027

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

Reply via email to