Bug 250207 - Netbeans IDE window disappears on second screen
Netbeans IDE window disappears on second screen
Status: NEW
Product: platform
Classification: Unclassified
Component: Window System
8.0.2
Macintosh Mac OS X
: P3 with 6 votes (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-04 10:28 UTC by pshh78
Modified: 2016-08-11 17:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
IDE log (39.43 KB, text/plain)
2015-02-04 10:28 UTC, pshh78
Details
IDE Log (2nd from @sovietuk) (32.68 KB, application/octet-stream)
2015-02-18 12:38 UTC, sovietuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pshh78 2015-02-04 10:28:50 UTC
Reproduce: 
In system settings: Set second screen above native screen. 
Open Netbeans, move window to second screen, window will disappear.

Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Mac OS X version 10.10.2 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Comment 1 pshh78 2015-02-04 10:28:53 UTC
Created attachment 151812 [details]
IDE log
Comment 2 sovietuk 2015-02-18 12:36:52 UTC
Just touching this to say mine has developed the same problem - was fine until a couple of days ago when the latest OSX update 10.10.2 was installed. 

A little more detail : was happening with netbeans php 8.0.1 - i've tried completely uninstalling and deleting the nbproject and various ~/Library/* netbeans directories then downloading and reinstalling with 8.0.2.

When you drag the window from the laptop screen to the 2nd monitor it vanishes. If you right click on the netbeans icon in the dock and click 'show all windows' it appears in mission control but as soon as you select it it vanishes again. 

If i change the monitor/laptop screen positions in osx display settings, the editor appears if the laptop screen is positioned alongside the 2nd monitor, and vanishes when the laptop screen is positioned above or below the monitor.

I've tried doing the same with a couple of other java apps (Charles Proxy and PhpStorm) and they display correctly on both screens.

If i disconnect the hdmi cable and plug it back in again sometimes netbeans will then be on the 2nd monitor, but this only seems to be a temporary fix.

Googling i saw a similar sounding problem with XQuartz, where a suggested fix was to turn off "Displays have separate Spaces" in OSX Mission Control settings - what happens after doing that is it wont let me move the netbeans IDE onto the 2nd display - i can drag it there but it re-appears back on the laptop screen. (Charles Proxy and PhpStorm will allow me to move them to the 2nd screen).

Will attach my netbeans log to this too.
Comment 3 sovietuk 2015-02-18 12:38:03 UTC
Created attachment 152055 [details]
IDE Log (2nd from @sovietuk)
Comment 4 smvanbru 2015-03-04 14:04:37 UTC
I'm also getting this on my Mac with the latest OSX.

My external monitor is above my macbook monitor, so I like to tell the system they're positioned that way. I did find that when I tell the mac that the external is beside my macbook monitor, netbeans would run on it. My external has a lower resolution than the macbook monitor. When I configured the top edges of the monitors to be aligned, Netbeans would not position itself in the top third of the external monitor (it consistently jumped down to the middle third). When the bottom edges were aligned, I could position netbeans reasonably in the monitor.

I'm wondering if the latest OSX adjusted window coordinates, and netbeans is incorrectly trying to be smart about correcting position of a window. 

I use all sorts of apps, and Netbeans is the only one that has any problems with this.
Comment 5 benjiburrell 2015-03-04 18:39:43 UTC
im having the exact same problem
Comment 6 benjiburrell 2015-03-04 18:42:55 UTC
im having the exact same problem
Comment 7 wclark 2015-03-04 20:28:00 UTC
Iv have the same issue. My monitor is on top. It is higher rez than my laptop display.
Comment 8 frabber 2015-03-17 11:05:32 UTC
I have the exact same problem with the Oracle SQLDEveloper 4.1 preleases (both EA1 and EA2).
Since SQLDeveloper is Netbeans based this is not surprising.

Does anybody have a workaround? Is there a config setting I can fix, or delete of a temporary file of some sort? I am unable to use the big secondary monitor.
Comment 9 pshh78 2015-04-01 11:00:17 UTC
If you switch to monitor sync and back (cmd + F1) it should work.
Comment 10 ikyandhi 2015-04-02 09:00:40 UTC
I am having the same problem.

Thanks @pshh78 it works, but yeah it's tricky.
Comment 11 boernd 2015-04-08 07:38:10 UTC
The Problem seems to be a window positioning issue.

Steps to reproduce:
Have the monitors aligned side by side with the screen bottoms aligned and different heights.

When you open netbeans on the small monitor and move the netbeans Window to the Bigger screen, you cannot move it higher than the small screen height.

The only way to fix this is to switch to full screen mode (green button top left). If you switch back to normal mode you are able to move the window freely on the screen.

I assume that this is the same issue with the screen being above one another since I had this problem too when having my monitors arranged that way.
Comment 12 xianyunjushi 2016-08-11 17:33:24 UTC
It happens to me every time on Windows 10, when the 2nd external monitor unplugged from my laptop.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo