Skip to main content
Inspiring
January 22, 2017
Question

setActiveSources not updating in side panel

  • January 22, 2017
  • 2 replies
  • 1036 views

catalog:setActiveSources() when called from a plugin changes the source but doesn't update the selection correctly in the list in the left hand panel. For example, I have a collection, say, "Clients" selected. I use setActiveSources() to change to, say, "Portraits". Although the source has changed and the change is reflected in the Image Display Area, the Filmsrip and the toolbar, "Clients" collection remains highlighted in the collections panel.

Any idea why and how to update highlighting to the correct source?

thanks.

This topic has been closed for replies.

2 replies

kimaldisAuthor
Inspiring
January 25, 2017

It seems to be working now; good and bad in more or less equal parts because not a great deal has changed, meaning it hasn't really gone away.

That said, I think it may have to do with unfound images in collections I'm switching to and from. I have a whole older chunk of the catalogue that sits on another disk and I found that when I started testing using collections without any of the older images in it all started to behave. So I attached the drive and it all started working again. And it continued to work even after I removed the drive. Maybe it was some kind of caching issue, or not.

When it was failing it seemed to be exclusively related to the library and develop modules. If I switched to Map or Print the active source became shown correctly selected in the panel but reverted to incorrectly selected when I switched back to either dev or library.

That's all I have for now, I'm afraid. More if it happens.

johnrellis
Legend
January 22, 2017

This was an outstanding bug in the user interface for many years. It could happen when clicking in the source column of Library, and it could happen when a plugin invoked catalog:setActiveSources().   After a couple of attempts, Adobe seems to have fixed it for most people in 2015.8 / 6.8: Lightroom : Selected Published Folder or Collection is not deselected if a folder is selected | Photoshop Family Custome…

Verify you have 2015.8 / 6.8 by doing Help > System Info (the LR updater often fools people into thinking they have the "latest").

kimaldisAuthor
Inspiring
January 22, 2017

Lightroom version: CC 2015.8 [ 1099473 ] Is what I see. nothing about 6.8. I'm a subscriber so I'm using the Creative Cloud updater and this has nothing to update. OS X 10.12.2

johnrellis
Legend
January 22, 2017

So you have the "latest" version.   Looks like the bug wasn't completely fixed.  (It no longers happen for me, either when using LR directly or via my Any Source plugin.)   I suggest posting details to the bug report above (version number, steps to make the bug happen, Windows or Mac, etc.). 

In this case, however, unless you can provide exact steps for reproducing the bug that Adobe can replicate, I think it is unlikely they will take any action (based on past experience).  It was only when I was able to provide them with a catalog and exact steps did they address the problem.