In GitLab by @loichuder on Jan 23, 2026, 15:09 GMT+1:
OWEwoksWidgetOneThread is a great abstraction allowing to run the task in a thread. This gives an easy way of having a responsive GUI while the task is running.
Unfortunately, threads cannot be killed so aborting/canceling the task is tricky.
I would propose to create a new Orange Ewoks widget to run the tasks in a multiprocess.Process instead. With a bit a care, processes can be killed to cancel ongoing tasks. This new widget could provide a nice abstraction like OWEwoksWidgetOneThread so that ewoksapps devs do not need to deal with implementation details.
Thoughts @woutdenolf @payno ?
Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/82
In GitLab by @loichuder on Jan 23, 2026, 15:09 GMT+1:
OWEwoksWidgetOneThreadis a great abstraction allowing to run the task in a thread. This gives an easy way of having a responsive GUI while the task is running.Unfortunately, threads cannot be killed so aborting/canceling the task is tricky.
I would propose to create a new Orange Ewoks widget to run the tasks in a
multiprocess.Processinstead. With a bit a care, processes can be killed to cancel ongoing tasks. This new widget could provide a nice abstraction likeOWEwoksWidgetOneThreadso that ewoksapps devs do not need to deal with implementation details.Thoughts @woutdenolf @payno ?
Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/82