Bug 461553 - (liquify) Transform Mask's static cache is recalculated after every layer visibility change
Summary: (liquify) Transform Mask's static cache is recalculated after every layer vis...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (other bugs)
Version First Reported In: 5.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-07 16:36 UTC by yuvalabc
Modified: 2024-09-13 09:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuvalabc 2022-11-07 16:36:15 UTC
currently, due to the bad performance issues with the liquify transform, i have to duplicate a single liquify transform mask; my workflow consists of applying a transform to a group with different versions of the same drawing.
my issue is, when turning invisible and visible again a layer with a liquify transform mask in it, krita recalculates the transform for no reason! however, krita knows to not do this if i wrap the layer in an additional group.

STEPS TO REPRODUCE:
1. create a layer with content on it
2. add a liquify transform mask to it
3. toggle visibility of the paint layer; the layer should take several seconds to recalculate the transform (for big enough layers), even though there was nothing to recalculate
4. put the layer in a group and toggle the visibility of the group; suddenly krita knows to not recalculate the transform, and there is no delay in rendering the layer.

p.s it would have been great if i could have avoided this mask duplication altogether, and just have krita properly cache the transform for every layer in the group for a fast preview, or, ideally, for the liquify performance issues to be amended.
Comment 1 Dmitry Kazakov 2024-09-13 09:57:22 UTC
I've started a related discussion on KA: https://krita-artists.org/t/need-feedback-layer-visibility-toggle-performance-in-krita/101691