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

  • 6
  • Problem
  • Updated 1 year ago
  • Acknowledged
  • (Edited)
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.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5129 Posts
  • 1454 Reply Likes

Posted 1 year ago

  • 6
Photo of Robert Somrak

Robert Somrak, Champion

  • 724 Posts
  • 227 Reply Likes
I can duplicate this issue.  (I didn't try the script as I don't have your plugin)
Photo of John R. Ellis

John R. Ellis, Champion

  • 5124 Posts
  • 1453 Reply Likes
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.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 7541 Posts
  • 1729 Reply Likes
Logged.
Photo of Patrick Kane

Patrick Kane

  • 1 Post
  • 1 Reply Like
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.
Photo of Alex Friedman

Alex Friedman

  • 10 Posts
  • 6 Reply Likes
I too look forward to a fix.