Patent Description:
Windowed graphical user interfaces (GUIs) provide a popular and well known display metaphor for a user to interact with an operating system of a computer device. A typical windowed GUI provides a basic background, sometimes referred to as a desktop, within which visual cues, such as icons or windowed applications, are available for user interaction. The operating system of the computer device uses the window metaphor to permit a user to open and interact with a number of child windows within the desktop or main application window. The child windows can be of several different types, and take on many shapes and forms, which often depend on their underlying application or purpose. In general, child windows represent separate applications and can be manipulated independently by the user. For example, they can separately be resized, moved, minimized, maximized, restored, closed and subject to other user manipulations in accordance with the metaphor of a windowed environment. The article of <NPL> discloses a concept of Docking Window Framework (DWF). In this concept, two or more windows are hooked together. A new title bar, called a docking bar, appears on the top of the two or more windows. It provides commands to operate all windows of the workplace, such as closing the workspace, minimizing or maximizing the workspace. Subject of the article of <NPL>, is a task management system for dealing with a profusion of windows displayed on a computer screen. It allows users to organize window tiles into high level tasks called "Groups". The GroupBar contains one tile for each open window in the system. An essential feature of the GroupBar is a drag-and-drop functionality to tiles on the bar. <NPL>, a window management system. Users interact with windows in a central focus region of the display in normal manner, but when the user moves a window in the periphery, it shrinks in size. Windows in the periphery may be grouped together into named tasks.

Some software applications may be operated in a separate parent window that has one or more child windows that may or may not be restricted by the confines of the parent window. Sometimes, child windows can be implemented within the context of a parent application window, so that the child windows move, minimize and close with the parent window, for example.

This feature of having a parent-child windowed relationship provides a useful metaphor for the user, where the associated windows of an application are managed as a group. For example, the windows that are managed as a group in a parent-child relationship are often conceptually unified by a common theme, such as a task or application. The user may select a window or group of windows for input, sometimes referred to as receiving the focus, and may expect that selection to reflect a particular concept, such as conducting a search or performing data entry.

Accordingly, a windowed application that does not have the focus would not be expected to have child windows that would receive the focus, so that the behavior of the application as a cohesive unit is maintained. In this way, the child windows appear to exhibit the same behavior that the parent window exhibits. If this were not the case, and child windows exhibited independent behavior from that of the parent, the user experience would be fragmented and disjointed. For example, the user may become confused or frustrated if a child window of an application was manipulated separately from the main application window.

Specific embodiments are defined in the dependent claims. In accordance with aspects of the present disclosure, windows representing independent applications in a windowed computing environment can be linked to each other to have at least some unified behaviors. A host application can monitor window activity from different, independent applications to determine if windows are intended to be grouped. Commands applied to one or more windows in a group are applied to at least some other windows in the group. Windows of independent applications can be grouped or ungrouped according to various criteria including a priori configuration or user action. The grouped windows permit a unified user interface behavior to be established for two or more independent applications.

The present disclosure is described in greater detail below, with reference to the accompanying drawings, in which:.

The present disclosure provides systems and methods for managing independent windowed applications as a cohesive group. The grouped windows that are managed together have common behaviors and characteristics with regard to the user interface experience, while the applications operating in those windows can be independent of each other. For example, the windows that are managed in a group in accordance with the present disclosure can all be minimized, maximized, moved and/or restored concurrently by executing a command on one of the windows in the group. Any type of behavior that is common to each window of the grouped windows can be used to assign behavior to the windows as a group. Accordingly, although some common window manipulations are mentioned above, the behavior of the individual windows or the grouped windows is not so limited.

Referring now to <FIG>, a display <NUM> is illustrated with three windows <NUM>, <NUM> and <NUM>, each representing three separate and independent applications. Windows <NUM>, <NUM> and <NUM> each have common features that can be used to manipulate the windows in display <NUM>. For example, window <NUM> includes an application control button <NUM>, window <NUM> has an application control button <NUM> and window <NUM> has an application control button <NUM>. Each of buttons <NUM>, <NUM> and <NUM> are distinct for their respective windows, and are associated with the distinct and independent applications represented by windows <NUM>, <NUM> and <NUM>. Buttons <NUM>, <NUM> and <NUM> can each be actuated with a pointing device, such as a mouse cursor under the control of a user, to obtain a menu of commands for manipulating the respective windows. Window <NUM> illustrates a drop down menu <NUM> that is presented upon actuation of button <NUM>. Menu <NUM> includes various commands that can be selected by the user, using a pointing device or key strokes, to manipulate window <NUM>. For example, using the commands available in menu <NUM>, a user can restore, move, size, minimize, maximize or close window <NUM>.

The operations provided in response to the commands provided in menu <NUM> can also be executed by selection of other portions of window <NUM>. For example, window <NUM> also includes a minimize button <NUM>, a maximize (or restore, depending on context) button <NUM> and a close button <NUM> that, upon actuation, perform the respective commands on window <NUM>. Window <NUM> has similar features for manipulation, including a minimize button <NUM>, a maximize button <NUM> and a close button <NUM>. Likewise, window <NUM> has a minimize button <NUM>, a maximize button <NUM> and a close button <NUM>.

In addition to the command buttons discussed above, each of windows <NUM>, <NUM> and <NUM> can be repositioned or resized within display <NUM>. For example, window <NUM> includes a title bar <NUM>, window <NUM> includes a title bar <NUM> and window <NUM> includes a title bar <NUM>, each of which can be selected by a user with a mouse button being held down to drag the window to a different position in display <NUM>. In addition, each of windows <NUM>, <NUM> and <NUM> can be resized using a respective border area <NUM>, <NUM> or <NUM>, by holding down a mouse button on a given border area and dragging the border area to a new location.

As illustrated above, there are numerous common behavior commands that can be implemented on windows <NUM>, <NUM> and <NUM>, which behaviors can be implemented according to various user interface techniques, including, for example, selecting a button, e.g., minimize button <NUM>, or selecting a menu item in menu <NUM>. Although windows <NUM>, <NUM> and <NUM> represent separate and independent applications, their behavior is in accordance with common features and commands, based on window manipulation conventions.

In accordance with an exemplary embodiment of the present disclosure, two or more of windows <NUM>, <NUM> and/or <NUM> can be attached or docked together to be managed as a unit. The group of windows that can be managed as a unit can be modified by attaching or docking more windows to windows already in the group, and windows can be removed from the group by detaching or undocking windows that are already members of the group. Two or more windows that are grouped together can be manipulated in accordance with common actions or commands, such as by being moved, minimized, maximized or restored, so that the windows in the group behave as a cohesive unit from the viewpoint of the user.

Referring to <FIG>, window <NUM> is shown being joined to window <NUM> in accordance with an exemplary embodiment of the present disclosure. As illustrated in <FIG>, window <NUM> is selected and moved by the user in display <NUM>, such as by the user selecting title bar <NUM> and dragging window <NUM> towards window <NUM>. As border area <NUM> of window <NUM> approaches border area <NUM> of window <NUM>, a mechanism in accordance with the present disclosure is activated to attach or dock window <NUM> with window <NUM>. The activated mechanism (not shown) causes windows <NUM> and <NUM> to be treated as a unified group, so that commands that are provided to either one of windows <NUM>, <NUM> are implemented on all windows in the group. An indication, which can be a visual indication, such as visual indication <NUM>, can be used to inform the user that a docking or attaching operation is underway to cause windows <NUM> and <NUM> to be grouped together for unified usage. Indication <NUM> can be temporarily displayed to show the docking or attaching operation, or can be persistent to indicate that windows <NUM> and <NUM> are joined in an attached or docked relationship.

Once windows <NUM> and <NUM> are grouped together in accordance with the present disclosure, commands provided to either one of windows <NUM>, <NUM> are implemented on both of windows <NUM>, <NUM>. For example, if a user selects minimize button <NUM> of window <NUM>, both of windows <NUM> and <NUM> are minimized in response. If window <NUM> is restored, such as may occur when window <NUM> is selected from a task bar in a minimized state, window <NUM> is also restored as a member of the group to which windows <NUM> and <NUM> belong as a result of the attachment or docking activity and operations. In accordance with this feature, restored windows have the same positional relationship as was the case prior to their being minimized, in accordance with how they were attached or docked.

Similarly, if window <NUM> is selected from the background to be brought to the foreground, window <NUM> is likewise brought to the foreground with window <NUM>. In general, any type of behavior that is common to each of windows <NUM>, <NUM> can be applied to all the windows concurrently as a group, so that formerly independent applications and their windows can be treated as a cohesive unit with regard to window behavior and manipulation.

In the example illustrated in <FIG>, window <NUM> can be dragged to a border area <NUM> or <NUM> of respective windows <NUM> or <NUM>, to also be joined and connected or docked with the group consisting of windows <NUM>, <NUM>. In general, any number of windows can be assigned to a given group by manipulating the windows in the user interface to be brought close to a border of a window that is part of the group. Manipulating the windows can include resizing a window by dragging a border closer to a border of another window. Similarly, one, several or all of a group of windows can be manipulated such as by collectively moving the group such that at least one window border is close to a border of a window to join that window to the group. The docking or attachment of windows can be implemented along any of the border areas of the window or group joining another window or group. For example, in <FIG>, window <NUM> can be brought close to a top border area <NUM> of window <NUM>, so that windows <NUM> and <NUM> are attached or docked at a portion of a bottom border area <NUM> of window <NUM> and a top border area <NUM> of window <NUM>.

Windows can be attached or docked in a group so that some windows overlap other windows in attaching or docking to a common window border area. In addition, the configuration of the group of windows with regard to position or members of the group, for example, can be preserved or made persistent, so that restarting an application also restarts or associates already open applications that are part of the group with the windows in the group in their configured positions. Groups of windows can also be attached or docked with each other to become a single group.

Windows can be disassociated from a group, such as by closing an individual window. In addition, or alternately, windows can be disassociated from a group by executing a disassociation command, such as may be implemented by pressing a special key, such as a control key, on a keyboard while dragging a window away from the window or group to which it is attached or docked.

Referring now to <FIG>, a flowchart <NUM> illustrates an exemplary embodiment of the present disclosure. The process illustrated in flowchart <NUM> begins with the registration of a host application as being capable of providing companion features in accordance with the present disclosure. The companion features may include attachment or docking operations, as well as disassociation or undocking features. The host application may or may not be presented or visible in a user interface display, such as display <NUM> in <FIG> and <FIG>. The host application can be used as a platform for implementing the present disclosure in a computer system, such as by serving as a process or thread in which software that carries out the functions of the present disclosure can be housed or implemented. The host application can identify and manage applications or windows as a group, and can itself be one of the applications in the group.

The host application can track applications or windows within a group in accordance with various paradigms or configurations, such as through the use of an operating system registry, a semaphore or flag system or a configuration file that may be used to identify the grouped applications/windows. The paradigm used can be persistent so that the application or window groups are maintained through power cycles or operating system restarts.

Registration of the host application can be made automatic, such as by having the operating system of the computer identify an application or window as a host application that is companion capable. Alternately, or in addition, the host application can be identified manually, such as by having a user set a configuration for the host application to indicate that it is companion capable. In accordance with an exemplary embodiment, the host application can be loaded upon computer or operating system startup so that the host application is initially running as a process or thread. The host application can be presented to the user visually in the user interface, or maintained as an internal process or thread. The host application can be activated or controlled by events registered in the computer system, such as by a user selecting the host application to be loaded or to become active. Alternatively, or in addition, a user can edit a configuration file that activates the host application or makes the host application companion capable.

Once the host application is registered or otherwise active, it can obtain a list of independently running applications, as indicated in block <NUM> of flowchart <NUM>. The list of independently running applications can be obtained by the host application submitting a query to the operating system to identify all window processes that are currently running. For example, the host application can issue a "get_processes" command that returns an identifier, such as a window handle, for each currently open or active window process in the system. Upon obtaining an identifier for each window process, the host application can store the window status of each of the independently running applications, as indicated in block <NUM> of flowchart <NUM>. The stored window status can include information about the size, position or activity of a window, for example, as well as a number of other parameters related to the current status of windows representing the independently running applications in the user interface.

Once the status of the independently running applications is stored, the host application monitors the window status of the independently running applications, as is illustrated in block <NUM> of flowchart <NUM>. The monitored window status can be checked or updated on an event basis, such may be determined by user interaction with a windowed application, for example by giving a window the focus of the user interface. According to the invention the status is monitored on a polling basis, where the host application reviews the status of each independently running window application on a regular basis for changes in status. For example, the host application can check the status of each independently running window application on the order of ten times a second, or any other suitable interval, which may/may not be regular or periodic. According to exemplary embodiment, the host application can make operating system calls using the identifiers, such as window handles, for each of the independently running window applications. The host application may, for example, issue a "get_window_rec" call for a specified window application using the associated window handle to determine the status of the window or "rectangle. " The information returned from the operating system call can indicate window status, including such items as the position of the window, size of the window, whether the window is being moved, and other information that describes the situation of the window in the operating system.

The host application determines if there is a change in status for any of the windows being monitored, as illustrated in decision block <NUM>. The determination of a status change can be implemented by comparing a current status, such as may be obtained through a call using the window handle as described above, with the stored window status for the window under inspection. If the status of a window has not changed, the host application continues to monitor the window status of the running window applications, as illustrated with the "no" branch of decision block <NUM> returning to reenter block <NUM> in flowchart <NUM>.

If the window status of a window under inspection has changed, the host application determines whether the window under inspection has a border that is close to and/or aligned with a border of another window displayed in the user interface. This determination is illustrated in decision block <NUM> of flowchart <NUM>. If the host application determines that the borders of the two windows are not close and/or aligned, the host application continues to monitor the window status of the independently running applications, as illustrated with the "no" branch of decision block <NUM> returning to reenter block <NUM> of flowchart <NUM>.

The host application can determine the alignment of window border areas, such as areas <NUM>, <NUM> and/or <NUM> of <FIG> and <FIG>, by comparing a distance between border areas with a particular or dynamic threshold. The threshold can be used to set a distance between border areas, beyond which borders are considered to be nonaligned, and not beyond which borders are considered aligned.

The host application may also use various criteria to determine if an attachment or a docking action should occur, such as by determining that the borders of two windows are aligned within a given range of distances for a certain amount of time. For example, if the borders of two windows are brought together within a quarter of an inch of each other for one second or more, the host application can consider the status of the windows to be a request for attachment or docking of the windows. The determination of the docking request is illustrated with the "yes" branch of decision block <NUM>, which enters block <NUM> of flowchart <NUM>.

Once the attachment or docking operation occurs, the host application identifies the two windows as being attached or docked, so that their behavior can be managed as a unit with regard to at least some of the common behaviors of the windows, even though the windows represent independently running applications. The window handles of the attached or docked windows can be maintained by the host application using a list, so that their status can continue to be monitored, for example.

The host application then continues to monitor the status of the windows in the user interface, and can detect a command provided to a window that is listed in a group of windows, which command the host application can promulgate to all windows in the group in accordance with their inclusion in the list maintained by the host application. Thus, for example, if the user initiates a minimize command for a window that is part of a group, in accordance with the present disclosure, the host application detects the command being applied to one member of a group, and causes a minimize command to be applied to all the windows in the group. Similarly, if the host application detects that the user has initiated a movement or repositioning command on one of the windows in the group, such as by monitoring the window status as discussed above, the host application can implement the same movement or repositioning command on all of the windows in the group, so that the group of windows all move together and appear to behave as a unit when commands are applied to one of the windows in the group.

According to an exemplary embodiment of the present disclosure, the host application can be configured to be visible to the user in the user interface. In addition, the host application can be configured to have launch buttons that open windows that may or may not belong to a group that the host application manages. The launch buttons can be provided to the host application when windows or applications are registered with the host application as companion windows or applications, which may be done by automatic or manual configuration, or by attaching or docking windows or applications, as described above. The registered windows or applications can then be started with the launch buttons in the host application, and can be positioned in accordance with their position configuration within the group. The host application may also be configured to store one or more scaling variables that can be used to scale windows in a group upon one of the windows in the group being resized.

The host application can also serve as base display to which the windows of the separate registered applications can be docked. The host application can display a framework for organizing the registered applications, which can include one or more of the launch buttons for launching windows of corresponding registered applications. Actuation of a launch button causes the corresponding independent application to be started with one or more corresponding windows being opened at defined locations.

An independent application can be deregistered with the host application to eliminate the window(s) of the independent application from the group managed by the host application. In such an event, a corresponding launch button can be removed from the host application. Alternately, or in addition, an independent application can remain registered with the host application, and the windows of the registered application can be removed from the grouping, so that they can behave independently of the windows in the grouping that are associated with other registered applications. Such a configuration can be achieved by providing a flag or other indication in the host application display, for example, that indicates whether the window(s) of a given registered independent application should be grouped with the host application display or not.

According to another exemplary embodiment, windows in a group need not be aligned on border areas. For example, the windows may have a specified separation or position, while still being managed in concert. Such a situation may be useful if it were desired to have windows in a group that were located at different corners of a display, for instance. The windows of a group can also be auto-arranged, whereby their location with respect to each other and/or the host application can be set according to some convention, such as regular spacing or a grid layout. Group windows can also overlap each other, and can be tiled, where windows in the group can each be selected to be brought to the foreground.

As discussed above, the host application can retain data on window status, whether or not a window is made part of a group that does/does not include the host application. In addition, the host application can delete or remove data related to a window that is disassociated with a group. Furthermore, a window that is part of a group can be maintained a part of the group or not when the window is individually closed. Restoring or reopening an application window can restore its attached or docked state and relative position, or not. The same is true for the host application, which can dissolve a group of windows upon being closed or deactivated, or can retain the status of the window group upon being closed or deactivated. Each of the above configurations can be provided to the user as choice for how the companion window system should operate in accordance with user preferences.

With the above embodiments in mind, it should be understood that they can employ various computer-implemented operations involving data transferred or stored in computer systems. These operations are those requiring physical manipulation of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic, or optical signals capable of being stored, transferred, combined, compared and otherwise manipulated.

Any of the operations depicted and/or described herein that form part of the embodiments are useful machine operations. The embodiments also relate to a device or an apparatus for performing these operations. The apparatus can be specially constructed for the required purpose, or the apparatus can be a general-purpose computer selectively activated or configured by a computer program stored in the computer. In particular, various general-purpose machines employing one or more processors coupled to one or more computer readable medium, described below, can be used with computer programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus to perform the required operations.

The disclosed systems and methods can also be embodied as computer readable code on a computer readable medium. The computer readable medium is any data storage device that can store data, which can be thereafter be read by a computer system. Examples of the computer readable medium include hard drives, read-only memory, random-access memory, CD-ROMs, CD-Rs, CD-RWs, magnetic tapes and other optical and non-optical data storage devices. The computer readable medium can also be distributed over a network-coupled computer system so that the computer readable code is stored and executed in a distributed fashion.

Claim 1:
A system for managing windows (<NUM>, <NUM>, <NUM>) in a computer system comprising at least one display (<NUM>), at least one user interface and a processor executing instructions from a memory to:
load a host application into memory and display a first window associated with the host application in the user interface;
detect an input to the host application to launch an independent application that is grouped with the host application;
launch the independent application and display a second window associated with the independent application in the user interface in accordance with one or more of stored window location or stored window size information referenced by the host application within the memory;
wherein the processor detects an operation being applied by a user to either of the first window associated with the host application or the second window associated with the independent application;
applies the operation to at least the other of the first window associated with the host application or the second window associated with the independent application,
wherein the operation is selected from the group consisting of moving, minimizing, maximizing, restoring, and closing the respective applications,
wherein the host application is configured to monitor window activity from different, independent applications to determine if windows are intended to be grouped and
wherein the host application reviews a status of each independently running window application on a regular basis for changes in status.