Version: svn trunk OS: Linux When clicking on the grey area around the canvas, it paints a strokes and so extend the file size (which may affect performance). I'd like strokes to be recorded over grey area only if they are started from inside canvas. Or maybe a way to disable off-canvas painting. Also I'd like a single-click shortcut to clean everything that's off-canvas on all canvas. Actually the crop tool set to layer only clean off-canvas strokes of current layer, but if set to image it doesn't (I expect it to do the same on image mode than on layer mode but on all layers) Reproducible: Didn't try Steps to Reproduce: Create a big canvas, zoom it out so that you've plenty of grey space around. Click/paint on the grey area far from the canvas. Expected Results: Stroke started from grey area shouldn't be recorded. By the way, limiting zoom-out/grey area around canvas isn't a good solution (it is useful to can zoom-out a lot)
About cleaning canvas, i think it is a really good catch. Probably we should add option to the Resize Image dialog to enable/disable cropping of layers. More than that we will have to optionally disable an explicit check of the fact that new and old sizes coincide.
For now, I think that silently cropping layers when cropping the image is more useful than doing nothing. Adding an option with an extra string will have to wait until after 2.4. If we crop the layers when cropping an image, I will consider this bug fixed.
Git commit f6622962596d2b6cb5670076a4cc64958c19a6b2 by Boudewijn Rempt. Committed on 29/02/2012 at 15:15. Pushed by rempt into branch 'master'. Crop layers even when the crop rect is as big as the image M +1 -1 krita/image/kis_image.cc http://commits.kde.org/calligra/f6622962596d2b6cb5670076a4cc64958c19a6b2