From owner-freebsd-java Mon Mar 2 14:03:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26517 for freebsd-java-outgoing; Mon, 2 Mar 1998 14:03:29 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from hq.freegate.com (ns.freegate.com [208.226.86.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA26512 for ; Mon, 2 Mar 1998 14:03:28 -0800 (PST) (envelope-from sbb@freegate.com) Received: (qmail+freegate 3150 invoked by alias); 2 Mar 1998 22:03:26 -0000 Received: from ws212.hq.freegate.com (HELO ws2.hq.sbb.com) (208.226.86.212) by ns.hq.freegate.com with SMTP; 2 Mar 1998 22:03:26 -0000 Received: by ws2.hq.sbb.com with Microsoft Mail id <01BD45E4.62C54F40@ws2.hq.sbb.com>; Mon, 2 Mar 1998 14:06:24 -0800 Message-ID: <01BD45E4.62C54F40@ws2.hq.sbb.com> From: Steve Byrne To: Johan Larsson , "'Jonathan Chen'" Cc: Amancio Hasty , "freebsd-java@FreeBSD.ORG" Subject: RE: Swing 1.0 and jdk-1.1.5 Date: Mon, 2 Mar 1998 14:06:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. My contacts in JavaSoft tell me two things (confirming what I'd heard before I left there): 1) the Motif based Frame code is broken with a lot of window managers (so you might see the same kinds of problems on the Solaris JDK), and 2) JDK 1.1.6 is due out relatively soon, and that fixes for the Frame code have been a high priority. Steve ---------- From: Jonathan Chen Sent: Monday, March 02, 1998 12:14 PM To: Johan Larsson Cc: Amancio Hasty; freebsd-java@FreeBSD.ORG Subject: Re: Swing 1.0 and jdk-1.1.5 On Sun, 1 Mar 1998, Johan Larsson wrote: > On Sat, 28 Feb 1998, Amancio Hasty wrote: > > > I have not noticed such behavior with my locally compiled jdk1.1.5/Motif > > on 3.0-current. > > > > Well, then i ran swing remote from my freebsd machine, i got this > behaviour _once_. It seemed that the size of the window wasn't enough so > then you pressed a menuitem it automaticly was over the first item in that > menu and of course then you released the button it thought that you have > pressed it. I don't know if this is a jdk-freebsd bug or a swingbug (I > haven't seen it then i tried it on a solaris machine). You've hit the problem on the head! However, here's the weird part. If I use fvwm95 as my Window Manager (it's my default), the menu-drop-list is positioned *ABOVE* the menubar-entry; thus causing the problem above. If I switch to twm, it positions itself below the menubar-entry (as I'd expect it to), and everything works ok. Whoa. I wouldn't have expected the Window Manager to have such an effect on the menu-list positioning! --- Jonathan Chen | de-moc-ra-cy (di mok' ra see) n. Three wolves | and a sheep voting on what's for dinner. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message