Lightroom: SDK catalog:getActiveSources() doesn't return correct values

  • 3
  • Problem
  • Updated 5 years ago
  • Solved
  • (Edited)
There is no way for a plugin to accurately determine the current source. If the current source is All Photographs, Quick Collection, or Previous Import, the method catalog:getActiveSources() returns the empty table {}, but it should return catalog.kAllPhotos, .kQuickCollectionIdentifier, or .kPreviousImport.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3690 Posts
  • 963 Reply Likes

Posted 7 years ago

  • 3
Photo of John R. Ellis

John R. Ellis, Champion

  • 3690 Posts
  • 963 Reply Likes
Official Response
Fixed in LR 5 Beta, hurray! But the bug with catalog:setActiveSources() is still there:

http://feedback.photoshop.com/photosh...