Skip to main content
SSScooter
Participant
December 25, 2025

P: Filtered view - collapsing stack causes collapsed photos to inadvertently be added to target set

  • December 25, 2025
  • 3 replies
  • 444 views

Collapsing a stack in a keyword filtered view where only the top photo in the stack has that keyword causes all of the collapsed photos to be added to the set of target photos.

 

Steps to reproduce:

- In grid view, apply a filter by keyword that contains stacked photos, where only the first photo in the stack has the keyword applied

- Select such a stacked photo

- If already expanded, collapse the stack.  If already collapsed, expand and then collapse.  It is the collapse action that triggers what I think is a bug.

 

Expectedly, the grid and filmstrip views do not change while in the filtered view except that the stacking badge for the selected photo changes between (n) and (1 of n).  Visually, this seems like correct behavior because the collapsed photos don't have the keyword.  However -

 

Unexpectedly, the action of collapsing the stack causes the collapsed photos to be added to the filtered set behind-the-scenes.  This is evidenced both in the result returned by the SDK function catalog:getTargetPhotos() as well as in the keyword list pane, where the check mark next to the filtered keyword changes from a check mark to a dash.  The filmstrip and grid views do not change, but the collapsed photos are added to the target set.  This could cause unintended actions to be done to the collapsed photos in addition to the one selected.

 

Environment: Win11, LrC 15.1, SDK 14.3. 

3 replies

Rikk Flohr_Photography
Community Manager
January 3, 2026

Updating Status.

Rikk Flohr: Adobe Photography Org
Legend
December 26, 2025

@SSScooter , @Aleke 

 

I can reproduce this problem.

 

Looks like a bug to me.

 

johnrellis
Legend
December 26, 2025

@drtonyb, are you on Windows?  I couldn't reproduce on my Lr 15.1 / Mac OS 17.7.1.

Legend
December 26, 2025

@johnrellis 

 

Yes, Windows 11 Pro.

Community Manager
December 25, 2025

Hi @SSScooter, thanks for reaching out!
I tried following the steps you mentioned but couldn’t reproduce the issue on my end. As a first step, it might help to reset your Lightroom Classic preferences, this often clears up miscellaneous problems. https://adobe.ly/4seOvWI


If the issue persists, could you share a quick screen recording showing the full Lightroom Classic window? That’ll help us take a closer look and figure out what’s going on.
Thanks!
Alek

*(If you mention me with an @, like @Aleke, I’ll get a notification and can respond faster.)*
SSScooter
SSScooterAuthor
Participant
December 25, 2025

Thank you, Alek.  I created a new catalog, opened with alt-shift to reset preferences, and added 4 photos that are stacked.  The first photo is the top of the stack and is the only one of the four that is keyworded "Instagram-Candidate."  I wrote a simple lua script that calls catalog:getTargetPhotos() and then outputs the number of photos and their filenames in a dialog box as shown in the screen recording at https://drive.google.com/file/d/1yGg9I4NG87G1nior0Om2utHwVGK9zW6s/view?usp=sharing 

You can also see that the check mark next to the keyword in the Keyword List panel changes to a dash when the stack is collapsed while in this filtered view.

 

I hope this helps you see what I'm experiencing.