ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Add some feedback for tasks that take long to process #17

Closed ivoflipse closed 10 years ago

ivoflipse commented 11 years ago

Some tasks might take a while to compute on slower computers, especially if there's a lot of data to go through.

Add some kind of feedback to let the user know what you're doing and that you're not responding for a reason.

ivoflipse commented 11 years ago

For some tasks the application will now update the taskbar to at least show that its doing something. Once I've refactored how data is being loaded/analyzed, I can more easily keep the user up to date, because everything will happen in a more centralized fashion.

ivoflipse commented 11 years ago

Perhaps its a option to add a Progressbar to the bottom right corner? http://stackoverflow.com/questions/17932227/how-do-i-add-a-progressbar-to-the-statusbar-using-pyside

I would just need to figure out what a sensible approach to making it progress would be

ivoflipse commented 10 years ago

This became apparent when we tried to use the program on a slower laptop, suddenly you're guessing whether the application is done or still processing. So adding some sort of feedback (blocking or not) would be great.

ivoflipse commented 10 years ago

I'll start by trying to add a progress bar for adding when measurements and tracking contacts

ivoflipse commented 10 years ago

I've added a progress bar, though I haven't figured out how to reset it in a sensible once the message is clear that the task is done. Now it'll wait until a new task arrives, that will reset it...

image

ivoflipse commented 10 years ago

I also added the progress bar to the different types of results, where at least for some results it has to calculate an interpolated version of the data (god I wish I could just store that...)

Anyway, if there are any other long running tasks, please leave a comment. For now I'm closing this!