This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2017-078239 filed Apr. 11, 2017.
The present invention relates to a control apparatus and a non-transitory computer readable medium.
Graphical user interfaces (GUIs) that receive an operation performed on a virtual operator displayed on a display have been disclosed. The operation is performed onto the operator using a pointing device, such as a touchpanel or mouse. There is a possibility that two operators overlap each other. More specifically, a first operator and a second operator may be displayed with the second operator covering a screen containing the first operator. Also, screen transition may be performed shifting from a screen containing the first operator to a screen containing the second operator.
When the first and second operators are displayed with at least part of the first operator covered with part of the second operator, the second operator may contain an area that does not overlap the first operator. A user may now intend to operate the second operator. For the user not to erroneously operate the first operator instead of the second operator, the user may operate an area of the second operator that does not overlap the first operator.
According to an aspect of the invention, there is provided a control apparatus. The control apparatus includes a display unit that causes a display to present a screen having an operator displayed thereon, a receiving unit that receives an operation performed on the operator, and a controller that controls the receiving unit such that when a first operator and a second operator are displayed with at least part of the first operator covered with part of the second operator, an operation performed on a first region is not received for a predetermined period of time. The first region is at least part of an area where the first operator and the second operator overlap each other.
Exemplary embodiment of the present invention will be described in detail based on the following figures, wherein:
An exemplary embodiment of the present invention is described below. The exemplary embodiment is related to a technique of controlling a graphic user interface (GUI) that operates an electronic apparatus. The exemplary embodiment may be used in any type of electronic apparatus. For example, the exemplary embodiment may be used in an image forming apparatus, such as a copying machine. A control apparatus of the exemplary embodiment may be included in the electronic apparatus, or an information processing apparatus that sends a command to the electronic apparatus. The GUI may be presented on a display having a touchpanel, or may be presented on a display included in the image processing apparatus that may be operated using a keyboard and/or a mouse.
The display unit 14 includes a liquid-crystal display panel, for example, and presents a GUI screen having a widget that operates the electronic apparatus. The operation unit 15 includes a pointing device, and receives an operation performed on the GUI. The pointing device may be a mouse, a touchpad or a touchpanel that covers the display screen of the display unit 14. The display unit 14 and the operation unit 15 may be configured to be a device separate from the control apparatus 1.
In each of the examples of
A program that describes a procedure of a display control process is installed on the control apparatus 1. The controller 11 executes the program to perform each function of the control apparatus 1. The control apparatus 1 thus performs the display control process.
The controller 11 causes the first operator to be displayed (step S01). More specifically, the controller 11 causes to be displayed an operator that matches contents of the process to be performed by the electronic apparatus. For example, the controller 11 causes the suspend button (an example of the first operator) to be displayed when the copying starts or resumes.
The controller 11 determines the presence or absence of a request to display the second operator. If no display request has been issued (no branch from step S02), the same determination is repeated. If a display request has been issued (yes branch from step S02), the controller 11 causes the second operator to be displayed (step S03). For example, if the suspend button (an example of the first operator) is operated, the controller 11 determines that the request to display the resume button (an example of the second operator) has been issued.
The controller 11 causes an undefined operator BN on a first region A1 (step S04). The first region A1 is at least part of an area where the first and second operators B1 and B2 overlap each other, and is unable to receive an operation thereon. In accordance with the exemplary embodiment, the first region A1 is predetermined. The undefined operator BN has an operation whose process that is to be performed in response to the operation is not defined. Even if the user operates the undefined operator BN, the controller 11 does not perform any process. With the undefined operator BN displayed, the first region A1 is set up on the screen. If an operation is performed on an area of the second operator B2 that is not contained in the first region A1, the controller 11 performs a process responsive to the second operator B2. The undefined operator BN may be different in appearance from the first and second operators B1 and B2, an outline of the area where the first and second operators B1 and B2 overlap each other may be represented by a line, and the undefined operator BN may be a clear transparent operator.
The controller 11 determines whether a specific time period has elapsed. If the specific time period has not elapsed (no branch from step S05), step S05 is repeated. If the specific time period has elapsed (yes branch from step S05), the controller 11 ends the displaying of the undefined operator (step S06). The specific time period is a predetermined time length from the start of the displaying of the second operator B2. When the displaying of the undefined operator ends, the setting of the first region A1 is canceled. When an operation is performed on the first region A1 in the second operator B2, the controller 11 performs a process responsive to the second operator B2.
Since with this configuration, an operation performed on at least part of the area where the first and second operators B1 and B2 overlap each other is not received for a predetermined period of time, the possibility of an erroneous operation on the first operator B1 is reduced. An operation performed on the second operator B2 not containing the first region A1 is received during the predetermined period of time.
The user typically tends to avoid pressing an edge portion of each operator in view of the possibility of an erroneous operation. The edge portion of the second operator B2 is not contained in the first region A1 (see
The exemplary embodiment may be modified as described below.
In a first modification, the controller 130 may control the receiving unit 120 such that an operation performed on the first region A1 containing a second region A2 is not received. The second region A2 is part of an area where the first and second operators B1 and B2 do not overlap each other.
In a second modification, the controller 130 may set the first region A1, based on history of locations on the screen on which the receiving unit 120 has received operations.
In a third modification, the first region A1 may be set up at plural locations included in the history. If the first region A1 is set up in accordance with plural locations of
In a fourth modification, the controller 130 may receive a command to delete an operation after the operation is received on an area of the second operator B2 that does not overlap the first operator B1. In such a case, the second region A2 may be set up to contain the location where the operation has been received. For example, an operation may be performed on the area of the second operator B2 that does not overlap the first operator B1. The user who may be alerted to the possibility that the first operator B1 has been erroneously operated may cancel that operation, and perform an operation at a location apart from the first operator B1. The fourth modification includes the case in which a second region is newly set up in the undefined screen, and the case in which the second region that has been set up is expanded.
In a fifth modification, the controller 130 may set up the first region having a size that varies depending on the area where an object is in contact with the screen, or on the type of a pointing device. For example, a touchpanel used for the pointing device may be operated by using a human's finger or a stylus. Since the contact area with the screen is larger when the finger is used than when the stylus is used, the possibility of erroneous operation is higher when the touchpanel is operated using the finger. The area of the first region may be set to be larger as the area of an object in contact with the screen increases. When the area of the first region is set, the contact area with the touchpanel is stored each time the operation is performed, a statistical value of the contact areas of the operations heretofore performed (a mean value, a maximum value, or a medium value) is determined when the number of operations has reached a predetermined count. The first region may be set up using the statistical value. The touchpanel or mouse may be used for the pointing device. The area where the finger or stylus is contact with the touchpanel is larger than the area indicated by a point pointed to by a cursor (pointer) of the mouse. The use of the touchpanel has a higher possibility of erroneous operation. The first region is set to have a larger area when the touchpanel is used for the pointing device than when the mouse is used.
In a sixth modification, the receiving unit 120 may receive an operation to set the first region. For example, an area where the user has actually experienced an erroneous operation or an area having a possibility that the user performs an erroneous operation may be set up as the first region.
In a seventh modification, the controller 130 may set to be an end time of a predetermined period of time a time point when an operation is received on a third operator displayed or when an operation is received on a hardware key. In the seventh modification, the user ends the time period throughout which no operation is received in the first region. The first region that is unable to receive an operation means a decrease in working efficiency to a user who is confident of being free from erroneous operations. In the seventh modification, the decrease in working efficiency is controlled.
A program causing a computer to perform the process may be distributed in a stored form on a computer readable recording medium, such as an optical recording medium and/or a semiconductor memory, or may be distributed via a communication network, such as the Internet. If the program of the exemplary embodiment is distributed in a form continuously stored form on a recording medium, the computer reads the program from the recording medium. If the program of the exemplary embodiment is distributed via the communication network, the computer uses the program by receiving the program from an apparatus serving as a delivering source.
The foregoing description of the exemplary embodiment of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiment was chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2017-078239 | Apr 2017 | JP | national |