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

P: SDK: photo:getDevelopSettings() doesn't return state of the Distraction Removal panel's toggle

LEGEND ,
Jul 28, 2025 Jul 28, 2025

The state of the toggle switch for the Distraction Removal panel is not returned by photo:getDevelopSettings(), though it is accessible via LrDevelopController.getValue "EnableDistractionRemoval".  The toggles for all the other Develop panels are accessible via both photo:getDevelopSettings() and LrDevelopController.

 

This prevents my Copy Settings plugin from correctly copying the settings for Reflections and People and my Any Filter plugin from correctly searching for that toggle value.  Using LrDevelopController.getValue() is not a viable workaround, since it requires opening each photo in Develop to access its value (several orders of magnitude slower).

 

To reproduce in LR 14.4 / Mac OS:

 

1. Save the attached script in the LR Scripts folder, changing its extension to ".lua", and restart LR.

 

2. Open an image in Develop and ensure the Distraction Removal Panel toggle is on.

 

3. Run the script and observe this incorrect output:

johnrellis_0-1753749405125.png

 

The first line should end with "= true".

 

4. Toggle the Distraction Removal panel to off.

 

5. Run the script and observe this incorrect output:

johnrellis_1-1753749508818.png

 

The first line should end with "= false".

 

Bug Fixed
TOPICS
macOS , SDK , Windows
132
Translate
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 2 Pinned Replies

Adobe Employee , Jul 29, 2025 Jul 29, 2025

I've logged a ticket, @johnrellis 

Status Investigating
Translate
Adobe Employee , Oct 28, 2025 Oct 28, 2025

Hello everyone,

 

An update for Adobe Photography products has been released as part of the MAX cycle. This update addresses the reported issue.

 

If you don’t see the update in your Creative Cloud app, refresh it using [Ctrl/Cmd] + [Alt/Opt] + [R].

Please note: It may take up to 24 hours for the update to appear.

 

Thank you for your continued patience.

Status Fixed
Translate
2 Comments
Adobe Employee ,
Jul 29, 2025 Jul 29, 2025

I've logged a ticket, @johnrellis 

Rikk Flohr: Adobe Photography Org
Status Investigating
Translate
Report
Adobe Employee ,
Oct 28, 2025 Oct 28, 2025
LATEST

Hello everyone,

 

An update for Adobe Photography products has been released as part of the MAX cycle. This update addresses the reported issue.

 

If you don’t see the update in your Creative Cloud app, refresh it using [Ctrl/Cmd] + [Alt/Opt] + [R].

Please note: It may take up to 24 hours for the update to appear.

 

Thank you for your continued patience.

Status Fixed
Translate
Report