Skip to main content
johnrellis
Legend
Mar 25, 2025 3:48 AM UTC
Released

P: SDK: Modal dialogs don't always close properly

Dialog windows created by LrDialogs.presentModalDialog() don't always close fully on exit.

 

To reproduce on LR 14.2 / Mac OS 15.3.2 / Macbook Pro 16" 2023 Apple M2 Max:

 

1. Download and install this plugin:

https://www.dropbox.com/scl/fi/rpm9osljz9yv9arxu8yqk/dialog-bug.lrdevplugin.2025-03-24.zip?rlkey=fuvww8hkkhatibotqbqu8fvaw&dl=0

 

2. Do File > Plug-in Extras > _Dialog Bug > Bug and observe this dialog:

 

3. Click OK and observe the dialog close properly.

 

4. Do File > Plug-in Extras > _Dialog Bug > Bug again and observe the same dialog.

 

5. Click OK and observe that the dialog hasn't completely closed:

 

6. The dialog remains until you restart LR.

 

* * *

 

This bug persists after resetting preferences and opening a new catalog. I first noticed it with my Debugging Toolkit,  where it's a serious annoyance. Nine others have reported similar symptoms with creating snapshots starting with LR 14.1.1.

 

 

7 replies

Rikk Flohr-Retired
Adobe Employee
May 21, 2025 2:21 PM UTC

Closing as we can no longer reproduce. 

Translate
Rikk Flohr: Adobe Photography Org
johnrellis
Legend
May 20, 2025 8:50 PM UTC

Today I tested with LR 14.3.1 / Mac OS 15.3.2 and still observed the bug (first observed with 14.2 / 15.3.2) with both the plugin recipe here and with New Snapshot.

 

Then I updated to Mac OS 15.5 and no longer observe the problem with LR 14.3.1.

Translate
Rikk Flohr-Retired
Adobe Employee
May 20, 2025 12:59 PM UTC

From the team: 

"Not observing this with the attached plugin. I am on macOS 15.5,  could you please check if this is an intermittent issue?"

Translate
Rikk Flohr: Adobe Photography Org
johnrellis
Legend
Apr 25, 2025 6:18 AM UTC

The recipe still produces the misbehavior in LR 14.3.

Translate
Rikk Flohr-Retired
Adobe Employee
Mar 25, 2025 12:39 PM UTC

Thanks for the report @johnrellis  - I've logged this. 

Translate
Rikk Flohr: Adobe Photography Org
C.Cella
Legend
Mar 25, 2025 6:43 AM UTC

It happens for many of my plug-ins.

What is strange is that in certain cases I use a similar UI as you do but it doens't happen.

At step 6 I can dismiss the dialog by clicking the UI BUT it simply goes in background and is still there in the "Windows" menu.

 

 

 

Translate
johnrellis
Legend
Mar 25, 2025 3:56 AM UTC

<deleted>

 

Translate