cdfarrow / flextools

Python scripting utility for SIL FieldWorks Language Explorer (FLEx)
Other
16 stars 5 forks source link

Update the status of each module as it completes #10

Open rmlockwood opened 2 years ago

rmlockwood commented 2 years ago

If I run multiple modules at once I would like to see the status of each one as it completes. See this video which shows the problem. https://www.loom.com/share/892958a307874d0ca94a4e3b762ea865

cdfarrow commented 1 year ago

Yes, I've been aware of this since the beginning. I think it is because everything is running in a tight loop and the UI never gets a look-in to refresh itself. It looks like the processing should be put on another thread or use BackgroundWorker: https://stackoverflow.com/a/573270 https://stackoverflow.com/a/3587983 https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.backgroundworker?view=net-7.0

cdfarrow commented 1 week ago

May need coordination with #47.