This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am using OS X Mavericks with Netbeans 7.4., trying to take advantage of dual monitors in my Mac with this application. When adding some of the tabs to another monitor, it seems to work and looks very neat. But the problem is when I click in the app on the main monitor and then click back on one of the tabs I have on the other monitor, that tab (or new window) will go back to the main screen and not stay where it is. It also happens if I click on 'Run Project'. Maybe you guys can add an option to snap into the second monitor and stay there, more support for dual screen for this great app. Thank you.
This is a JDK bug reproducible with any Swing app showing a modal dialog.
*** Bug 241641 has been marked as a duplicate of this bug. ***
*** Bug 241642 has been marked as a duplicate of this bug. ***
*** Bug 242809 has been marked as a duplicate of this bug. ***
It seems from the JDK bug description that this may actually be a "feature" of modal dialogs on Mavericks, not an actual JDK bug or Apple bug. In that case, it seems NetBeans would have to find a different way to render floating windows than through Dialog windows--e.g. a regular non-modal JFrame?
(In reply to ebakke from comment #6) > It seems from the JDK bug description that this may actually be a "feature" > of modal dialogs on Mavericks, not an actual JDK bug or Apple bug. In that > case, it seems NetBeans would have to find a different way to render > floating windows than through Dialog windows--e.g. a regular non-modal > JFrame? I have to agree: I don't understand why NB uses JDialog as base class for floating windows, because I, personally, don't like the fact that they remain over others. An example, I am often running NB on the main screen and an app just launch from NB on another screen. Every time NB gets the focus, my detached window (output) covers the app window what I don't want. I would prefer the detached window to remain in background, but that is a personal opinion. However JFrame would allow to do that.
*** Bug 244699 has been marked as a duplicate of this bug. ***
I am reopening this (if possible). I understand that the cause of the issue is how the Mac JVM handles model windows, however, the real issue is that torn off windows should not be modal. Modal windows (dialogs) nominally block the usage of their parent window until the user has finished with them. That is not the intent when a user tears off a tab into a separate window. The purpose is to use the torn-off window concurrently with the 'main' IDE window. Torn off windows should not be modal to allow users to fully take advantage of multiple monitor setups.
Note also that this remains an issue on NetBeans 8.1 on OS X 10.11.4.
Any thoughts on this? It would be really nice to resolve this so that multiple windows are usable.
On yosemite, with NB 8.2, deselecting the option Displays Have Separate Spaces in the Mission Control settings seems to do the trick for me. https://helpx.adobe.com/photoshop/kb/panels-revert-main-screen-mac.html