Bug in map positioning below menu bar. - A4000006 - 23 Nov 1999

There is a minor bug that can cause a map to be incorrectly positioned by the terminal manager.

NB This problem only arises when the "client edge" feature is disabled (which is the default behaviour on 640*480 screens)

If a map is displayed immediately after the map which forms a menu bar for the application (and which has the M_MENU property, so that it is automatically adjusted to look like a "proper" Windows menu) then the size of the menu bar is incorrectly taken to be what it would be if that map was a regular map, not subject to being automatically resized and rearranged. As as result the map is displayed in the wrong position

There are two work-arounds for this problem:

  1. Call refresh() between displaying the menu bar and the other map.

  2. Make sure the size of the menu bar is adjusted to be the right value. However this cannot be done reliably as the user can change the height of the menu bar in various ways, or the application window may be shrunk to a state where the menu bar occupies several lines.

It may be some time before this is fixed.