Currently the progress of a job is calculated as (position of current step / total number of steps) * 100 which doesn't yield useful information about the progress of a single step in a workflow, especially in cases like OCR where the process might take a rather long time (resulting in the progress bar being stuck for a rather long time).
Instead we should look into e. g. replicating the progress calculation of legacy OCR4all which determines the progress of a step in a workflow by the calculating (amount of result files generated / total amount of pages being processed in a step) * 100.
Currently the progress of a job is calculated as
(position of current step / total number of steps) * 100
which doesn't yield useful information about the progress of a single step in a workflow, especially in cases like OCR where the process might take a rather long time (resulting in the progress bar being stuck for a rather long time). Instead we should look into e. g. replicating the progress calculation of legacy OCR4all which determines the progress of a step in a workflow by the calculating(amount of result files generated / total amount of pages being processed in a step) * 100
.