From owner-freebsd-multimedia Fri Feb 20 10:22:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06746 for freebsd-multimedia-outgoing; Fri, 20 Feb 1998 10:22:12 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA06740 for ; Fri, 20 Feb 1998 10:22:09 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA01436; Fri, 20 Feb 1998 17:46:24 +0100 From: Luigi Rizzo Message-Id: <199802201646.RAA01436@labinfo.iet.unipi.it> Subject: Re: vat problem with highlight color... To: fenner@parc.xerox.com (Bill Fenner) Date: Fri, 20 Feb 1998 17:46:24 +0100 (MET) Cc: fenner@parc.xerox.com, multimedia@FreeBSD.ORG In-Reply-To: <98Feb20.081708pst.177476@crevenia.parc.xerox.com> from "Bill Fenner" at Feb 20, 98 08:16:48 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Luigi Rizzo wrote: > >i tried this quickly but vat dumps core if i remove the tk_setPalette > >call and the following loop on setting options (this is quite odd, > >i have to say...) > > Yeah, I'll say. I was quite surprised too. ok. apparently in tkwidget.cc TkWidget::getcolor() fails if the first arg is NULL. I think it's Tk_GetColor() which dies when the third arg is null, so that could be a Tk 8.0 bug... > >Plus i really don't understand where the highlightColor value is > >inherited from. > > tk_setPallete sets tkPallete(highlightColor), then the loop sets > the option. Presumably, highlightColor is new in tk 8.0 . right... but i have no idea how to override this. Since the bug is annoying, it would be probably a wise thing in the meantime (i.e. for 2.2.6) to force sitebox.cc (line 219) to use the default color, i.e. - ac_ = sitebox_.getcolor(tcl.attr("highlightColor"), "white"); + ac_ = sitebox_.getcolor("white", "white"); > I committed Van's fix for this as a patch to the port (along with > memory leak patches and the getsockopt() patch that I had sent you > before). yes i saw. I am coming soon with a fixed audio module. you did not answer yet if you have a machine with the old voxware driver to test the new audio module... luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message