| Summary: | Locking/Unlocking layer generate an update of layer stack | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | grum999 |
| Component: | Layer Stack | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla, intuos5 |
| Priority: | NOR | ||
| Version First Reported In: | 5.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/70e96b4a8ddfdc62935c464a6c5622568254523a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
grum999
2022-08-29 16:03:37 UTC
I can confirm the issue with the file from https://bugs.kde.org/show_bug.cgi?id=458475 I am also noticing this on Krita 5.1.1+ on Windows 10. SUMMARY Large file layers with a transform mask associated show noticeable slowdown when locking and unlocking the layer. That is because the layers are recomputed despite there being no visual change. STEPS TO REPRODUCE 1. I made an A2 CAD export and imported this PDF @300 DPI as a file layer in Krita. It's an (4960 x 7016 px image) when loaded in. 2. Then I added a transform mask to move the PDF to the center of my document, which is A3 size, 300 DPI. 3. (optional) Added a colour overlay (so the white background is grey and easier on the eyes). OBSERVATION Locking and unlocking prompts a loading bar to recompute the layer. The larger the file is on placement, the longer this computation takes. EXPECTED RESULT Krita shouldn't recompute the layer, when I haven't made any visual changes to it. If you wonder why I made a larger export than the file I am drawing on, it's because I only need to manage one export that I can than rescale and move around at hearts content as opposed to multiple smaller files. Git commit 70e96b4a8ddfdc62935c464a6c5622568254523a by Dmitry Kazakov. Committed on 19/04/2023 at 14:17. Pushed by dkazakov into branch 'master'. Don't start image recalculation when layer-locked property is changed M +28 -5 libs/image/commands/kis_node_property_list_command.cpp M +1 -1 libs/image/commands/kis_node_property_list_command.h https://invent.kde.org/graphics/krita/commit/70e96b4a8ddfdc62935c464a6c5622568254523a |