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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Feb 11 2003 - 13:32:56 MET


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
> _._._._._._._._._._._._._._._._
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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