Bug 373923 - Moving layer group/layers is very slow
Summary: Moving layer group/layers is very slow
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 3.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 22:50 UTC by Jerry Czech
Modified: 2017-11-25 11:39 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Czech 2016-12-19 22:50:27 UTC
Hello,

I'm experiencing extreme slowdown when I'm moving layer or layer groups over canvas. My file is about 2000x1200px about 20-25 layers
When I grab a layer and move it around the canvas, it has pretty big lag, about 10sec. I get this lag even if I create new file, 2000x2000 ad one layeyer, paint some thick lines, duplicate it and start to move them.

I have latest Krita 3.1.1.0
Windows 10 64bit
Xeon E31270 3,4GHz 4cores 8thr
32gb ddr3
2x SSD Samsung Pro raid 0
Comment 1 Halla Rempt 2016-12-22 08:40:33 UTC
Hi Jerry,

The move tool is known to be slower than the transform tool, and always will be, because the transform tool doesn't really change the layer's position until the change is applied, the move tool moves the layer and recomputes the whole image again.

However, I don't see any really big lag on my system, which is much lower specced than yours. Does it make a difference whether Instant Preview is enabled or whether OpenGL is enabled? If so, what GPU do you have?
Comment 2 Jerry Czech 2016-12-22 12:07:05 UTC
Hello Boudewijn,
the transform tool work like charm, great. :-) I come from photoshop, so didn't even think about this workflow. But thanks :-) Anyway OpenGL enabled and GeForce GTX980 and Instant Preview does nothing. But thank you so much. Have a great Xmas :-)
Comment 3 Halla Rempt 2016-12-22 15:00:35 UTC
That GPU is totally fine -- I cannot think of anything else that could make a difference... Merry Xmas to you too!
Comment 4 Michel T Gonzalez 2017-02-16 14:29:24 UTC
I have this problem too, and I can see a high rise in CPU usage while the layer is moving.

The slowdown is no different between using OpenGL or not.

Like Jerry, the transform tool works for me like a charm. But if I have to move several layers, it all lags behind my mouse movent for several seconds while it slowly follows the path of the mouse cursor.
Comment 5 Halla Rempt 2017-02-27 15:37:34 UTC
It's not a "problem" -- it's just a fact. When using the move tool, you force a recalculation of all the pixels of the entire image -- and the bigger the image is, the slower that will be.

Make sure you have Instant Preview on; that makes the move tool quite a bit faster.

Check http://www.valdyas.org/~boud/moving.mkv -- that's how the move tool performs for me, and I feel it's quite okay. That's a 3508 x 4960 image, with a large layer stack, moving the layer in the middle of a group.
Comment 6 Halla Rempt 2017-11-25 11:39:38 UTC
I'm sorry, but this is the way the move tool works: we cannot change this without turning it into the transform tool. So you can use the transform tool instead, but that doesn't show the result of moving the layer accurately before you apply the transfomration.