Bug 285165 - Clicking on grey area around canvas extend it
Summary: Clicking on grey area around canvas extend it
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 11:23 UTC by animtim
Modified: 2012-02-29 18:02 UTC (History)
2 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 animtim 2011-10-28 11:23:33 UTC
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)
Comment 1 Dmitry Kazakov 2011-10-28 17:29:14 UTC
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.
Comment 2 Halla Rempt 2011-11-04 20:20:58 UTC
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.
Comment 3 Halla Rempt 2012-02-29 18:02:10 UTC
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