Skip to main content
johnrellis
Genius
June 19, 2019

P: Locked aspect ratios don't work with copy/paste settings or LrDevelopController

  • June 19, 2019
  • 6 replies
  • 1511 views

Locking the crop aspect ratio doesn't work after copying/pasting a crop or after using LrDevelopController to set a crop from a plugin.  Attempting to resize the locked crop will reset the aspect ratio to Original.  This appears to have broken in a recent version, and it makes my Any Crop plugin significantly less useful.

To reproduce:

1. Go to a raw photo in Develop.

2. Open the crop tool and make sure the aspect ratio is unlocked (Settings > Constrain Aspect Ratio is unchecked). 

3. Use the crop tool to set a long, narrow crop.

4. Close the crop tool.

5. Do Settings > Copy Settings, Check None, check Crop, then click Copy.

6. Go to another raw photo in Develop.

7. Do Settings > Paste Settings.

8. Open the crop tool and lock the aspect ratio (Settings > Constrain Aspect Ratio is checked).

9. Resize the crop by dragging one of the corner crop handles. Observe that the aspect ratio immediately reverts to Original (bug).

10. Do Reset to reset all the photo's develop settings.

11. Open the crop tool and make sure the aspect ratio is unlocked (Settings > Constrain Aspect Ratio is unchecked).  Close the crop tool.

12. Run the following script:

local LrDevelopController = import "LrDevelopController"
LrDevelopController.setValue ("CropTop", 0.45)
LrDevelopController.setValue ("CropBottom",  0.55)

13. Open the crop tool and lock the aspect ratio (Settings > Constrain Aspect Ratio is checked).

14. Resize the crop by dragging one of the corner crop handles. Observe that the aspect ratio immediately reverts to Original (bug).

Tested on LR 8.3.1 / Mac OS 10.14.5.

This topic has been closed for replies.

6 replies

C.Cella
Inspiring
October 10, 2022

This issue has been solved by the new "Adjust Crop" command of Any Crop Plug-in by @johnrellis 

 

With the Plug-in we are now able to apply a Custom/Preset Aspect Ratio (e.g 3.8 x 4.10)  and even it is not among those we have memorized in Lightroom we can change/scale/adjust it while keeping it locked.

 

.

Participating Frequently
June 24, 2019
I too look forward to a fix.
Inspiring
June 20, 2019
I'm glad to see this has been acknowledged as a bug. I'm a sports photographer and process a high volume of photos and bugs like this definitely impact my productivity. I look forward to the fix.
Rikk Flohr_Photography
Community Manager
Community Manager
June 20, 2019
Logged.
Rikk Flohr: Adobe Photography Org
johnrellis
Genius
June 19, 2019
Thanks. (No need to run the script.)

For future reference, anyone can run that script by putting it into a text file "bug.lua" and placing that file in the Scripts folder.  To get to the Scripts folder, do Preferences > Presets > Show All Other Lightroom Presets, and look for the Scripts subfolder, creating it if necessary.  Then restart LR and run the script from the Scripts menu, which is a scroll icon on the right end of the Mac menu bar and "Scripts" on the Windows menu bar.
Bob Somrak
Legend
June 19, 2019
I can duplicate this issue.  (I didn't try the script as I don't have your plugin)
M4 Pro Mac Mini. 48GB