View Single Post
Old 01-23-2022, 06:39 AM   #804
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
It depends on the dialog itself.
  • For dialogs that block the main thread (e.g. Edit Metadata Dialog), action chains will naturally wait until the dialog finishes and hands back control of the main thread.
  • For dialogs that do not block the main thread (e.g. progress bar dialogs, but other dialogs might do the same), but instead act from another thread, action chains will immediately proceed to the next action, even before the dialog finishes. This is almost always undesirable, hence, the option in Calibre Actions to wait for the dialog until it finishes. (see attachment).
    Note that this involves guesswork, and is sometimes susceptible to breaking as per the warning in the screenshot.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	270
Size:	19.3 KB
ID:	191803  

Last edited by capink; 01-24-2022 at 12:12 PM.
capink is offline   Reply With Quote