Bug 443044

Summary: Crop box snapping is unreliable after crop box movement
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ek.artifist, halla
Priority: NOR    
Version First Reported In: 5.0.0-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomtomtomreportingin 2021-09-28 01:35:20 UTC
SUMMARY
Crop boxes often don't snap properly to the image bounds after moving the crop box. To work around this the user must either zoom in or create a new crop box.

Not a regression of Krita 5.

STEPS TO REPRODUCE
Reproduceability of the bug might depend on the current zoom level. Try using zoom levels below 100%.
1. Make sure Snap to Image Bounds is enabled.
2. Create a 532x532 image.
3. Select Crop tool and create a crop box encompassing the whole image.
4. Move the crop box some pixels to the right.
5. Try resizing the crop box so it snaps to the image bounds.

OBSERVED RESULT
The crop box doesn't snap to the actual image bounds.

EXPECTED RESULT
The crop box should still be able to snap to image bounds while resizing after it's been moved.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.12.11 (Appimage)
Comment 1 Halla Rempt 2021-12-16 09:26:03 UTC
*** Bug 447040 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2025-05-28 08:39:23 UTC
Yes, I can (finally) confirm the issue.