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

P: SDK: LrDevelopController.getSelectedTool() doesn't return "local_point_color"

LEGEND ,
Apr 10, 2025 Apr 10, 2025

LrDevelopController.getSelectedTool() returns "masking" rather than the documented "local_point_color" when masking Point Color's eyedropper is selected.

 

To reproduce in LR 14.2 / Mac:

 

1. Place these lines in the file "getselectedtool.lua" in the Scripts folder:

import "LrDialogs".message (
    import "LrDevelopController".getSelectedTool ())

 

2. Restart LR.

 

3. Open a photo in Develop.

 

4. Add a linear gradient mask.

 

5. Select the eyedropper in the masking Point Color subpanel.

 

6. Do the menu command Scripts > getselectedtool.

 

7. Observe the message dialog says "masking" (incorrect) rather than the documented "local_point_color" (correct):

johnrellis_0-1744335056489.png

 

Note that the SDK documentation indicates "local_point_color" should be returned:

 

johnrellis_1-1744335196308.png

 

 

Bug Investigating
TOPICS
macOS , Windows
50
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 1 Pinned Reply

Adobe Employee , Apr 11, 2025 Apr 11, 2025

Thanks @johnrellis  I've logged this with the team.

Status Investigating
Translate
1 Comment
Adobe Employee ,
Apr 11, 2025 Apr 11, 2025
LATEST

Thanks @johnrellis  I've logged this with the team.

Rikk Flohr: Adobe Photography Org
Status Investigating
Translate
Report