From owner-freebsd-java Mon Mar 2 21:04:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA04562 for freebsd-java-outgoing; Mon, 2 Mar 1998 21:04:25 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA04476; Mon, 2 Mar 1998 21:04:10 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA29115; Mon, 2 Mar 1998 22:04:06 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA26191; Mon, 2 Mar 1998 22:04:02 -0700 Date: Mon, 2 Mar 1998 22:04:02 -0700 Message-Id: <199803030504.WAA26191@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Damon Permezel Cc: nate@mt.sri.com (Nate Williams), sbb@freegate.com, freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Swing 1.0 and jdk-1.1.5 In-Reply-To: <199803030246.UAA26545@damon.com> References: <199803022235.PAA23496@mt.sri.com> <199803030246.UAA26545@damon.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Look in the awt_Frame.c code -- there is a diff that the FreeBSD port has > > > where an allowance for the height of the menu bar isn't being made. This > > > may have been to fix the behavior with some window managers, but it > > > looks like it's at the expense of others. > > > > Hmm, this code is from Damon's patchkit, so I'm unsure why it was made. > > Any ideas why you changed this Damon? > > Absolutely! > Without this hack, using fvwm2 window manager, the window would > appear, jump off to some random location, and would resize itself > to pretty much 0 width and smallish height. Hmm, I've seen that problem with the SWING stuff, but never with the stock JDK's off a SUN box. (I using fvwm1 on most of the SUN's, and olwm on the others.) > I admit to not having had the slightest idea what the code I disabled > was attempting to do. It changed substantially between 1.1.4 and 1.1.5, and > it is clear from the all the debug code left in there that whoever was > making the changes was having some difficulties, and what was released > probably works OK for MWM, but was totally broken for non-MWM. Interestingly enough, the stock SUN code seems to work fine for fvwm, so I'm not sure why it was changed for FreeBSD. (As have all previous versions.) > I just whacked at it until it stopped wreaking havoc, and went on to > more important issues, like core dumps. It does cause initial window placement > to be erratic -- windows place, then jump elsewhere. It just was never > very high on the list of things to get 99% right. Hmm, maybe I'll disable the code and see what happens (privately). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message