Bug 449798 - Aspect Ratio Crop inconsistency ?
Summary: Aspect Ratio Crop inconsistency ?
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Crop (show other bugs)
Version: 7.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 16:49 UTC by Alexandre Belz
Modified: 2022-02-08 20:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments
Screen Capture (1.31 MB, image/png)
2022-02-08 16:49 UTC, Alexandre Belz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belz 2022-02-08 16:49:04 UTC
Created attachment 146449 [details]
Screen Capture

SUMMARY
***
Inconsistency between selected (recalled/restored) default 4:3 ration, while 1:1 is effectively applied 
***


STEPS TO REPRODUCE
1. Open a picture on Picture Editor
2. Click on "Aspect Ratio Crop"
3. Aspect Ratio is asked 4:3 ont the right panel

OBSERVED RESULT
Selection area has an Aspect Ratio of  1:1, and "Custom Ratio" bars are enabled. 

EXPECTED RESULT
Selection area should be 4:3, "Custom Ratio" bars should be disabled. 

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
* Does not depend on picture
* Clicking on general button "Defaults" (at the bottom) change the sliders value, but not the displayed area (that stays 1:1)

Found WORKAROUND : 
* Select Custom
* Select back 4:3 ;  then only the right Aspect Ratio is displayed on the picture.
Comment 1 Maik Qualmann 2022-02-08 20:11:07 UTC
Git commit 330f0ce5a1a030c511ac1d16b6dabe95e3287fcd by Maik Qualmann.
Committed on 08/02/2022 at 20:10.
Pushed by mqualmann into branch 'master'.

fix resetting ratio crop tool in the non restore tool mode
FIXED-IN: 7.6.0

M  +1    -1    NEWS
M  +60   -4    core/dplugins/editor/transform/ratiocrop/ratiocroptool.cpp
M  +1    -0    core/dplugins/editor/transform/ratiocrop/ratiocroptool.h

https://invent.kde.org/graphics/digikam/commit/330f0ce5a1a030c511ac1d16b6dabe95e3287fcd