Dynamic progress bar
A computer system provides an operation completion indicator that utilizes screen area efficiently. The computer system comprises a processor, a display coupled to the processor, and a memory coupled to the processor. The memory stores instructions that, when executed by the processor, cause the computer system to: display an operation completion indicator indicating progress of the operation, the operation completion indicator containing a plurality of regions, each region: being associated with a respective one of a plurality of upper-level suboperations of the operation, each one of the plurality of upper-level suboperations being in one of an active state or an idle state; detect an active one of the plurality of upper-level suboperations; and divide the associated region of the active upper-level suboperation into at least: a first area representing completed parts of the active upper-level suboperations; and a second area representing incomplete parts of the active upper-level suboperation.
1 . A computer system for displaying progress of an operation, the computer system comprising:
a processor;
a display coupled to the processor;
a memory coupled to the processor, storing instructions that, when executed by the processor, cause the computer system to:
display an operation completion indicator indicating progress of the operation, the operation completion indicator containing a plurality of regions, each region associated with a respective one of a plurality of upper-level suboperations of the operation and having a respective size;
determine a number of lower-level suboperations associated with one of the plurality of upper-level suboperations;
determine that the one of the plurality of upper-level suboperations is in an active state; and
configure, in response to determining that the one of the plurality of upper-level suboperations is in the active state, the region associated with the one of the plurality of upper-level suboperations to be divided into a plurality of subregions, each of the plurality of subregions corresponding to a respective one of the number of lower-level suboperations associated with the one of the plurality of upper-level suboperations, the respective size of the region associated with the one of the plurality of upper-level suboperations remaining unchanged after dividing the region.
2 . The computer system of claim 1 , wherein the plurality of upper-level suboperations comprises at most one upper-level suboperation in the active state.
3 . The computer system of claim 1 , wherein the plurality of upper-level suboperations are executed in an order and detecting completion of the one of the plurality of upper-level suboperations causes another one of the plurality of upper-level suboperations to enter the active state, the another one of the plurality of upper-level suboperations being the upper-level suboperation to be executed after the one of the plurality of upper-level suboperations.
4 . The computer system of claim 1 , wherein the one of the plurality of upper-level suboperations progresses in response to input received via an input device.
5 . The computer system of claim 1 , wherein the instructions further cause the processor to:
determine, that one of the lower-level suboperations associated with the one of the plurality of upper-level suboperations is in the active state and that another one of the lower-level suboperations associated with the one of the plurality of upper-level suboperations is not in the active state;
configure the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is in the active state; and
configure the subregion associated with the another one of the lower-level suboperations to indicate that the another one of the lower-level suboperations is not in the active state.
6 . The computer system of claim 5 wherein configuring the subregion associated with the one of the lower-level suboperations includes displaying the subregion associated with the one of the lower-level suboperations to be enlarged relative to the subregion associated with the another one of the lower-level suboperations.
7 . The computer system of claim 5 , wherein:
configuring the subregion associated with the one of the lower-level suboperations includes displaying the subregion associated with the one of the lower-level suboperations in a first color; and
configuring the subregion associated with the another one of the lower-level suboperations includes displaying the subregion associated with the another one of the lower-level suboperations in a second color different from the first color.
8 . The computer system of claim 5 , wherein the instructions further cause the processor to:
detect completion of the one of the lower-level suboperations; and
configure, in response to detecting the completion of the one of the lower-level suboperations:
the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is not in the active state; and
the subregion associated with the another one of the lower-level suboperations to indicate that the another one of the lower-level suboperations is in the active state.
9 . The computer system of claim 8 , wherein the instructions further cause the processor to configure, in response to detecting the completion of the one of the lower-level suboperations, the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is completed.
10 . The computer system of claim 1 , wherein the instructions further cause the processor to, subsequent to configuring the region associated with the one of the plurality of upper-level suboperations to display the plurality of subregions:
detect completion of the one of the plurality of upper-level suboperations; and
display, in response to detecting the completion of the one of the plurality of upper-level suboperations, the region associated with the one of the plurality of upper-level suboperations as an undivided area.
11 . The computer system of claim 1 , wherein at least one of the number of lower-level suboperations progresses in response to input received via an input device.
12 . The computer system of claim 1 , wherein the operation completion indicator remains displayed in a fixed location on the display throughout the progress of the operation.
13 . A computer-implemented method, the method comprising:
displaying an operation completion indicator indicating progress of an operation, the operation completion indicator containing a plurality of regions, each region associated with a respective one of a plurality of upper-level suboperations of the operation and having a respective size;
determining a number of lower-level suboperations associated with one of the plurality of upper-level suboperations;
determining that the one of the plurality of upper-level suboperations is in an active state; and
configuring, in response to determining that the one of the plurality of upper-level suboperations is in the active state, the region associated with the one of the plurality of upper-level suboperations to be divided into a plurality of subregions, each of the plurality of subregions corresponding to a respective one of the number of lower-level suboperations associated with the one of the plurality of upper-level suboperations, the respective size of the region associated with the one of the plurality of upper-level suboperations remaining unchanged after dividing the region.
14 . The computer-implemented method of claim 13 , wherein the method further comprises:
determining, that one of the lower-level suboperations associated with the one of the plurality of upper-level suboperations is in the active state and that another one of the lower-level suboperations associated with the one of the plurality of upper-level suboperations is not in the active state;
configuring the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is in the active state; and
configuring the subregion associated with the another one of the lower-level suboperations to indicate that the another one of the lower-level suboperations is not in the active state.
15 . The computer-implemented method of claim 14 wherein configuring the subregion associated with the one of the lower-level suboperations includes displaying the subregion associated with the one of the lower-level suboperations to be enlarged relative to the subregion associated with the another one of the lower-level suboperations.
16 . The computer-implemented method of claim 14 , wherein:
configuring the subregion associated with the one of the lower-level suboperations includes displaying the subregion associated with the one of the lower-level suboperations in a first color; and
configuring the subregion associated with the another one of the lower-level suboperations includes displaying the subregion associated with the another one of the lower-level suboperations in a second color different from the first color.
17 . The computer-implemented method of claim 14 , wherein the method further comprises:
detecting completion of the one of the lower-level suboperations; and, in response thereto
configuring:
the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is not in the active state; and
the subregion associated with the another one of the lower-level suboperations to indicate that the another one of the lower-level suboperations is in the active state.
18 . The computer-implemented method of claim 17 , wherein the method further comprises configuring, in response to detecting the completion of the one of the lower-level suboperations, the subregion associated with the one of the lower-level suboperations to indicate that the one of the lower-level suboperations is completed.
19 . The computer-implemented method of claim 13 , wherein the method further comprises, subsequent to configuring the region associated with the one of the plurality of upper-level suboperations to display the plurality of subregions:
detecting completion of the one of the plurality of upper-level suboperations; and
displaying, in response to detecting the completion of the one of the plurality of upper-level suboperations, the region associated with the one of the plurality of upper-level suboperations as an undivided area.
20 . A non-transitory computer readable medium storing processor-executable instructions that, when executed by a processor, cause the processor to:
display an operation completion indicator indicating progress of an operation, the operation completion indicator containing a plurality of regions, each region associated with a respective one of a plurality of upper-level suboperations of the operation and having a respective size;
determine a number of lower-level suboperations associated with one of the plurality of upper-level suboperations;
determine that the one of the plurality of upper-level suboperations is in an active state; and
configure, in response to determining that the one of the plurality of upper-level suboperations is in the active state, the region associated with the one of the plurality of upper-level suboperations to be divided into a plurality of subregions, each of the plurality of subregions corresponding to a respective one of the number of lower-level suboperations associated with the one of the plurality of upper-level suboperations, the respective size of the region associated with the one of the plurality of upper-level suboperations remaining unchanged after dividing the region.