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.
Did you pick up an old version of the Find Usages window code for Retouche? Lacks various fixes that were made during Javamodel times: - no C-A-F accelerator for Window > Find Usages - selecting the menu item from the keyboard when FU window is in autoslide mode is useless, as it immediately closes itself again and jumps into editor - no window icon (can't remember if Javamodel had it)
Yes, I did. Checking in api/resources/layer.xml; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/api/resources/layer.xml,v <-- layer.xml new revision: 1.4; previous revision: 1.3 done Checking in spi/impl/FindUsagesOpenAction.java; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/FindUsagesOpenAction.java,v <-- FindUsagesOpenAction.java new revision: 1.3; previous revision: 1.2 done
Not sure what exactly you fixed, but all three problems I listed are still present in 061107.
> no C-A-F accelerator for Window > Find Usages There is no such action nor accelerator. There is Edit | Find Usages (Alt-F7) and there is Window | Find Usages Result (A-S-U) > selecting the menu item from the keyboard when FU window is in autoslide mode is useless, as it immediately closes itself again and jumps into editor Probably yes, but it is not a regression. > no window icon (can't remember if Javamodel had it) No output window has icon. I assigned icon to Window | Find Usages Result action.
Re. accelerator: it seems that in 5.5 there is *both* C-A-F and A-S-U (for some reason); only the latter is marked in the menu item. In 061109 neither work, and nothing is marked as an accelerator in the menu item. So this is a regression. See issue #51986. Re. focus - it is true that it is not a regression that selecting the menu item via mnemonics closes the window; this is also broken in 5.5. However in 5.5 the accelerators A-S-U or C-A-F behave correctly, leaving the FU window open with focus, while in dev builds there is no way to open and focus this window using the KB at all. Re. icon - the FU window had an icon in 5.5, matching the menu item, while in 061109 it has none, so this is also a regression, of #48371. BTW all the other output windows (distinct from output *tabs*) have icons: Output, Search Results, Versioning, JUnit Test Results; only Usages is missing an icon.
Still broken in dev builds.
Checking in api/resources/layer.xml; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/api/resources/layer.xml,v <-- layer.xml new revision: 1.19; previous revision: 1.18 done Checking in spi/impl/RefactoringPreviewOpenAction.java; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/RefactoringPreviewOpenAction.java,v <-- RefactoringPreviewOpenAction.java new revision: 1.3; previous revision: 1.2 done Checking in spi/impl/FindUsagesOpenAction.java; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/FindUsagesOpenAction.java,v <-- FindUsagesOpenAction.java new revision: 1.4; previous revision: 1.3 done Checking in spi/impl/RefactoringPanelContainer.java; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/RefactoringPanelContainer.java,v <-- RefactoringPanelContainer.java new revision: 1.4; previous revision: 1.3 done