[comp.windows.x.motif] Dialog Shell problem

pasturel@sctc.com (Pierre Pasturel) (01/16/91)

marbru@attc.UUCP (Martin Brunecky) writes:

>    The Xt call collects x,y up the widget tree, which should be
>    correct, but... (in particular with Motif 1.0) ... often the
>    Shell does not have correct x,y, Motif DialogShell plays ugl
>    tricpks with x,y etc.

I wish this had come up earlier...

When I had the following widgets

  Application Shell
     BulletinBoard, bb1
         DialogShell
             BullentinBoard, bb2



The bb2 BulletinBoardDialog always gets positioned correctly for the first
setting of its x,y coord, but NOT always the second time I try moving it.
The "solution", if you want to call it that, was to create bb2 as a BB, not a
BBDialog.


For beginner Motif programmer's, this problem resulted in much wasted time....
I know, I was warned. Motif is not for average programmers......

Pierre
pasturel@sctc.com


p.s. Is this Xt problem fixed for ICS OSF/Motif 1.0.3., for 1.1??? When I 
talked about
this problem with someone at ICS, they were unaware of this problem (at that
time, I didn't know what the problem was yet, only knew the symptoms).