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.
How to reproduce: Right click on a tab and select Float, then move a tab window to another monitor and maximize. Then press Ctrl+R to refactor/rename a method. Dialog appears to enter a new name. Enter a new name and press preview. Dialog disappears and nothing happens. If you right click on a tab and press dock and repeat the process, refactoring preview appears correctly. It seams there is an issue with floating windows only. Refactoring used on PHP source code. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Windows 8 version 6.2 running on amd64; Cp1257; en_GB (nb)
The Preview window appears in the IDE (its main window). IMHO it is correct and expected. Or am I wrong? Thanks for reporting. Product Version: NetBeans IDE Dev (Build 20160610-49331e2a0591) Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 System: Linux version 4.2.0-38-generic running on amd64; UTF-8; cs_CZ (nb)
it appears in the monitor that the floated window is on. the problem is not where the window appears, but that it does not refactor the code, the refactoring process just does not get executed if started from the floating window. haven't tested on the dev version, but in this version it still does not work: Product Version: NetBeans IDE 8.1 (Build 201510222201) Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1 Java: 1.8.0_73; Java HotSpot(TM) 64-Bit Server VM 25.73-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_73-b02 System: Windows 8.1 version 6.3 running on amd64; Cp1257; en_GB (nb)
Just tested it on Product Version: NetBeans IDE Dev (Build 201606030002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 8.1 version 6.3 running on amd64; Cp1257; en_GB (nb) and you are right it works as expected
I do not have 2 monitors so was not sure whhat the problem is :) Great to here that it works for you now. Thanks for reporting.