Preserve input focus in virtualized dataset
AssigneeMicrosoft Technology Licensing, LLC
InventorDavid Zearing
Life of this patent
Estimating the term…
Abstract
Variety of approaches to preserve an input focus in a virtualized dataset is described. An application initiates operations to preserve an input focus in a virtualized dataset by presenting an initial page of items from a large dataset in a visible area. A spacer associated with a non-rendered page of items from the large dataset is rendered in a virtual area of the application. Next, an initial focus position is assigned to the initial page of items. Furthermore, the initial page of items is stored in a focus page index in an association with the initial focus position.
Claims16
A computing device to preserve an input focus in a virtualized dataset, the computing device comprising:
- a display component;
- a memory configured to store instructions associated with a client application and a focus page index;
- a processor coupled to the memory and the display component, the processor executing the client application in conjunction with the instructions stored in the memory, wherein the client application includes instructions that direct the computing device to:
- present, on the display component, an initial page of items from a large dataset in a visible area of the client application;
- render a spacer associated with a non-rendered page of items from the large dataset in a virtual area of the client application;
- detect an initial input action on the visible area while the initial page of items is in the visible area;
- assign an initial focus position to the initial page of items based on the initial input action;
- and
- store the initial page of items in the focus page index, in the memory, in an association with the initial focus position, wherein the focus page index preserves the initial focus position;
- detect a scroll action while the initial page of items is in the visible area;
- in response to the scroll action, retrieve the non-rendered page of items associated with the scroll action from the large dataset;
- and render, on the display component, the non-rendered page of items in the visible area as a following page of items in place of the initial page of items;
- detect a directional key entry from a keyboard action while the following page of items is in the visible area;
- and
- in response to the directional key entry, query the focus page index with the initial focus position to locate the initial page of items;
- retrieve the initial page of items from the focus page index;
- and render, on the display component, the initial page of items in the visible area in place of the following page of items.
A method executed on a computing device to preserve an input focus in a virtualized dataset, the method comprising:
- presenting an initial page of items from a large dataset in a visible area of a client application;
- rendering a spacer associated with a non-rendered page of items from the large dataset in a virtual area of the client application;
- detecting an initial input action on the visible area while the initial page of items is in the visible area;
- assigning an initial focus position to the initial page of items based on the initial input action;
- storing the initial page of items in a focus page index, in a memory, in an association with the initial focus position, wherein the focus page index preserves the initial focus position;
- in response to detecting a scroll action while the initial page of items is in the visible area, retrieving the non-rendered page of items from the large dataset, rendering the non-rendered page of items in the visible area as a following page of items in place of the initial page of items, and maintaining the initial focus position in the focus page index;
- and
- in response to detecting a direction key entry from a keyboard action while the following page of items is in the visible area, querying the focus page index with the initial focus position to locate the initial page of items;
- retrieving the initial page of items from the focus page index;
- and rendering the initial page of items in the visible area in place of the following page of items.
A computer-readable memory device with instructions stored thereon to preserve an input focus in a virtualized dataset, the instructions, when executed, direct a computing device to:
- present an initial page of items from a large dataset in a visible area of a client application;
- render a spacer associated with a non-rendered page of items from the large dataset in a virtual area of the client application;
- detect an initial input action on the visible area while the initial page of items is in the visible area;
- assign an initial focus position to the initial page of items based on the initial input action;
- store the initial page of items in a focus page index, in a memory, in an association with the initial focus position, wherein the focus page index preserves the initial focus position;
- detect a scroll action while the initial page of items is in the visible area;
- in response to the scroll action, retrieve the non-rendered page of items from the large dataset, and render the non-rendered page of items in the visible area as a following page of items in place of the initial page of items
- detect a directional key entry from a keyboard action while the following page of items is in the visible area;
- and
- in response to the directional key entry, query the focus page index with the initial focus position to locate the initial page of items;
- retrieve the initial page of items from the focus page index;
- and render the initial page of items in the visible area in place of the following page of items.
Dependencies are inferred from the claim text.