Display_progressbar function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenFovea |
New
|
Undecided
|
Unassigned |
Bug Description
In openfovea_gui.py there is a display_progressbar function. I think the lines used to update the events should be placed on top of the function, so the events are also updated when fraction == None (I had some problems in my branch with the threading of the progressbar before a subprocess call to display OpenGL data).
There is a little patch attached to this message with the needed fix. Perhaps the main trunk could be patched ?
I also suggest to set the progressbar's property ('visible') to False when fraction == None, to hide completely the progressbar after it has been displayed. But perhaps this is the wanted behavior, so I didn't added this correction to the patch. For the second suggestion you can do as you want :)
Woups, I forgot an update event in fraction == None. I made a new patch with the correction. This version is the one which works correctly with my subprocess call and doesn't break the "normal" behavior of the progressbar.