Lightroom 5.3: undo no longer works.

  • 1
  • Problem
  • Updated 4 years ago
The only thing it can undo is 'Select', even if haven't selected anything, and then it doesn't do anything anyway..


It always looks like that now - even after restarting.. win7
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 5 years ago

  • 1
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
The source of this problem has been determined, it is due to calling:


catalog:setSelectedPhotos


in a background task.

Note: plugin calling it does not have catalog write access, but for some reason the request to set selected photos is being added to the undo stack.

Note: the purpose of calling this function is simply to obtain the array of photos visible in the filmstrip.

i.e.

catalog:setSelectedPhotos( selectedPhoto, {} ) -- assure exactly one photo is selected
local allVisiblePhotos = catalog:getMultipleSelectedOrAllPhotos() -- get filmstrip (since only one photo selected).
catalog:setSelectedPhotos( selectedPhoto, selectedPhotos ) -- return selection to what it was before.

is commonly used to get the filmstrip, but is no good in background task.

Adobe: please remedy - e.g. by providing a function which returns filmstrip to plugin, so plugin does not need to call setSelectedPhotos in order to determine set of photos in filmstrip - thanks.

Rob