Method, system, and computer program product for preventing unwanted application behavior
AssigneeInternational Business Machines Corporation
InventorDale M. Schultz
Life of this patent
Estimating the term…
Abstract
The present invention provides a method, system, and computer program product for preventing unwanted application behavior. A method in accordance with an embodiment of the present invention includes: determining when a window assumes a focus of a user interface; and preventing predetermined user input from being applied to the window for a predetermined period of time after the window assumes focus.
Claims14
A method for preventing unwanted application behavior, comprising:
- determining when a window assumes a focus of a user interface;
- and
- preventing predetermined user input from being applied to the window for a predetermined period of time after the window assumes focus, wherein preventing a predetermined user input from being applied to the window further comprises:
- obtaining a set of parameters associated with the window, wherein the set of parameters includes a set of user inputs to be ignored and a period of time each user input is to be ignored, and wherein different user inputs can be associated with different periods of time;
- comparing a user input to the set of user inputs to be ignored;
- preventing the user input from being applied to the window for the period of time, if a match is found in the comparing step;
- and
- applying the user input to the window if a match is not found in the comparing step.
A system for preventing unwanted application behavior, comprising:
- at least one computer, including:
- a system for determining when a window assumes a focus of a user interface;
- and
- a system for preventing predetermined user input from being applied to the window for a predetermined period of time after the window assumes focus, wherein the system for preventing a predetermined user input from being applied to the window further comprises:
- a system for obtaining a set of parameters associated with the window, wherein the set of parameters includes a set of user inputs to be ignored and a period of time each user input is to be ignored,. and wherein different user inputs can be associated with different periods of time;
- a system for comparing a user input to the set of user inputs to be ignored;
- a system for preventing the user input from being applied to the window for the period of time, if a match is found by the system for comparing;
- and
- a system for applying the user input to the window if a match is not found by the system for comparing.
A program product stored on a computer readable medium for preventing unwanted application behavior, the computer readable medium comprising program code for performing, when executed on a computer system, the steps of:
- determining when a window assumes a focus of a user interface;
- and
- preventing predetermined user input from being applied to the window for a predetermined period of time after the window assumes focus, wherein preventing a predetermined user input from being applied to the window further comprises:
- obtaining a set of parameters associated with the window, wherein the set of parameters includes a set of user inputs to be ignored and a period of time each user input is to be ignored, and wherein different user inputs can be associated with different periods of time;
- comparing a user input to the set of user inputs to be ignored;
- preventing the user input from being applied to the window for the period of time, if a match is found in the comparing step;
- and
- applying the user input to the window if a match is not found in the comparing step.
Dependencies are inferred from the claim text.