[comp.windows.x.motif] Too many resizes in Motif 1.1

slc1290@hare.udev.cdc.com (steve chesney x4662) (01/18/91)

We are running Motif 1.1 and notice what appear to be too many resize events.
For example, the application consists of an application shell which has as 
children a bulletin board (with pushbuttons) and a transient shell which has
a menu bar and workspace.  If a resize is forced on the application shell due
to changing widgets inside it, the transient shell resizes even though it does
not need to.  Has anyone else seen this?
-- 

Steve Chesney       Control Data Corporation      slc1290@hare.udev.cdc.com

meeks@osf.org (W. Scott Meeks) (01/22/91)

>From: timbuk!shamash!hare.udev.cdc.com!slc1290@uunet.uu.net  (steve chesney x4662)
>
>We are running Motif 1.1 and notice what appear to be too many resize events.
>For example, the application consists of an application shell which has as 
>children a bulletin board (with pushbuttons) and a transient shell which has
>a menu bar and workspace.  If a resize is forced on the application shell due
>to changing widgets inside it, the transient shell resizes even though it does
>not need to.  Has anyone else seen this?

"Unnecessary" resize events is a know problem in Motif.  Part of the
problem is caused by the complexity of geometry management in Xt and the
fact that sometimes a widget may not be able to tell for certain that it's
parent resized it so that it has to resize itself.  We're working to clean
up geometry management in Motif.  I haven't heard of your particular case
before, but we'll add it to our list of cases to investigate.  Thanks for
the report.

W. Scott Meeks           | We must live with the fact, true throughout recorded
Open Software Foundation | history, that our artifacts are sometimes flawed and
meeks@osf.org            | cause us to die in novel and unexpected ways, and we
(617) 621-7229           | can only do our human best to minimize the problems.