Apropos: ROOT 2.22/10 SunOS Dear ROOTers, I have noticed the same problem i.e. the Error in <RootX11ErrorHandler>:BadWindow(invalid Window parameter)... in other situations too. For instance some times, when I change dimensions of the Histogram's title I get this message. However, I must say that it's difficult to reproduce the problem. It's just happens from time to time with no apparent reason. Also, when one tries to draw some complex shapes in a TCanvas using the editor, the problem appears spontaneously when one attempts to change size/position of already drawn objects. Finally, while playing with the editor, I caused segmentation violations on a number of occasions just by playing with the objects I have drawn on the canvas. Note that when I say playing I mean I was just using the plain editor. I haven't actually written a single line of my code. In the exercise, I have created a TBrowser in my root session, and then opened a new canvas from within the browser. Indeed using the tools provided in the TCanvas I have observed those problems. Cheers, Krzysztof On Sat, 18 Sep 1999, Colin Partridge wrote: > I am receiving some errors when using the GUI classes and I'm not sure why > they are occurring. I would be grateful if someone could suggest a reason > for them. > > The first one occurs when I close down a window inheriting from > TGTransientWindow > > Error in <RootX11ErrorHandler>:BadWindow(invalid Window parameter)(XID: > .....) > > I have attached the code for this window. > > The second error occurs when I select a pad within an TRootEmbeddedCanvas > (by clicking with the middle mouse button). However it only occurs after I > have opened and closed another TGTransientWindow which also contains an > embedded canvas. > > Error in <RootX11ErrorHandler>:BadDrawable(invalid pixmap or Window > parameter)(XID: .....) > > The same histogram is present on both canvases, though one was drawn with > DrawCopy(), I wondered if this could have an effect, though I don't see why. > > If anyone could offer any suggestions I would be most grateful. > > -- > Colin Partridge > stack@lineone.net > http://website.lineone.net/~stack/ >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET