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

From: cstrato (cstrato@aon.at)
Date: Tue Feb 11 2003 - 21:13:56 MET


Dear Fons

I have just downloaded the newest CVS version, and did the following:
./configure macosx --disable-openiv --disable-cern \
--disable-mysql --disable-pgsql --disable-pythia --disable-pythia6 \
--disable-rfio --disable-sapdb --disable-dcache --disable-srp \
--disable-alien --disable-krb5 --disable-venus --disable-asimage

make distclean
make

For some reason, libHtml.dylib is still missing. For all other
libs, both xxx.so and xxx.dylib are present.

Furthermore, adding-removing a tab a couple of times still results in:
Tab item 0 activated

  *** Break *** bus error
Root > Function HandleButtons() busy flag cleared
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) 
(XID: 18876817, XREQ: 61)

Best regards
Christian



Fons Rademakers wrote:

> Hi Christian,
> 
>   I've no problems with the latest guitest.C and root compiled from the
> cvs of today. Also I have the libHtml.dylib, that you seem to be
> missing. Please, recompile from scratch (make distclean;make) and see if
> things are ok.
> 
> -- Fons
> 
> 
> 
> On Fri, 2003-02-07 at 19:53, cstrato wrote:
> 
>>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