https://bugs.kde.org/show_bug.cgi?id=445612
Bug ID: 445612 Summary: When cropping from center, the crop area shrinks asymmetrically after it overflows the image boundary Product: digikam Version: 7.3.0 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Plugin-Editor-Crop Assignee: digikam-bugs-n...@kde.org Reporter: war...@gmx.de Target Milestone: --- SUMMARY I have a 4:3 image which shows an object. I want to crop an area with 1:1 aspect that is centered on that object, and which will use the image's full height, which means that it only cuts away parts of the image to the left and right. STEPS TO REPRODUCE 1. Start crop tool 2. Position initial 1:1 crop, centered on the object so that the frame touches the left and right edge of the object 3. Enlarge the crop, but with keeping the object in the center (by pressing Ctrl during dragging) 4. At first, the Crop area enlarges as expected OBSERVED RESULT If I enlarge the crop area so much that one of its sides leaves the image area, the area shrinks as soon as I release the mouse button in order to fit into the image again. The problem is that this does not keep the center of the area. EXPECTED RESULT 1a. Either the crop area should keep its center after releasing the mouse button, 1b. or the crop tool should not be able to expand past the image boundary in the first place. But in that case, it will not be possible to set a crop area around a center point by just dragging the corners. The best solution (not only for this problem but also as a general feature) is to introduce drag handles an the center of the four sides of the crop area. For reference what I mean, please look at the cropping tool of Gimp. Thank you. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.14.16-arch1-1 (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz Memory: 31.0 GiB of RAM Graphics Processor: AMD PITCAIRN -- You are receiving this mail because: You are watching all bug changes.