Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 1998 22:04:02 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Damon Permezel <dap@damon.com>
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
Message-ID:  <199803030504.WAA26191@mt.sri.com>
In-Reply-To: <199803030246.UAA26545@damon.com>
References:  <199803022235.PAA23496@mt.sri.com> <199803030246.UAA26545@damon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803030504.WAA26191>