Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

# Algorithm for Optimum Window Positioning

IP.com Disclosure Number: IPCOM000099453D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-14
Document File: 2 page(s) / 64K

IBM

## Related People

Dickson, DW: AUTHOR

## Abstract

An algorithm is disclosed to optimally position a window on a display screen when it is first displayed so as to minimize the need of a user to adjust it upon its first appearance. OVERVIEW

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Algorithm for Optimum Window Positioning

An algorithm is disclosed to optimally position a window
on a display screen when it is first displayed so as to minimize the
need of a user to adjust it upon its first appearance. OVERVIEW

The algorithm supports a windowing system which presents a
number of optionally overlapping windows on a screen.  The intent of
the algorithm is to make a best decision at positioning a window at
the time that it first requests to be displayed and to place the
window in a position that would most satisfy the user, thus
minimizing the desire to reposition it.

The algorithm does not move existing windows that have already
been displayed at any time in their past, even if they are not
currently visible.  The reason is that the user may remember where a
window last appeared and would feel more comfortable if it reappeared
in the same place.  Only the window manager can reasonably make the
best decision as to where to position a window because the manager is
ultimately responsible for sharing the screen between the individual
applications.  For an application running under a window manager to
undertake window positioning itself would be to usurp some of the
window manager's function.

The algorithm uses the following rules in the numbered order of
descending importance.
1. Fit as much of the window as possible onto the screen.
The window may be larger than the screen in either or both
dimensions.  If it will not fit completely, ensure that the top left
corner of the window fits on the screen (because this corner
generally has...