• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

P: SDK: Typo in documentation of photo:getDevelopSettings().orientation

LEGEND ,
Sep 16, 2023 Sep 16, 2023

Copy link to clipboard

Copied

The SDK documentation of photo:getDevelopSettings() in LrPhoto has a typo:

 

  • Orientation: (string)

 

should be:

 

  • orientation: (string)

 

(lower-case "o").

Bug Fixed
TOPICS
SDK

Views

687

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Sep 13, 2023 Sep 13, 2023

Found the problem: This is the only parameter in lowercase (orientation), but documentation states it uppercase.

getDevelopSettings()['orientation'] results in 'AB', 'BC', 'CD', 'DA'

(Note: the crop settings (CropTop, etc) always assume orientation 'AB', thus the orientation has to be taken into account for manipulating the crop settings!)

 

I sill consider this a bug and should be fixed... although it will break scripts then... well at least the documentation should be corrected.

Votes

Translate

Translate

correct answers 2 Pinned Replies

Adobe Employee , Sep 17, 2023 Sep 17, 2023

Bug logged - status updated

Status Investigating

Votes

Translate

Translate
Adobe Employee , Oct 10, 2023 Oct 10, 2023

Greetings all,

 

Updates for the Adobe Photography Products have been released.  The October 2023 updates contain a fix for this issue. 

If you do not see the update in your Creative Cloud Application, you can refresh it by hitting [Ctrl/Cmd]+[Alt/Opt]+[ R ].

Note: It may take up to 24 hours for your update to be available in your Creative Cloud app.

 

Thank you for your patience.

Status Fixed

Votes

Translate

Translate
10 Comments
Community Beginner ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

The orientation parameter should return a string of the orientation. However, I always get nil.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

The orientation parameter should return a string of the orientation. However, I always get nil.

(This topic is duplicated from discussions as I posted it there accidentally.)

Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

I accidentally posted it in discussions. It is now duplicated in bugs. Should be closed here.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

Found the problem: This is the only parameter in lowercase (orientation), but documentation states it uppercase.

getDevelopSettings()['orientation'] results in 'AB', 'BC', 'CD', 'DA'

(Note: the crop settings (CropTop, etc) always assume orientation 'AB', thus the orientation has to be taken into account for manipulating the crop settings!)

 

I sill consider this a bug and should be fixed... although it will break scripts then... well at least the documentation should be corrected.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
LEGEND ,
Sep 16, 2023 Sep 16, 2023

Copy link to clipboard

Copied

I filed a bug report on the documentation typo:

https://community.adobe.com/t5/lightroom-classic-bugs/sdk-typo-in-documentation-of-photo-getdevelops...

 

Over the years, there have been many such typos, omissions, and other mistakes in the documentation.  I recommend you use the free Show Catalog Metadata plugin to quickly examine all the information stored for a photo available via the SDK:

https://www.dropbox.com/s/rkd0lx1wjraxe4l/showcatalogmetadata.1.6.zip?dl=0

 

While "use the source, Luke" doesn't apply to LR, we can do the next best thing and look at dumps of what LR stores for a photo.

Votes

Translate

Translate

Report

Report
LEGEND ,
Sep 16, 2023 Sep 16, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Sep 17, 2023 Sep 17, 2023

Copy link to clipboard

Copied

Bug logged - status updated

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Investigating

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 10, 2023 Oct 10, 2023

Copy link to clipboard

Copied

Greetings all,

 

Updates for the Adobe Photography Products have been released.  The October 2023 updates contain a fix for this issue. 

If you do not see the update in your Creative Cloud Application, you can refresh it by hitting [Ctrl/Cmd]+[Alt/Opt]+[ R ].

Note: It may take up to 24 hours for your update to be available in your Creative Cloud app.

 

Thank you for your patience.

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Fixed

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 11, 2023 Oct 11, 2023

Copy link to clipboard

Copied

LATEST

Confirmed this is fixed in the LR 13.0 SDK, thanks.

Votes

Translate

Translate

Report

Report