Bug 406049

Summary: Add option to force crop within image boundary
Product: [Applications] krita Reporter: reptillia39
Component: Resize/Scale Image/LayerAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: halla, raghu
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description reptillia39 2019-03-30 16:59:51 UTC
SUMMARY
I noticed when grow option is not checked, you can advertly change the cropping to not follow your initial locked numbers. So, it would be interesting to see if Krita could force cropping area to stay within boundary area.


STEPS TO REPRODUCE
1. Turn off Grow
2. Set in locked numbers
3. Move the crop area outside of boundary
4. See that the locked number changed

OBSERVED RESULT
Locked number changed

EXPECTED RESULT
Locked number not changed

SOFTWARE/OS VERSIONS
Windows: 10 x64
Krita 44337c5
OpenGL Enabled
Comment 1 Raghavendra kamath 2019-05-04 06:34:54 UTC
I think If grow is not enable, the crop area won't go beyond the canvas boundary so this is expected. Since the area can't go beyond the boundary, it gets clipped and remainder of the area is reflected in the locked input boxes.
Comment 2 Halla Rempt 2019-05-04 08:23:45 UTC
That's correct.