Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Undo operation under plugin works

Participant ,
Aug 11, 2025 Aug 11, 2025

My plugin EvalFocus.lrplugin ,

I select photos from catalog and launch plugin, 

plugin process photos takes long time, so I do another task, develop for example.

when 'Undo" in develop module,

Expected results

Undo operation at develop module just before.

Acutal results

Lightroom looks Undo plugin operation. ( Undo (string specified withWriteAccessDo() ) appears on monitor)

but nothing undoable, plugin runs continue. 

スクリーンショット 2025-08-11 17.58.08(2).png

Is there way to fix plugin to tell lightroom "plugin cannot undoable" and Undo develop operations?

Lightoom 14.4 / macOS 15.6

TOPICS
SDK
207
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Aug 15, 2025 Aug 15, 2025

@remov_b4_flight 

Only catalog:withPrivateWriteAccessDo() are not part of the undo Stack

You could write the results of your "Evaluate Focus" plug-ins as custom metadata and by using a private access this they would not be undoable.

.

Translate
Advocate ,
Aug 15, 2025 Aug 15, 2025

@remov_b4_flight 

Only catalog:withPrivateWriteAccessDo() are not part of the undo Stack

You could write the results of your "Evaluate Focus" plug-ins as custom metadata and by using a private access this they would not be undoable.

.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 15, 2025 Aug 15, 2025
LATEST

Thank you.

I replaced partly withPrivateWriteAccessDo() and reduce effect of undo queue.

setRawMetadata() is called by evaluation results, It wasn't into withPrivateWriteAccessDo() gate.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines