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

P: SDK: Plugins can't set the selection of simple_list() controls on Mac

LEGEND ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

[Updated 2024-01-03 to include the problem with transform().]

 

In Mac LR 13.1, plugins cannot set or change the selected items in a simple_list() control; when they try, the operation() and transform() callbacks of the binding also stop working.

 

This worked up through LR 13.0.1, and it continues to work in Windows LR 13.1. The bug impacts several of my plugins, including the popular Any Filter.


To reproduce:

 

1. Download and install this plugin:

https://www.dropbox.com/scl/fi/ti1rgaf4v43arshtncuus/simple_list-bug.lrdevplugin.2024.01.03.zip?rlke...

 

2. Do File > Plug-in Extras > simple_list-bug.

 

3. Observe that no item in the simple_list() control is selected (incorrect, "2" should be selected):

johnrellis_0-1704339684684.png

 

4. Click item "2" and observe that the operation() and transform() callbacks of the binding are invoked:

johnrellis_1-1704339808871.png

 

5. Click the Set Selection button, which tries to set the selection of the simple_list() to "1", and observe that the selection remains unchanged.

 

6. Click items "1" and "2" -- observe that the operation() and transform() callbacks are no longer invoked.

 

7. Run the plugin in LR 13.0.1 and observe that item "2" is selected (the correct result):

johnrellis_2-1704340052834.png

 

8. Click the Set Selection button and observe that the selection  correctly changes to "1".

 

9. Click items "1" and "2" and observe that the operation() and transform() callbacks are correctly invoked.

 

Bug Fixed
TOPICS
macOS , SDK

Views

892

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 Pinned Reply

Adobe Employee , Dec 19, 2023 Dec 19, 2023

Thanks, John. I've logged it. 

Status Started

Votes

Translate

Translate
5 Comments
Adobe Employee ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

Thanks, John. I've logged it. 

Rikk Flohr: Adobe Photography Org
Status Started

Votes

Translate

Translate

Report

Report
LEGEND ,
Jan 03, 2024 Jan 03, 2024

Copy link to clipboard

Copied

@Rikk Flohr: Photography, I significantly revised the description of the problem, including information about additional aspects of simple_list() that don't work in LR 13.1.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jan 04, 2024 Jan 04, 2024

Copy link to clipboard

Copied

I will let the team know. 

Rikk Flohr: Adobe Photography Org

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

Greetings all,

 

Updates for the Adobe Photography Products have been released.  The February 2024 updates contain an update 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 being so patient.

Rikk Flohr: Adobe Photography Org
Status Fixed

Votes

Translate

Translate

Report

Report
LEGEND ,
Feb 24, 2024 Feb 24, 2024

Copy link to clipboard

Copied

LATEST

I verified this is fixed, both with the test plugin above and my production plugins.

Votes

Translate

Translate

Report

Report