Bug 414203

Summary: Crop tool doesn't respect locked settings
Product: [Applications] krita Reporter: Marcin Gurtowski <halftough29a>
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ghevan
Priority: NOR    
Version First Reported In: 4.2.7.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marcin Gurtowski 2019-11-16 15:26:31 UTC
SUMMARY
When locking settings such as "width", "height" and "aspect ratio", they won't be respected when resizing cropped area and going over canvas boundary.

STEPS TO REPRODUCE
1. Open image
2. Select Crop Tool
3. Lock ratio on 1.0
4. Select a square to be cropped
5. Move selection partially over canvas boundary or resize it while going over canvas bondary

OBSERVED RESULT
Selection changes aspect ratio

EXPECTED RESULT
Movement of selection should be blocked to keep aspect ratio

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.0.0-36-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz
Memory: 7,7 GiB
Comment 1 vanyossi 2019-11-19 02:01:02 UTC
Thanks for your report, this is already fixed and it will be available for 4.2.8

related commit: https://invent.kde.org/kde/krita/commit/8d032ed4bd01eb2a28eaff42c78ec2d56e36b850