Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!gatech!gt-eedsp!jensen
From: jensen@gt-eedsp.UUCP (P. Allen Jensen)
Newsgroups: comp.windows.x
Subject: Interaction Problem between awm and the Toolkit - window position
Keywords: problem,awm,toolkit,X
Message-ID: <460@gt-eedsp.UUCP>
Date: 22 Sep 88 17:40:31 GMT
Organization: Georgia Institute of Technology
Lines: 25

I was playing with some example code from Richard Hesketh (rlh2@ukc.ac.uk)
for showing how popup menus are created in the toolkit.  The program creates
a commandWidget in a formWidget which controls the popup menu.  When the
menu is 'popped,' the program uses XtTranslateCoord to get the position
relative to the root window to place the popup shell just below the
controling commandWidget.  The problem I ran into was that the popup
always ended up in the upper-left corner of the screen as though the
commandWidget was located at (0,0) !  I was using awm and positioning the
commandWidget's window using awm.  When I ran the program with the
-geometry option to locate the commandWidget, the popup appeard at
the correct place !

Q: Is this a bug in the way awm positions a window or is it a bug in how the
   Toolkit decides where the Widget is located ?

Q: Has anyone else encountered this problem and found a solution ?

Q: Has the problem been addressed in X11R3 ?
---
P. Allen Jensen
-- 
P. Allen Jensen
Georgia Tech, School of Electrical Engineering, Atlanta, GA  30332-0250
USENET: ...!{allegra,hplabs,ihnp4,ulysses}!gatech!gt-eedsp!jensen
INTERNET: jensen@gteedsp.gatech.edu