Path: utzoo!attcan!uunet!peregrine!elroy!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.EDU!swick From: swick@athena.mit.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Popping up using Xtk Message-ID: <8809151157.AA05155@LYRE.MIT.EDU> Date: 15 Sep 88 11:56:58 GMT References: <844@hub.ucsb.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 19 > 2. XtCreatePopupShell an overrideShell, with toplevel as > its parent. > 3. XtCreateWidget a dialogWidget as the child of the > popup create before it. ... > X Protocool error detected by server: integer parameter out of range > Failed request major op code 1 X_CreateWindow > Failed request minor op code 0 > ResourceID 0x0 in failed request This error has most frequently meant that one of your widgets has zero width or height. If your scenario is exactly as you describe, then your popup shell has no managed child and may be the culprit. The easiest way to isolate the problem widget is to set a breakpoint in the error handler and run with the -synchronous argument. (In MIT Xlibs, the default error handler is _XError, but this is _not_ part of the spec). The Realize method that is on the top of the stack will give you the CreateWindow request that is failing.