Bug 515192 - Keep crop settings when changing single attribute of crop settings
Summary: Keep crop settings when changing single attribute of crop settings
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Crop (other bugs)
Version First Reported In: 8.8.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-28 07:22 UTC by Blomi
Modified: 2026-01-28 07:23 UTC (History)
1 user (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 Blomi 2026-01-28 07:22:24 UTC
SUMMARY
In the image editor aspect ratio crop settings most attributes should stay unchanged, when changing a single attribute.

SCENARIO A: Orientation
STEPS TO REPRODUCE
1. Open Aspect Ratio Crop settings
2. Change size of the rectangle
3. Change position of the rectangle
4. Change orientation setting orientation from "landscape" to "portrait"

OBSERVED RESULT
The size is set to some default(?) values.
The position is set to the default(?) values (rectangle in the middle of the image).

EXPECTED RESULT
The size should swap x and y.
The position should remain somehow as before (either left upper corner or center of the rectangle).



SCENARIO B: Aspect ratio
STEPS TO REPRODUCE
1. Open Aspect Ratio Crop settings
2. Change size of the rectangle
3. Change position of the rectangle
4. Change orientation setting "Aspect ratio" from previous value (e.g. 3:4) to "None"

OBSERVED RESULT
The size is set to some default(?) values.
The position is set to the default(?) values (rectangle in the middle of the image).

EXPECTED RESULT
The size should stay unchanged.
The position should stay unchanged.


SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
In some cases it is not possible, to keep size and position unchanged (e.g. changing aspect ratio from 1:1 to 1:2). But also in these cases the size and position could stay as close as possible on the previous values, e.g. keep the center of the rectangle the same.