From ajgregory at gmail.com Fri Jun 26 22:36:55 2015 From: ajgregory at gmail.com (AJ Gregory) Date: Fri, 26 Jun 2015 15:36:55 -0700 Subject: Odd behavior on Max OSX 10.10 with retina display and external monitor. Message-ID: Using latest Java 1.8.0_25 or Java 1.7.0_80 I'm seeing some odd behavior on Max OSX 10.10 when using a retina laptop and an external monitor. Using a simple test class that creates a JFrame with a JDialog like this: public class TestMacWindows { public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { JFrame f = new JFrame("Main Frame"); f.setSize(300,300); f.setLocation(100,100); f.setVisible(true); JDialog d = new JDialog(f, "Dialog"); d.setSize(300,300); d.setLocation(500,100); d.setVisible(true); } }); } } When you first run the class it will place both JFrame and JDialog side-by-side on the primary monitor. If you drag the JFrame window it moves the JDialog with it and if you drag it so the JFrame is on one monitor but the JDialog is still on the other monitor then the JDialog disappears completely. It only happens when they are moving in-sync when dragging the JFrame. If you move the JDialog to another screen by just dragging the JDialog then it's fine. Besides the disappearing I've also see that if you: 1. Drag the JDialog to another monitor 2. Click back on the JFrame so it's in focus 3. Click back on the JDialog to focus it again Then it will make the JDialog jump to a different location back on the other monitor where the JFrame is. Anybody else seeing this behavior or have a work around? Thanks, -Aj From hs at tagtraum.com Sat Jun 27 06:34:33 2015 From: hs at tagtraum.com (Hendrik Schreiber) Date: Sat, 27 Jun 2015 08:34:33 +0200 Subject: Odd behavior on Max OSX 10.10 with retina display and external monitor. In-Reply-To: References: Message-ID: > On Jun 27, 2015, at 00:36, AJ Gregory wrote: > > Using latest Java 1.8.0_25 or Java 1.7.0_80 I'm seeing some odd behavior on > Max OSX 10.10 when using a retina laptop and an external monitor. The latest Java 8 is Java 1.8.0_45 not 25. Perhaps you should make sure you see the same behavior with the current version. Cheers, -hendrik From ajgregory at gmail.com Sat Jun 27 06:39:35 2015 From: ajgregory at gmail.com (AJ Gregory) Date: Fri, 26 Jun 2015 23:39:35 -0700 Subject: Odd behavior on Max OSX 10.10 with retina display and external monitor. In-Reply-To: References: Message-ID: That was a typo. It was tested with latest 1.8.0_45. -Aj On Friday, June 26, 2015, Hendrik Schreiber wrote: > > > > On Jun 27, 2015, at 00:36, AJ Gregory > wrote: > > > > Using latest Java 1.8.0_25 or Java 1.7.0_80 I'm seeing some odd behavior > on > > Max OSX 10.10 when using a retina laptop and an external monitor. > > The latest Java 8 is Java 1.8.0_45 not 25. > Perhaps you should make sure you see the same behavior with the current > version. > > Cheers, > > -hendrik > > From mik3hall at gmail.com Sat Jun 27 12:54:54 2015 From: mik3hall at gmail.com (Michael Hall) Date: Sat, 27 Jun 2015 07:54:54 -0500 Subject: Odd behavior on Max OSX 10.10 with retina display and external monitor. In-Reply-To: References: Message-ID: <8726DFCF-C7EF-4C09-AB74-ADB1E4A8B6E4@gmail.com> > On Jun 26, 2015, at 5:36 PM, AJ Gregory wrote: > > Using latest Java 1.8.0_25 or Java 1.7.0_80 I'm seeing some odd behavior on > Max OSX 10.10 when using a retina laptop and an external monitor. > > Using a simple test class that creates a JFrame with a JDialog like this: Since the OS X port project is supposed to be complete I?m not sure this is the best list for support issues anymore. From this? http://mail.openjdk.java.net/mailman/listinfo I might guess from your issue that the swing-dev list? http://mail.openjdk.java.net/mailman/listinfo/swing-dev might be the best place to try for discussion. Michael Hall From alexandr.scherbatiy at oracle.com Mon Jun 29 11:28:04 2015 From: alexandr.scherbatiy at oracle.com (Alexander Scherbatiy) Date: Mon, 29 Jun 2015 14:28:04 +0300 Subject: Odd behavior on Max OSX 10.10 with retina display and external monitor. In-Reply-To: References: Message-ID: <55912BC4.9010307@oracle.com> Could you create an issue on it: http://bugreport.java.com/bugreport Thanks, Alexandr. On 6/27/2015 9:39 AM, AJ Gregory wrote: > That was a typo. It was tested with latest 1.8.0_45. > > -Aj > > On Friday, June 26, 2015, Hendrik Schreiber wrote: > >> >>> On Jun 27, 2015, at 00:36, AJ Gregory > > wrote: >>> Using latest Java 1.8.0_25 or Java 1.7.0_80 I'm seeing some odd behavior >> on >>> Max OSX 10.10 when using a retina laptop and an external monitor. >> The latest Java 8 is Java 1.8.0_45 not 25. >> Perhaps you should make sure you see the same behavior with the current >> version. >> >> Cheers, >> >> -hendrik >> >>