Abstract:
The present invention discloses a solution for using menu position indicators to accurately show where an intelligently placed menu will appear. Positioning of menus can automatically vary in the solution depending upon available screen space and an origin point for the menu. A menu position indicator can include a graphical image capable of indicating a direction of the menu appearance, such as an arrow or triangle. The menu position indicator for a menu can change depending upon a position of an origin point and depending upon available screen space for displaying the associated menu. When a position of a main menu changes, calculations can be performed to determine where a submenu of the main menu will be presented, and the menu position indicator can be adjusted accordingly.

Description:
BACKGROUND 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to the field of graphical user interfaces and, more particularly, to providing suitable menu position indicators that predict menu placement of menus having variable positions depending on an availability of display space. 
         [0003]    2. Description of the Related Art 
         [0004]    Menus are an important and heavily used part of graphical user interfaces. Menu and submenu behavior frequently follows conventions based on their menu type. In general, menus have an established origin point and are positioned within an interface relative to this point. For fixed menus, the origin point is usually defined by a fixed GUI element, such as a menu bar. For context menus, the origin point is usually defined by a position of a pointer when the context menu was initiated. Most, but not all, menus use the origin point as the upper left point of a menu position. Some menus, for example, that originate from a bottom docked bar use the origin point as the bottom left position of the menu. Other menus that originate from a right docked bar use the origin point as the top right position of the menu. 
         [0005]    Menus can include certain actions associated with additional levels of options, each level being associated with a submenu. A menu typically denotes submenu availability by displaying an indicator in the form of a small black arrow, or less commonly, an ellipsis. Generally, fixed menus, context menus, and submenus behave similarly and in a manner consistent with user expectations. However, in many instances, when screen space is not available for menus to behave “normally”, unanticipated behavior can result. For example, menus that appear to the right of an origin point when space is available often expand to the left when there is not sufficient screen space to the right. Not only is a user sometimes surprised by where menus appear, submenu indicators often add to this confusion by indicating default positions, which are different from an actual position of a presented submenu. 
       SUMMARY OF THE INVENTION 
       [0006]    The present invention discloses a solution for using menu position indicators to accurately show where an intelligently placed menu will appear. Positioning of menus can automatically vary in the solution depending upon available screen space and an origin point for the menu. A menu position indicator can include a graphical image capable of indicating a direction of the menu appearance, such as an arrow or triangle. The menu position indicator for a menu can change depending upon a position of an origin point and depending upon available screen space for displaying the menu. When a position of a main menu changes, calculations can be performed to determine where a menu will be presented, and the menu position indicator can be adjusted accordingly. 
         [0007]    It should be noted that various aspects of the invention can be implemented as a program for controlling computing equipment to implement the functions described herein, or as a program for enabling computing equipment to perform processes corresponding to the steps disclosed herein. This program may be provided by storing the program in a magnetic disk, an optical disk, a semiconductor memory or any other recording medium. The program can also be provided as a digitally encoded signal conveyed via a carrier wave. The described program can be a single program or can be implemented as multiple subprograms, each of which interact within a single computing device or interact in a distributed fashion across a network space. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0008]    There are shown in the drawings, embodiments which are presently preferred, it being understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown. 
           [0009]      FIG. 1  is a schematic diagram illustrating a set of scenarios for menu position indicators that dynamically adjust to show a position where a menu having more than one possible display position is to appear. 
           [0010]      FIG. 2  is a schematic diagram illustrating a system for self-adjusting menu position indicators in accordance with the embodiment of inventive arrangement disclosed herein. 
           [0011]      FIG. 3  is a flowchart illustrating a method for dynamically presenting different menu position indicators to properly predict a placement of a related menu in accordance with the embodiment of inventive arrangements disclosed herein. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0012]      FIG. 1  is a schematic diagram illustrating a set of scenarios  110 - 140  for menu position indicators that dynamically adjust to show a position where a menu having more than one possible display position is to appear. Scenarios  110 - 140  illustrate a context menu  114 ,  124 ,  134 ,  144  for a file manager application and an associated submenu  116 ,  126 ,  136 ,  146 . The scenarios  110 - 140  show a variable placement of the submenu  116 ,  126 ,  136 ,  146  based upon a position of the main menu  114 ,  124 ,  134 ,  144  relative to the screen area  112 ,  122 ,  132 ,  142  of a display. Positions indicated by menu indicators  118 ,  128 ,  138 , and  148  are predictive in nature and anticipate a positioning of a related menu  116 ,  126 ,  136 ,  146  when activated. 
         [0013]    Use of a file manager application is arbitrary and technique illustrated can be applied to any application context. Further, the technique is not limited to context menus, but can apply to any situation in which a menu is to appear in a location shown by a menu presentation indicator. For example, when a menu is to appear proximate to a pointer/cursor (e.g., right mouse clicking to call up a menu of options, for example) the pointer/cursor can include a menu presentation indicator to indicate where the submenu  116 ,  126 ,  136 ,  146  is to appear. 
         [0014]    The scenarios  110 - 140  present four menu positions and menu position indicators  118 ,  128 ,  138 , and  148  based on available screen area. In the scenarios  110 - 140 , menu locations can be indicated by triangles pointing in one of four possible directions, above, below, left, and right. Menu position indicators  118 ,  128 ,  138 , and  148  can denote the location where the associated menu can appear. 
         [0015]    Scenario  110  illustrates a typical default menu position indicator and position for submenus. In scenario  110 , menu position indicator  118  can inform the user of the location of submenu  116  appearance. When screen area  112  is available to the right of the main menu  114 , submenu  116  can be presented. For example, menu position indicator  118  is consistent with the location of the “send to” menu  116  presented alongside menu  114 . 
         [0016]    In scenario  120 , screen area  122  is inadequate to present submenu  126  to the right of main menu  124 , the default location. In this situation, submenu  126  can be presented to the left of a menu  124 . Before submenu  126  is presented, menu position indicator  128  can indicate the expected location of submenu  126 . For example, when a user interacts with the “send to” menu entry, the user can expect the location of submenu  126  based on the direction menu position indicator  128  is pointing. 
         [0017]    In scenario  130 , a submenu  136  can be presented hierarchical inline manner to main menu  134 . Scenario  130  presents a menu  134  constricted by minimal screen area  132 . Menu position indicator  138  can be used to present the expected location of submenu  136 . When a user interacts with the “send to” menu entry, main menu  134  can be expanded to fit submenu  136 , as shown. For example, an application executing on a mobile device can present a submenu  136 , consistent with information given by menu position indicator  138  and allowing convenient access to submenu  136  entries. Selecting the menu position indicator  138  or a region of the send to option can toggle a presentation state of the submenu  136  causing a previously expanded submenu  136  to collapse, thereby restoring a presentation to only main menu  134  options. 
         [0018]    Scenario  140  illustrates a submenu  146  appearing above main menu  144 . Menu position indicator  148  can inform a user of the expected location of submenu  146 . As shown, a context menu  144  presented at the bottom of screen area  142  can appear to grow upward. When main menu  144  appears to grow upward, submenu  146  position can behave in a consistent manner to its parent window, appearing above menu  144 . Menu position indicator  148  can allow the user to verify expected location of submenu  146  before submenu  146  is presented. 
         [0019]    In system  100 , submenus  116 ,  126 ,  136 , and  146  position can be affected by user settings, system level preferences, application level preferences, and the like. Menu position indicators  118 - 148  can include, but are not limited to, arrows, geometric shapes (e.g. triangle), non-uniform shapes, icons, and other indicators capable of denoting menu position. Scenarios  110 - 140  are for illustrative purposes only and should not be construed to limit the invention in any regard. 
         [0020]      FIG. 2  is a schematic diagram illustrating a system  200  for self-adjusting menu position indicators in accordance with the embodiment of inventive arrangement disclosed herein. System  200  represents one hardware/software structure within which the scenarios  110 - 140  can be implemented. 
         [0021]    In system  200 , an interface manager  220  on a computing device  210  can be utilized to present menus and associated menu position indicators to a user. Menu position indicators can denote the location where a related menu can appear. The interface manger  220  can be a software program configured to handle interface aspects of device  210 , including menu behavior. The menu position handler  222  can be a software program that anticipates a positioning of a menu or submenu associated with menu position indicator and dynamically changes the menu position indicator to match the anticipated position. Menus indicated by a menu indicator can be main menus appearing from a visually represented origin point, can be a submenu of a main menu, or can be a child submenu of a parent submenu. 
         [0022]    Based on stored user menu preferences  230  in data store  232 , menu positioning behavior can be altered. For example, user preferences can indicate a default position for placing a menu, a priority order of positioning preferences should more preferred placements not be possible, a refresh rate for determining a proper menu position indicator, a visual characteristic of a menu position indicator, and the like. The user preferences  230  can be established and/or modified using configuration interface  224 . 
         [0023]    As shown herein, computing device  210  can be a hardware/software device capable of performing actions based on user interaction that involve a presentation of menus. Computing device  210  can include, but not limited to, desktop computer, laptop, mobile phone, mobile computing device, personal digital assistant (PDA), a media player, an entertainment system, a virtual computing device, and the like. 
         [0024]    Data store  232  can be physically implemented within any type of hardware including, but not limited to, a magnetic disk, an optical disk, a semiconductor memory, a digitally encoded plastic memory, a holographic memory, or any other recording medium. Data store  232  can be stand-alone storage units as well as a storage unit formed from a plurality of physical devices, which may be remotely located from one another. Additionally, information can be stored within the data store  232  in a variety of manners. For example, information can be stored within a database structure or can be stored within one or more files of a file storage system, where each file may or may not be indexed for information searching purposes. 
         [0025]      FIG. 3  is a flowchart illustrating a method  300  for dynamically presenting different menu position indicators to properly predict a placement of a related menu in accordance with the embodiment of inventive arrangements disclosed herein. Method  300  can occur in context of system  200  and can represent a method performed for scenarios  110 - 140 . 
         [0026]    The method  300  can begin in step  305 , where a graphical user interface (GUI) can detect a menu triggering event, which presents a main menu having at least one submenu option associated with it. Each option can include a menu position indicator to indicate where the associated submenu is to be positioned relative to the main menu when activated. In step  310 , available screen areas for each submenu to be presented can be determined. In step  315 , user/system preferences for menus/submenus can be accessed within which previously established preferences for menu behavior can be stored. In step  320 , the preferred position for the submenu(s) can be determined from retrieved preferences. In step  325 , if there is not enough screen area to present the set of submenus in the preferred position, the method can return to step  320 , where a next lower presentation preference for the set of submenus can be determined. When sufficient screen space exists for presenting each submenu, the current placement position can be used. A menu position indicator consistent with the current placement position(s) can be presented in the main menu, as shown by step  330 . In step  335 , a submenu triggering event can be detected, which causes the submenu(s) associated with the menu position indicator to appear in a position indicated by the menu position indicator. 
         [0027]    It should be appreciated that details relating to the menu/submenu behavior can dynamically change depending on previous actions and/or a menu/submenu state. For example, a main menu can include multiple submenus, which are to be presented below a main menu (e.g., scenario  130 ) when activated according to preferred menu behavior settings. Even though sufficient vertical screen area (step  310 ) may be available (step  325 ) for a first submenu expansion, sufficient vertical screen area space may not be available for a second submenu expansion, since the first expansion reduces the screen area available (step  310 ). This can cause method  300  to present the first expansion vertically (e.g., scenario  130 ) and the second submenu expansion in a different manner (e.g., scenario  110 ,  120 , or  140 ). Other configurable behavior can also be established (i.e., both the first and second submenu expansion behavior can change so that space is available; the first submenu can be automatically contracted to allow the second submenu to be expanded vertically; and the like) within method  300  to handle different menu related situations. 
         [0028]    In another example, a submenu can include child submenus, which are each associated with expansion options. As a submenu expands, such as to the right as shown in scenario  110 ) screen space may be unavailable for further expansions to the right, which can cause submenus that are children of the expanded submenu to behave in accordance with a different scenario  120 ,  130 , or  140  (expanding to the left, below, or above, respectively) depending on available screen areas and configured preferences. 
         [0029]    The present invention may be realized in hardware, software or a combination of hardware and software. The present invention may be realized in a centralized fashion in one computer system or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for a carrying out methods described herein is suited. A typical combination of hardware and software may be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. 
         [0030]    The present invention also may be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form.