[ROOT] Bugs in guitest.C or in GUI classes?

From: cstrato (cstrato@aon.at)
Date: Fri Feb 07 2003 - 19:53:43 MET


Dear Rooters

Since I want to write a new gui, I am testing the tutorial
example guitest.C. When running guitest.C on MacOS X using
root 3.05/02 from 31 January 2003 I get the following output:
----------------
root [0] .x guitest.C
TestMainFrame has been created. Welcome!
root [1] Error in <RootX11ErrorHandler>: BadWindow (invalid Window
parameter) (XID: 20972049, XREQ: 61)
menu popped up
menu popped down
fIniDir = .
  (dir: .)
menu popped up
// etc....
DoButton: id = 101
Tab item 4 activated
Tab item 3 activated

Terminating dialog: OK pressed

  *** Break *** illegal instruction
Root > Error in <RootX11ErrorHandler>: BadDrawable (invalid Pixmap
or Window parameter) (XID: 20972530, XREQ: 74)
-----------------

When testing my own old gui, which I have written more than one
year ago, I realized that when I open a dialogbox very often, I
get finally a *** Break *** bus error. I did not get this
behavior before.

The same happens when I open "Dialog.." in guitest.C a couple
of times.  Furthermore, adding and removing a Tab in this
dialog a couple of times also causes a *** Break *** bus error.

Furthermore, there is a problem with Color Selector: Although
I can add the first custom color, it is not possible to add a
second custom color.

Could it be that in the new root version(s) the GUI classes
are less stable than in earlier versions of root?
Personally, I think it is important that the GUI classes of
root become as stable as the other root classes are.

I hope that my observations help to debug the GUI classes.

Best regards
Christian
_._._._._._._._._._._._._._._._
C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a       A.u.s.t.r.i.a
_._._._._._._._._._._._._._._._



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET