Quote:
Originally Posted by AnotherCat
... at the end of the job a non Windows modal dialogue box appears in the bottom right corner ...
However the second time the plugin is run on the same book it reverts to correct operation and at the end of the job a correct MS Windows modal dialogue box opens and the cursor snaps to "OK".
|
As was pointed out previously, the new method for notification of job completion is a popup in the lower right corner of the main calibre window. This is implemented in plugins by calling "proceed_question".
However, many plugins use proceed_question only when the job completion requires that the user answer a question, such as "OK to update?." They instead call error_dialog when the job ends in a notification, such as "no changes were made." When this happens an old-style dialog is created instead of the popup. This occurs for the Modify ePub plugin and several others.
This can be made to work consistently by updating these plugins to use proceed_question with the "show_ok=True" option instead of using error_dialog.