Display_progressbar function

Bug #797789 reported by Michka Popoff
6
This bug affects 1 person
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 :)

Revision history for this message
Michka Popoff (michkapopoff) wrote :
Revision history for this message
Michka Popoff (michkapopoff) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.