Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!alphalpha.com!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: bugs/problems in motif 1.0 Message-ID: <901106155232.7664@alphalpha> Date: 6 Nov 90 19:52:32 GMT References: <1990Nov6.161146.20690@sctc.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 37 > When I first login in for the day, start my x session and mwm, and execute > my application program, the XmNx, XmNy coordinates occassionally (not > always) set the x,y coord. of the (top left corner of the) WINDOW FRAME. I > immediately re-execute my application again (no recompiles or anything), > and then it works correctly (ie.. the window is placed for the x,y coord. > of the window's working area). This inconsistency is annoying... I'm not totally sure I understand what you are saying. This app creates a dialog when it starts up? If so there is a problem that if the parent is not realized when the dialog is created the window will get placed at 0,0. Is that the problem? If so you probably have some kind of race condition. If not I have no idea. > 2. The XmNinsertionPointVisable is documented as a resource of a XmText > widget but does not work when set. I could not find its > string macro define in Xm.h. There's XmNcursorPositionVisible at 1.1, I'm not sure about 1.0. > This leads to my questions: when is one suppose to include Intrinisc.h followed > by IntrinsicP.h? Why was the latter included in the xmfonts.c demo source Never. Include one or the other. Not that it matters though, the first thing that IntrinsicP.h does is include Intrinsic.h. Are you sure that IntrinsicP.h is the one that comes with Motif 1.0 and not the R3 one? > Documentation in Intrinsic.h and IntrinsicP.h is non-existent so the programmer > has no idea what they are used for. You can't really use Motif without Intrinsics documentation. I believe that OSF's intention there is to refer you to the Intrinsics documentation rather than trying to duplicate it. > BTW, is there a list of "commonly asked questions about programming in > motif" somewhere so that people like us don't have to flood this newsgroup > with our basic questions? Yes, a preliminary copy was just posted. However most of your questions weren't in that category anyway. -kee