Lightroom CC 2015.10.1 Crop Tool has stopped working when I try to enter and save a custom aspect ratio

  • 2
  • Problem
  • Updated 9 months ago
I upgraded to Lightroom CC 2015 10.1 last week. Yesterday a student wanted to create a custom crop in the Crop Overlay Tool. I clicked on the custom button and put in the desired numbers. The bounding box reflects that aspect ratio but the crop tool will not save the new custom crop in the crop tool list. Is this a bug or a change? 
Photo of Barbara Moon Batista

Barbara Moon Batista

  • 8 Posts
  • 1 Reply Like

Posted 9 months ago

  • 2
Photo of Todd Shaner

Todd Shaner, Champion

  • 1111 Posts
  • 359 Reply Likes
If the custom crop ratio is very close to an existing crop ratio it defaults to that setting. For example you enter custom crop ratio 10 x 14. It will default to the existing 5 x 7 setting, which is the same crop ratio. Is that what you are seeing?
Photo of Barbara Moon Batista

Barbara Moon Batista

  • 8 Posts
  • 1 Reply Like
I put in 5 x 3.5 and it defaults to 4.75 X 6.75 which is a custom setting entered previously. I don't think the aspect ratio is the same. 
Photo of Todd Shaner

Todd Shaner, Champion

  • 1111 Posts
  • 359 Reply Likes
Barbara, please see this reply from Simon Chen of Adobe Engineering concerning this issue:

https://feedback.photoshop.com/photoshop_family/topics/i_cant_add_certain_custom_crop_ratios_in_ligh...

If the difference between a new custom crop ratio and an existing crop ratio is less than .005 LR defaults to the existing crop ratio setting. Let's examine your situation:

(3.5 ÷ 5) - (4.75 ÷ 6.75 = .7000 - .7037 = .0037 which is less than .005

However you can use a plugin to enable entering ANY custom crop ratio:

https://forums.adobe.com/message/9050627#9050627
Photo of Patrick Philippot

Patrick Philippot

  • 406 Posts
  • 80 Reply Likes
Hi,

Please note that LR doesn't allow you to add more than 5 custom aspect ratios. Moreover, this list works according to the first in - first out model. When you have reached the 5 limit, entering a new ratio will  eliminate the first one. Indeed, this feature has been very badly designed.

I recently posted a (very awkward) way to edit the custom aspect ratios and to circumvent the 5 ratios limitation. Warning : long append.

=================================================

Here is how you can edit the custom crop ratio drop down list in Windows in order to modify or remove ratios or get more than 5 custom ratios. Make a backup of your catalog first.

1. You need an SQLite management tool. I suggest SQLite Expert Personal 5. It's free and very good. You can find it here : http://www.sqliteexpert.com/download.html .

2. After installation, make sure that LR is not running, go to the File menu of SQLite Expert and Open Database...

3. In the Open dialog, select All files in the drop down list at the bottom right of the window. Now navigate to the folder where your catalog is stored and select the corresponding .lrcat file. Click Open.

4. Your catalog will open as an SQLite database, showing tables, columns and values. In the left panel, select the table named Adobe_variablesTable.

5. In the right panel select the Data tab.

6. In the name column, select the Adobe_customCropAspects entry (line 254).

7. In the value column, right-click on the text beginning with "customCropAspects =" and chose Text Editor.

8. The contents looks like this (this is an example with 5 custom ratios) :

customCropAspects = {
    {
        h = 1,
        w = 2,
    },
    {
        h = 7,
        w = 9,
    },
    {
        h = 8,
        w = 11,
    },
    {
        h = 9,
        w = 13,
    },
    {
        h = 11,
        w = 19,
    },
}

Each block like this one
    {
        h = 11,
        w = 19,
    },

corresponds to one custom ratio (don't forget the comma).

Let's assume that you want to replace the 9x13 ratio with 13x21. Easy :

customCropAspects = {
    {
        h = 1,
        w = 2,
    },
    {
        h = 7,
        w = 9,
    },
    {
        h = 8,
        w = 11,
    },
    {
        h = 13,
        w = 21,
    },
    {
        h = 11,
        w = 19,
    },
}

Click on OK when you are done with your changes.

9. Exit SQLite Expert and click on Apply pending changes.

10. Launch LR and check the new ratio value.

11. Note that you can have more than 5 custom ratios with this procedure. You just have to add a new block. For example :

customCropAspects = {
    {
        h = 1,
        w = 2,
    },
    {
        h = 7,
        w = 9,
    },
    {
        h = 8,
        w = 11,
    },
    {
        h = 9,
        w = 13,
    },
    {
        h = 11,
        w = 19,
    },
    {
        h = 13,
        w = 21,
    },
}

defines 6 custom ratios. That works perfectly : this generates 6 custom ratios in the drop down list. Which is another evidence that this feature has not been written very seriously.

Hope this helps.
(Edited)