Bug 406049 - Add option to force crop within image boundary
Summary: Add option to force crop within image boundary
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Resize/Scale Image/Layer (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-30 16:59 UTC by reptillia39
Modified: 2019-05-04 08:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.