Question
LrDialogs.showModalProgressDialog(): does not hide on completion
In LR 2.3 RC I ran something like:
Problem is that the progress dialog is not dismissed on completion. It remains visible (blocked in background) while the next dialog is shown. Same when I set up another function context just for the intended life span of the progress dialog.
(I now use a "regular" ProgressScope, whose UI entry hides as intended.)
Herb
LrTasks.startAsyncTask( function()
LrFunctionContext.callWithContext('function', function(context)
local progressScope = LrDialogs.showModalProgressDialog({
title = 'A title',
caption = 'A caption',
cannotCancel = true,
functionContext = context,
})
progressScope:setPortionComplete(0.0, 1.0)
LrTasks.execute(someCmd)
progressScope:done()
LrDialogs.presentModalDialog(dialogArgs)
end)
end)
Problem is that the progress dialog is not dismissed on completion. It remains visible (blocked in background) while the next dialog is shown. Same when I set up another function context just for the intended life span of the progress dialog.
(I now use a "regular" ProgressScope, whose UI entry hides as intended.)
Herb
